1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
Commit Graph

4100 Commits

Author SHA1 Message Date
Chris Lattner
9ed6bfa052 Specify the graph name
llvm-svn: 4195
2002-10-16 01:34:28 +00:00
Chris Lattner
c83c9a41fc * Significantly refactor GraphWriter into a class.
llvm-svn: 4194
2002-10-16 01:34:18 +00:00
Chris Lattner
afeca1f7f6 - DSGraph Printing Improvements:
* Print edge source labels again
     * Override node shape to be Mrecord again, instead of just record.

llvm-svn: 4193
2002-10-16 01:18:27 +00:00
Chris Lattner
8845b7da14 - Generic graph printing infrastructure changes:
* Only print outgoing edges from a cell if the destination isn't null.
       This is important for DSGraphs, which have sources with no edges.
     * Allow Node attributes to override shape of the node

llvm-svn: 4192
2002-10-16 01:18:14 +00:00
Chris Lattner
d135a2b550 Allow direct access to mergemap for printing
llvm-svn: 4191
2002-10-16 01:17:16 +00:00
Chris Lattner
8eaebbfd80 Fix bug: test/Regression/CBackend/2002-10-15-OpaqueTypeProblem.ll
llvm-svn: 4190
2002-10-16 00:08:22 +00:00
Chris Lattner
715ee86363 New testcase
llvm-svn: 4189
2002-10-16 00:08:08 +00:00
Chris Lattner
cb5f22396e - Fix bug: Assembler/2002-10-15-NameClash.ll
- Clean up code a bit, s/Method/Function/

llvm-svn: 4188
2002-10-15 21:41:14 +00:00
Chris Lattner
cc46ccb8eb Clean up testcases
llvm-svn: 4187
2002-10-15 21:39:49 +00:00
Chris Lattner
7be670ef4b - Eliminate SymbolTable::ParentSymTab, ST::localLookup, and
Function::ParentSymTab.  These aren't needed at all.

llvm-svn: 4186
2002-10-15 21:26:29 +00:00
Chris Lattner
62b5f7040d Cleanup test
llvm-svn: 4185
2002-10-15 21:21:42 +00:00
Chris Lattner
75631d4e51 Fix typo
llvm-svn: 4184
2002-10-15 21:20:18 +00:00
Chris Lattner
ba0d92b555 New testcase
llvm-svn: 4183
2002-10-15 21:18:03 +00:00
Chris Lattner
6d75a44cd0 Cleanup testcase
llvm-svn: 4182
2002-10-15 21:14:24 +00:00
Chris Lattner
c62d322984 Fix testcase
llvm-svn: 4181
2002-10-15 21:10:53 +00:00
Chris Lattner
b7af4caaf8 - Fix LLI so that it simulates the endianness of the target machine
correctly, despite the fact that the host machine might not be the same.

llvm-svn: 4180
2002-10-15 20:34:05 +00:00
Chris Lattner
6515ec02aa Make sure to escape \'s when they are output
llvm-svn: 4179
2002-10-15 19:56:24 +00:00
Vikram S. Adve
cbdc0ab9b3 Remove outdated line which of course cvs merging never detects...
llvm-svn: 4175
2002-10-15 01:59:45 +00:00
Chris Lattner
294eae6735 - Add an endianness field to the TargetData datastructure
llvm-svn: 4174
2002-10-14 22:41:13 +00:00
Vikram S. Adve
2b7b6ce296 Allow the Source variable to be overridden completely if needed.
llvm-svn: 4172
2002-10-14 16:40:04 +00:00
Vikram S. Adve
e4413c5804 Print "circular" warning message only in debug mode.
llvm-svn: 4170
2002-10-14 16:32:49 +00:00
Vikram S. Adve
3cb2d3379d Removed misleading const keyword.
llvm-svn: 4169
2002-10-14 16:32:24 +00:00
Vikram S. Adve
3a54b695ce Significant improvement: GEP used by a load or store no longer generates
a separate ADD; instead just use the indexed load/store instruction!
Also, a bug fix: folding a GEP with a leading non-zero index with
its predecessor was incorrect: now it only happens if the predecessor
is pointing to an indexable type (aka SequentialType).

llvm-svn: 4168
2002-10-14 16:30:55 +00:00
Vikram S. Adve
75311bff80 Test case that shows some poor results for register allocation.
llvm-svn: 4167
2002-10-14 14:53:06 +00:00
Chris Lattner
b16f596ab4 Allow emission of names that start with an underscore. This is needed to
interface with code that uses symbols in the ansi-c protected namespace.  In
most cases this comes from system header files, such as stdio.h.  In particular,
without this change, a reference to the __iob symbol is mangled into ll_iob,
which is not resolved by libc.

