summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Change code to not use the copyOperands method added to User. It's nowChris Lattner2002-08-221-7/+9
| | | | | | more efficient to boot. llvm-svn: 3453
* dumpNode() does not need to print MachineInstrs.Vikram S. Adve2002-08-221-15/+2
| | | | llvm-svn: 3444
* Fix two resource names.Vikram S. Adve2002-08-221-2/+2
| | | | llvm-svn: 3443
* Add AsmPrinter::ConstantExprToString, which writes out a ConstantExprVikram S. Adve2002-08-221-1/+74
| | | | | | as an expression. llvm-svn: 3442
* Eliminate bool, boolreg and boolconst nonterminals, and just useVikram S. Adve2002-08-221-17/+11
| | | | | | reg and Constant instead. llvm-svn: 3441
* Change rules for Not, since it is now implemented as Xor(reg,11..1).Vikram S. Adve2002-08-221-48/+54
| | | | | | | Eliminate bool, boolreg and boolconst nonterminals, and just use reg and Constant instead. llvm-svn: 3440
* - Fighting with linking problem due to removing the ::ID elements. Now theChris Lattner2002-08-211-0/+3
| | | | | | | | | implementation .cpp files for analyses are not being included into gccas and friends because it is linking to the .a file and there is no explicit symbol reference to bring in the .o file. The new IncludeFile hack is the result. llvm-svn: 3436
* - Fix asmparser and bytecode reader to not generate loads/stores with idxsChris Lattner2002-08-211-3/+36
| | | | | | | Now an obnoxious warning is emitted to discourage usage. Eventually support will be removed. llvm-svn: 3435
* - Split Dominators.h into Dominators.h & PostDominators.hChris Lattner2002-08-212-2/+6
| | | | llvm-svn: 3432
* Emit an obnoxious warning message for bytecode that includes load/storeChris Lattner2002-08-213-10/+34
| | | | | | | instructions that use indexing. Convert them transparently into a pair of instructions. llvm-svn: 3431
* Remove debugging code accidentally checked in.Chris Lattner2002-08-211-4/+0
| | | | llvm-svn: 3430
* - Implement the new AnalysisGroup feature, neccesary for Value#ing and ↵Chris Lattner2002-08-212-23/+171
| | | | | | pointer analysis llvm-svn: 3426
* Do not generate loads/stores with indexingChris Lattner2002-08-211-28/+37
| | | | llvm-svn: 3422
* Remove extraneous #includesChris Lattner2002-08-211-1/+0
| | | | llvm-svn: 3421
* Do not create load/stores with indexesChris Lattner2002-08-211-14/+16
| | | | llvm-svn: 3420
* Remove an optimization that isn't.Chris Lattner2002-08-211-5/+7
| | | | llvm-svn: 3419
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-217-11/+0
| | | | llvm-svn: 3417
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-214-4/+0
| | | | llvm-svn: 3416
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-211-4/+0
| | | | llvm-svn: 3415
* - Eliminate the need for analyses to expose an ::ID member.Chris Lattner2002-08-211-2/+5
| | | | llvm-svn: 3414
* fixed bug: test/Regression/Linker/2002-08-20-ConstantExpr.llChris Lattner2002-08-201-11/+11
| | | | llvm-svn: 3412
* Sort -time-passes report first by user+system, then by Wall clock time.Chris Lattner2002-08-202-3/+12
| | | | llvm-svn: 3407
* - instcombine (~(a < b)) into (a >= b)Chris Lattner2002-08-201-2/+10
| | | | llvm-svn: 3406
* Add new SetCondInst::getInverseCondition() method.Chris Lattner2002-08-201-0/+16
| | | | llvm-svn: 3405
* This case JUST handles constantpointer nulls, not all pointers.Chris Lattner2002-08-201-3/+1
| | | | llvm-svn: 3402
* Fix bug: 2002-08-20-UnnamedArgument.cChris Lattner2002-08-201-16/+18
| | | | llvm-svn: 3401
* - implemented instcombine of phi (X, X, X) -> XChris Lattner2002-08-201-1/+12
| | | | llvm-svn: 3397
* Implement ConstantExprs in CWriterChris Lattner2002-08-191-39/+77
| | | | llvm-svn: 3394
* Incorporate calcTypeNameVar into CWriter class, fixingChris Lattner2002-08-191-89/+97
| | | | | | test/Regression/CBackend/2002-08-19-FunctionPointer.c in the process llvm-svn: 3392
* Output forward definitions of global vars to handle recursive intializers ↵Chris Lattner2002-08-191-19/+38
| | | | | | correctly. llvm-svn: 3391
* - Change constant printing to be better integrated with the rest of theChris Lattner2002-08-191-95/+126
| | | | | | | | CWriter class. Write directly to stream instead of building a big string, then writing it out. - Implement printing of ConstantPointerRefs llvm-svn: 3389
* Add missing spaceChris Lattner2002-08-191-1/+1
| | | | llvm-svn: 3387
* Fix bug: test/Regression/Assembler/2002-08-19-BytecodeReader.llxChris Lattner2002-08-191-1/+2
| | | | llvm-svn: 3384
* Fix the -time-passes option to not print NaN when there is zero execution timeChris Lattner2002-08-191-6/+13
| | | | llvm-svn: 3382
* - Made GlobalDCE worklist driven, making it more successful. Now can handleChris Lattner2002-08-181-17/+176
| | | | | | cases like: test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll llvm-svn: 3381
* - ConstantPointerRefs are now automatically removed from the module tableChris Lattner2002-08-182-13/+36
| | | | | | | | | when they are destroyed, which makes Constant::destroyConstant an actually useful external interface. Expose these methods publicly. - Implement destroyConstant on ConstPointerNull so that destroyConstant can be used on any derived type constant safely. llvm-svn: 3379
* Turn off a debugging optimization that just slows bytecode reading downChris Lattner2002-08-181-1/+1
| | | | llvm-svn: 3377
* Add Module::dump() methodChris Lattner2002-08-171-7/+11
| | | | llvm-svn: 3375
* Promote getelementptr instructions to constexprs if we can.Chris Lattner2002-08-171-3/+19
| | | | llvm-svn: 3368
* Fix stupid oversight of missing #include.Chris Lattner2002-08-171-0/+1
| | | | llvm-svn: 3367
* - Finally nailed: test/Regression/Assembler/2002-08-16-ConstExprInlined.llxChris Lattner2002-08-174-378/+292
| | | | | | | | | | | | | | - ParseConstantPool was resolving reference to value using the function slot # instead of the global slot #. - Bytecode reader changes: - Remove the failure<> template from Bytecode Reader - Remove extraneous #includes - s/method/function/ a bit - Eliminate the fwdRefs class that just added abstraction where it was not needed, making things more complex. - Use a vector instead of a list for function signatures. llvm-svn: 3366
* Changed parser to always use parenthesis on ConstExprs to be consistentChris Lattner2002-08-161-4/+3
| | | | llvm-svn: 3363
* - Remove unused STRING token from lexer & parserChris Lattner2002-08-163-47/+50
| | | | | | | | | | - Changed parser to always use parenthesis on ConstExprs to be consistent - Parser now passes TRUE and FALSE tokens as a special case of the ConstExpr machinery instead of a special case of constant int stuff - Fix the AsmParser to use ValueRef ::= ConstExpr, and remove ResolvedVal ::= ConstExpr this allows constexprs to be used in PHI nodes llvm-svn: 3362
* Write constexpr casts using the cast X to Y notation, not using the implicitChris Lattner2002-08-151-1/+6
| | | | | | type result llvm-svn: 3354
* Parse const expr cast instruction the same way the instruction is formedChris Lattner2002-08-151-2/+5
| | | | llvm-svn: 3353
* Move ConstExpr production to unify ConstVal stuffChris Lattner2002-08-151-20/+20
| | | | llvm-svn: 3351
* Fix bug: test/Regression/Assembler/2002-08-15-UnresolvedGlobalReference.llChris Lattner2002-08-151-1/+13
| | | | llvm-svn: 3350
* Simplify the codeChris Lattner2002-08-151-40/+19
| | | | llvm-svn: 3348
* Handle more cases of cast-of-cast in more general forms.Chris Lattner2002-08-151-8/+35
| | | | llvm-svn: 3347
* Unary Not (boolean and bitwise) is no longer a separate LLVM instructionVikram S. Adve2002-08-151-2/+7
| | | | | | | | | but is instead implemented with XOR. Note that the InstrForest opLabels for Not and BNot remain the same, i.e., the XOR is recognized and represented as a (boolean or bitwise) Not when building the instruction trees. But these tree nodes are now binary, not unary. llvm-svn: 3343
OpenPOWER on IntegriCloud