summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
Commit message (Collapse)AuthorAge
...
* Restructure call constant folding code a bit to make it simplerChris Lattner2004-05-27
| | | | | | | | | Add support for acos/asin/atan. 188.ammp contains three calls to acos with constant arguments. Constant folding it allows elimination of those 3 calls and three FP divisions of the results. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13821 91177308-0d34-0410-b5e6-96231b3b80d8
* Include cerrno (gcc-3.4 fix)Alkis Evlogimenos2004-04-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13091 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for evaluation of exp/log/log10/powChris Lattner2004-04-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13011 91177308-0d34-0410-b5e6-96231b3b80d8
* Include <cmath> for compatibility with gcc 3.0.x (the system compiler onBrian Gaeke2004-04-16
| | | | | | | Debian.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12986 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a simple call constant propagation interface.Chris Lattner2004-04-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12919 91177308-0d34-0410-b5e6-96231b3b80d8
* Add constant folding wrapper support for select instructions.Chris Lattner2004-03-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12319 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up #includesChris Lattner2004-01-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10799 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove use of ConstantExpr::getShiftChris Lattner2004-01-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10792 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove use of ConstantHandlingChris Lattner2004-01-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10789 91177308-0d34-0410-b5e6-96231b3b80d8
* Move llvm::ConstantFoldInstruction from VMCore to here, next to ↵Chris Lattner2004-01-12
| | | | | | ConstantFoldTerminator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10785 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new functionChris Lattner2003-12-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10529 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-20
| | | | | | | Header files will be on the way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5Chris Lattner2003-08-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8093 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement folding of switch instructions.Chris Lattner2003-08-17
| | | | | | | Implements SimplifyCFG/2003-08-17-FoldSwitch.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7923 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: SimplifyCFG/2003-08-17-BranchFoldOrdering.llChris Lattner2003-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7921 91177308-0d34-0410-b5e6-96231b3b80d8
* The fixme is irrelevant: if that happens, the LLVM bytecode is malformed.Chris Lattner2003-08-17
| | | | | | | This fixes testcase: SimplifyCFG/2003-08-17-BranchFold.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7919 91177308-0d34-0410-b5e6-96231b3b80d8
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Instruction::hasSideEffects() -> mayWriteToMemory()Chris Lattner2003-02-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5620 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2777 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the interface to local DCE and Constant propChris Lattner2002-05-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2749 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify interface to ConstantFoldTerminatorChris Lattner2002-05-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2697 91177308-0d34-0410-b5e6-96231b3b80d8
* Add code pulled out of TransformInternals.cpp, ConstProp.cpp, and DCE.cppChris Lattner2002-05-07
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2513 91177308-0d34-0410-b5e6-96231b3b80d8