summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Split ChangeAllocations.cpp into Raise & LowerAllocations.cppChris Lattner2002-05-072-93/+118
| | | | llvm-svn: 2529
* Checkin headers for Utils libraryChris Lattner2002-05-072-0/+109
| | | | llvm-svn: 2528
* Cleanup implementation a bit + commentsChris Lattner2002-05-071-19/+7
| | | | llvm-svn: 2527
* Cleanup implementation a bitChris Lattner2002-05-071-4/+6
| | | | llvm-svn: 2526
* Change script to not even look in test/ directory, significantly speeding it upChris Lattner2002-05-072-2/+2
| | | | llvm-svn: 2525
* Oops, somehow lost a slash. FixedChris Lattner2002-05-071-1/+1
| | | | llvm-svn: 2524
* Updates to move some header files out of include/llvm/Transforms intoChris Lattner2002-05-0713-51/+54
| | | | | | the Scalar and Utils subdirectories llvm-svn: 2523
* Update header after moving fileChris Lattner2002-05-071-4/+3
| | | | llvm-svn: 2522
* Remove long dead fileChris Lattner2002-05-071-15/+0
| | | | llvm-svn: 2521
* Straighten out makefiles after moving code to new Transform Utils libraryChris Lattner2002-05-074-5/+5
| | | | llvm-svn: 2520
* Factor code out to the Transform Utils libraryChris Lattner2002-05-072-42/+3
| | | | llvm-svn: 2519
* Reduce dependance on TransformInternals.h, instead using the TransformUtils ↵Chris Lattner2002-05-075-9/+18
| | | | | | library llvm-svn: 2518
* Add #include no longer included by llvm/Transforms/Scalar/ConstantProp.hChris Lattner2002-05-071-0/+1
| | | | llvm-svn: 2517
* Factor code out to the TransformUtils libraryChris Lattner2002-05-072-102/+5
| | | | llvm-svn: 2516
* Factor code out of TransformInternals into the Transform Utils libraryChris Lattner2002-05-072-88/+0
| | | | llvm-svn: 2515
* Build Transforms Utils libraryChris Lattner2002-05-071-1/+1
| | | | llvm-svn: 2514
* Add code pulled out of TransformInternals.cpp, ConstProp.cpp, and DCE.cppChris Lattner2002-05-073-0/+196
| | | | llvm-svn: 2513
* * Convert InstWorkList to vector instead of set, because on big programs itChris Lattner2002-05-071-5/+5
| | | | | | | is empirically faster by a noticable margin, even though duplicates can happen. llvm-svn: 2511
* * Remove all cfg simplification stuff for a new cfg simplify pass (todo)Chris Lattner2002-05-071-330/+85
| | | | | | * Convert to worklist instead of iterative algorithm llvm-svn: 2510
* Finish up the updates to the language referenceChris Lattner2002-05-061-68/+192
| | | | llvm-svn: 2509
* Mark analyses that only depend on the CFG of a functionChris Lattner2002-05-064-18/+18
| | | | llvm-svn: 2507
* Make functions that preserve the CFG not invalidate analyses that only dependChris Lattner2002-05-061-1/+28
| | | | | | on the CFG of a function llvm-svn: 2506
* Add support for passes to announce that they only depend on the CFG of aChris Lattner2002-05-061-0/+9
| | | | | | function. This is crude but effective llvm-svn: 2505
* Only do masking for unsigned values!Chris Lattner2002-05-061-8/+7
| | | | llvm-svn: 2504
* GCSE is faster than SCCP, and it makes SCCP's job easier, so run it first.Chris Lattner2002-05-061-1/+1
| | | | llvm-svn: 2503
* * Eliminate dead code that should have been removed in last revisionChris Lattner2002-05-061-146/+50
| | | | | | | | | * Convert main constant propogation pass to be worklist driven instead of iterative. * -constprop pass no longer "constant propogates" terminator instructions - CFG is now preserved! llvm-svn: 2502
* Handle X = phi Y --> X = YChris Lattner2002-05-061-0/+19
| | | | llvm-svn: 2501
* Make the testcase more interesting so that DCE does not eliminate it.Chris Lattner2002-05-061-5/+7
| | | | | | Use DIE instead of DCE anyway llvm-svn: 2500
* Move a bunch of code to a .cpp file, don't #include Instruction.hChris Lattner2002-05-061-43/+12
| | | | llvm-svn: 2499
* Move code out of header fileChris Lattner2002-05-061-0/+81
| | | | llvm-svn: 2498
* * Use simplified interface to constant propogation stuff.Chris Lattner2002-05-061-35/+8
| | | | | | | | * Remove dead PHI case (which could not work due to getNumOperands rather than getNumIncomingValues. This really belongs in InstCombine, anyway so we'll move it there. llvm-svn: 2497
* Add #include removed from ConstantHandling.hChris Lattner2002-05-061-0/+1
| | | | llvm-svn: 2496
* New testcase for PHI foldingChris Lattner2002-05-061-0/+17
| | | | llvm-svn: 2495
* Clean up ADCE by removing extraneous wrapper classChris Lattner2002-05-061-43/+42
| | | | llvm-svn: 2494
* Combine not (not X) -> XChris Lattner2002-05-061-1/+14
| | | | llvm-svn: 2493
* New testcase to make sure not instructions get combinedChris Lattner2002-05-061-0/+16
| | | | llvm-svn: 2492
* Instruction Combination can create a ton of trivially dead instructions. RemoveChris Lattner2002-05-061-0/+1
| | | | | | them with an DIE pass before more expensive optimizations are run. llvm-svn: 2491
* Support more cases...Chris Lattner2002-05-061-16/+43
| | | | llvm-svn: 2490
* More testsChris Lattner2002-05-061-0/+12
| | | | llvm-svn: 2489
* Add testcase for -(-A)Chris Lattner2002-05-061-1/+5
| | | | llvm-svn: 2488
* Change usage of isPointerType to use isaChris Lattner2002-05-061-1/+1
| | | | llvm-svn: 2487
* Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner2002-05-0612-63/+51
| | | | llvm-svn: 2486
* Implement getPrimitiveSize()Chris Lattner2002-05-061-2/+14
| | | | | | don't use isPointerType() llvm-svn: 2485
* Add many more instruction combination simplificationsChris Lattner2002-05-061-10/+188
| | | | llvm-svn: 2484
* * Add getPrimitiveSize methodChris Lattner2002-05-061-18/+28
| | | | | | | | * Remove isPointerType, isMethodType, etc... methods. Use isa<> instead * Added specialization of isa for pointer types so that DerivedTypes.h doesn't have to be #included to use isa<PointerType>(..) llvm-svn: 2483
* Fix testcase, the 'shift out all bits' doesn't apply to signed types.Chris Lattner2002-05-061-3/+3
| | | | llvm-svn: 2482
* Void and Label values cannot be acted on directly so they have zero sizeChris Lattner2002-05-061-2/+2
| | | | llvm-svn: 2481
* More testcases I don't want to forget aboutChris Lattner2002-05-064-1/+91
| | | | llvm-svn: 2480
* New testcases so I don't forget about these algebraic simplificationsChris Lattner2002-05-064-0/+122
| | | | llvm-svn: 2479
* New testcase so I don't forget about this.Chris Lattner2002-05-061-0/+16
| | | | llvm-svn: 2478
OpenPOWER on IntegriCloud