llvm-svn: 4165
2002-10-14 06:14:18 +00:00
Chris Lattner
3d41813b7a MAke sure llc output is regenerated if the LLC binary changes.
llvm-svn: 4164
2002-10-14 06:12:10 +00:00
Chris Lattner
6ee0d4ed15 Clean up code a bit, no functionality changes.
llvm-svn: 4162
2002-10-14 03:34:17 +00:00
Chris Lattner
33988dc76d There is no way to guarantee that constants are not forward referenced.
Handle forward referenced constants in a general way.  This fixes bug:
Assembler/2002-10-13-ConstantEncodingProblem.llx and allows the SPEC
197.parser benchmark to be built

llvm-svn: 4161
2002-10-14 03:33:02 +00:00
Chris Lattner
5b41b28fb6 - Dramatically simplify the Constant::mutateReferences implementation,
allowing it to be called on all constant types (structures/arrays)

llvm-svn: 4160
2002-10-14 03:30:23 +00:00
Chris Lattner
b1696e6aed This loop executed exactly one time, turn it into straightline code
llvm-svn: 4159
2002-10-14 03:28:42 +00:00
Nick Hildenbrandt
e2d6232e00 More results
llvm-svn: 4158
2002-10-14 01:08:06 +00:00
Chris Lattner
1492e49a49 Minor cleanups, no changes to functionality
llvm-svn: 4157
2002-10-14 00:48:57 +00:00
Nick Hildenbrandt
ef9330e914 More successes
llvm-svn: 4156
2002-10-13 22:43:11 +00:00
Nick Hildenbrandt
f58e734489 New Results
llvm-svn: 4155
2002-10-13 22:10:08 +00:00
Chris Lattner
e82fbd0ff7 Simplify again
llvm-svn: 4154
2002-10-13 21:51:55 +00:00
Vikram S. Adve
c6fe6822ca Don't try to compute the size of an "array" element if the index is 0:
the size may be unknown, and is not needed.

llvm-svn: 4153
2002-10-13 21:47:44 +00:00
Chris Lattner
5958375380 Simplify testcase
llvm-svn: 4152
2002-10-13 21:47:43 +00:00
Chris Lattner
e772032256 Rename test so that we can run the disassembler on it.
llvm-svn: 4151
2002-10-13 21:43:56 +00:00
Chris Lattner
dc1602f5ec Checking testcase for bytecode reader/writer that is causing the SPEC parser
benchmark to not build.

llvm-svn: 4150
2002-10-13 21:38:21 +00:00
Chris Lattner
82f54dca49 - Change Function's so that their argument list is populated when they are
constructed.  Before, external functions would have an empty argument list,
    now a Function ALWAYS has a populated argument list.

llvm-svn: 4149
2002-10-13 20:57:00 +00:00
Chris Lattner
fdf2ca9468 - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to
reflect the fact that it's a range being defined.

llvm-svn: 4147
2002-10-13 19:39:16 +00:00
Chris Lattner
ee64370eb5 Halfway conversion from custom printing to GraphWriter printing
llvm-svn: 4146
2002-10-13 19:31:57 +00:00
Chris Lattner
54905ed38c First crack at reimplementing graph traits for DSGraphs
llvm-svn: 4145
2002-10-13 19:31:34 +00:00
Chris Lattner
48417f0143 disable the unused "pointer" member
llvm-svn: 4144
2002-10-13 19:30:44 +00:00
Chris Lattner
9d067ad595 Account for global variables resolved more accurately.
llvm-svn: 4143
2002-10-13 17:30:30 +00:00
Chris Lattner
721a5fac62 Use methods that are more explanatory
llvm-svn: 4142
2002-10-13 17:12:47 +00:00
Chris Lattner
8447baa002 Add dummy entries to document what members can be added
llvm-svn: 4141
2002-10-13 17:12:05 +00:00
Vikram S. Adve
27487637f8 Add a test for folding a GEP into a load.
llvm-svn: 4139
2002-10-13 00:44:00 +00:00
Vikram S. Adve
e18a54c249 Use vectors instead of hash_maps for issueGaps and conflictLists.
These hash lookups were a major sink of time because they happen so often!
Also, add option to disable scheduling.

llvm-svn: 4138
2002-10-13 00:40:37 +00:00
Vikram S. Adve
211f972d28 Major bug fix: was not adding CD edges for RETURNs!
llvm-svn: 4137
2002-10-13 00:39:22 +00:00