summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
...
* Make newlines be newlines! This should now work in both lli and native code.Vikram S. Adve2001-10-281-7/+5
| | | | llvm-svn: 1016
* Remove non linking related stuffChris Lattner2001-10-281-58/+0
| | | | llvm-svn: 1015
* Added name-mangling routines for future use.Vikram S. Adve2001-10-281-0/+59
| | | | llvm-svn: 1003
* Use separate functions for printing values of each type.Vikram S. Adve2001-10-281-20/+87
| | | | | | | Put trace code before condition-generating instruction in basic blocks that end in a conditional branch. llvm-svn: 1002
* Fix problem linking in a method prototype when a method body existsChris Lattner2001-10-231-4/+12
| | | | llvm-svn: 965
* Refix bugs, stop using deprecated strstream headerChris Lattner2001-10-181-82/+31
| | | | llvm-svn: 898
* Initial checkinChris Lattner2001-10-181-0/+80
| | | | llvm-svn: 897
* Only print values live at BB or method exit, and insert loads at eachVikram S. Adve2001-10-181-41/+126
| | | | | | | | BB exit to read and print values stored in that BB. Note that only these stored values are live at method exit!. Also, print messages at method entry and exit. llvm-svn: 892
* Handle multiple exit blocks correctly.Vikram S. Adve2001-10-181-37/+221
| | | | | | | | Restore string variable cache. Resurrect code to use formatted printing instead of PrintVal but leave it turned off for now. llvm-svn: 888
* Convert to be compatible with lli.Chris Lattner2001-10-181-70/+48
| | | | | | Need to eliminate duplicate \n entries llvm-svn: 883
* Massive hacks to try to fix subtle logic bugs. I think it's all working now,Chris Lattner2001-10-181-275/+130
| | | | | | | at least what used to. I should disable method exit code completely because it's broken (doesn't insert just post dominating values) llvm-svn: 881
* Convert to new simpler pass itfChris Lattner2001-10-183-8/+17
| | | | llvm-svn: 880
* Convert optimizations to the pass infrastructureChris Lattner2001-10-186-15/+28
| | | | llvm-svn: 873
* Add new Pass infrastructure and some examplesChris Lattner2001-10-152-0/+182
| | | | llvm-svn: 836
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-152-8/+7
| | | | | | tired typing that much llvm-svn: 822
* * getExitNode() doesn't exist in method anymoreChris Lattner2001-10-151-6/+7
| | | | | | * Make local functions static llvm-svn: 820
* Added Instrumentation subdirectory.Vikram S. Adve2001-10-151-0/+1
| | | | llvm-svn: 819
* Implement linking of global variable constant referencesChris Lattner2001-10-151-38/+95
| | | | llvm-svn: 817
* Minor cleanupChris Lattner2001-10-141-1/+1
| | | | llvm-svn: 812
* Implement linker. It's 95% working now.Chris Lattner2001-10-141-1/+267
| | | | llvm-svn: 810
* Insert code to trace values at basic block and method exits.Vikram S. Adve2001-10-142-0/+380
| | | | | | Current version does not check for liveness. llvm-svn: 800
* Check in makefileChris Lattner2001-10-131-0/+6
| | | | llvm-svn: 788
* Start of a linkerChris Lattner2001-10-131-0/+22
| | | | llvm-svn: 775
* Support the invoke instructionChris Lattner2001-10-131-1/+2
| | | | llvm-svn: 765
* Support indirect callsChris Lattner2001-10-131-2/+3
| | | | llvm-svn: 764
* Commit more code over to new cast styleChris Lattner2001-10-026-50/+46
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-014-14/+14
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-011-1/+1
| | | | | | Convert more code to use them llvm-svn: 695
* Add support for new style castsChris Lattner2001-10-014-6/+6
| | | | llvm-svn: 694
* Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner2001-10-013-25/+21
| | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. llvm-svn: 691
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-281-2/+3
| | | | llvm-svn: 664
* ADCE is broken but at least we know whyChris Lattner2001-09-281-1/+6
| | | | llvm-svn: 656
* Make ADCE more robust, it still has problems, but it's getting closerChris Lattner2001-09-091-37/+181
| | | | llvm-svn: 521
* Types and constants are wierd things in symbol tables nowChris Lattner2001-09-071-3/+7
| | | | llvm-svn: 457
* * Eliminate reference to ConstantPool classChris Lattner2001-09-071-14/+7
| | | | | | * Constants are global objects that are not allocated or freed llvm-svn: 456
* Constant pool is deadChris Lattner2001-09-071-16/+2
| | | | llvm-svn: 455
* Constants are now global unique objectsChris Lattner2001-09-071-6/+2
| | | | llvm-svn: 454
* * Eliminate constant pool dependancies:Chris Lattner2001-09-071-29/+6
| | | | | | * Eliminate DoRemoveUnusedConstants llvm-svn: 453
* * Supoprt global constantsChris Lattner2001-09-071-55/+13
| | | | | | | | * Remove support for local constant pools * Eliminate constant pool merging method, which is no longer neccesary * Disable invalid optimization (todo: fix it) llvm-svn: 452
* Enable the elimination of method prototypes that are not referencedChris Lattner2001-07-281-4/+19
| | | | llvm-svn: 325
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-234-4/+4
| | | | llvm-svn: 279
* Support external methodsChris Lattner2001-07-152-0/+2
| | | | llvm-svn: 200
* Add knowledge about the struct form of the GetElementPtr instructionChris Lattner2001-07-141-1/+7
| | | | llvm-svn: 183
* Remove dependency on the structure of ValueHolder.Chris Lattner2001-07-141-6/+5
| | | | llvm-svn: 182
* Don't clean out the type plane of the constant pool... this is a hack. FIXMEChris Lattner2001-07-091-1/+6
| | | | llvm-svn: 172
* Implement checking for new instructionsChris Lattner2001-07-081-3/+4
| | | | llvm-svn: 163
* Use the CDG to mark branches alive on demand.Chris Lattner2001-07-081-18/+42
| | | | llvm-svn: 159
* Neg instruction removed. Cast instruction implemented.Chris Lattner2001-07-081-10/+0
| | | | llvm-svn: 156
* Broad superficial changes:Chris Lattner2001-07-075-16/+16
| | | | | | | | | * Renamed getOpcode to getOpcodeName * Changed getOpcodeName to return a const char * instead of string * Added a getOpcode method to replace getInstType * Changed code to use getOpcode instead of getInstType llvm-svn: 152
* Changed the fundemental architecture of Operands for Instructions. NowChris Lattner2001-07-074-19/+17
| | | | | | | | | | | Operands are maintained as a vector<Use> in the User class, and operator iterators are provided as before. Getting an operand no longer requires a virtual function call. WARNING: getOperand(x) where x >= getNumOperands() will now assert instead of returning null! llvm-svn: 149
OpenPOWER on IntegriCloud