summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ability to transform (x - (y - z)) into (x + (z - y))Chris Lattner2002-05-091-0/+13
| | | | llvm-svn: 2566
* Print out post dominance data structures more nicelyChris Lattner2002-05-081-3/+9
| | | | llvm-svn: 2562
* * Combine: A-(-B) -> A + BChris Lattner2002-05-081-10/+6
| | | | | | * Bugfix: A + -B and -A + B llvm-svn: 2561
* Initial checkin of expression reassociation passChris Lattner2002-05-081-0/+198
| | | | llvm-svn: 2559
* Verify that function call arguments match the function signatureChris Lattner2002-05-081-0/+17
| | | | llvm-svn: 2553
* *** empty log message ***Sumant Kowshik2002-05-083-1/+1423
| | | | llvm-svn: 2552
* Give the unified exit node a nameChris Lattner2002-05-071-1/+1
| | | | llvm-svn: 2550
* Fix bug: test/Regression/Transforms/ADCE/2002-01-31-UseStuckAround.llChris Lattner2002-05-071-46/+31
| | | | | | Cleanup code a lot llvm-svn: 2547
* Implement constant propogation of PHI instructions like this:Chris Lattner2002-05-071-1/+17
| | | | | | X = phi(0, 0, 0) llvm-svn: 2543
* Merge all individual .h files into a single Scalar.h fileChris Lattner2002-05-0710-10/+10
| | | | llvm-svn: 2537
* This doesn't use DCE!Chris Lattner2002-05-071-1/+0
| | | | llvm-svn: 2536
* Extend TargetData::getIndexedOffset to support arrays and pointers!Chris Lattner2002-05-071-10/+13
| | | | llvm-svn: 2535
* Move UnifyFunctionExitNodes to Utils library: final resting place this timeChris Lattner2002-05-074-4/+4
| | | | llvm-svn: 2531
* fix comments and documentation in fileChris Lattner2002-05-071-6/+4
| | | | llvm-svn: 2530
* Split ChangeAllocations.cpp into Raise & LowerAllocations.cppChris Lattner2002-05-072-93/+118
| | | | llvm-svn: 2529
* Cleanup implementation a bitChris Lattner2002-05-071-4/+6
| | | | llvm-svn: 2526
* Updates to move some header files out of include/llvm/Transforms intoChris Lattner2002-05-079-43/+46
| | | | | | the Scalar and Utils subdirectories llvm-svn: 2523
* 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
* 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
* Only do masking for unsigned values!Chris Lattner2002-05-061-8/+7
| | | | llvm-svn: 2504
* * 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
* 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
* 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
* Support more cases...Chris Lattner2002-05-061-16/+43
| | | | llvm-svn: 2490
* 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
* Remove dead codeChris Lattner2002-05-061-6/+0
| | | | llvm-svn: 2473
* Merge blocks like this:Chris Lattner2002-05-061-26/+39
| | | | | | | | | | void "test3"(bool %T) { br bool %T, label %BB1, label %BB1 BB1: ret void } llvm-svn: 2472
* Implement constant propogation of shift instructionsChris Lattner2002-05-062-7/+42
| | | | llvm-svn: 2471
* Implement constant propogation of shiftsChris Lattner2002-05-061-0/+28
| | | | llvm-svn: 2470
* Print functions with curly braces instead of begin/endChris Lattner2002-05-061-9/+7
| | | | llvm-svn: 2469
* Implement two iterator remove methodChris Lattner2002-05-061-0/+17
| | | | llvm-svn: 2467
* Implement remainderChris Lattner2002-05-031-9/+46
| | | | | | Fix implementation of Not llvm-svn: 2464
* Fix bug: test/Regression/Transforms/SCCP/2002-05-03-NotOperator.llChris Lattner2002-05-031-12/+26
| | | | | | by using the ~ operator instead of ! llvm-svn: 2458
* Implement the NOT operator.Chris Lattner2002-05-031-0/+28
| | | | llvm-svn: 2455
* Allow open/closing curly braces instead of begin/end to define the body of a ↵Chris Lattner2002-05-032-3/+7
| | | | | | function llvm-svn: 2451
OpenPOWER on IntegriCloud