summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use new IsNAN() wrapper.Brian Gaeke2004-06-231-15/+2
| | | | llvm-svn: 14340
* Comment out the isnan stuff until we get a proper autoconf test for itChris Lattner2004-06-211-1/+7
| | | | | | breaking the build on sparc is not acceptable. llvm-svn: 14277
* I love the smell of a freshly broken PowerPC build in the morning.Brian Gaeke2004-06-171-0/+1
| | | | llvm-svn: 14206
* Fix compilation problem on freebsd. Problem noted by Vladimir Merzliakov inChris Lattner2004-06-171-1/+1
| | | | | | PR371 llvm-svn: 14203
* Um, did someone make a typo or something?Brian Gaeke2004-06-151-1/+1
| | | | llvm-svn: 14192
* Remove support for the isnan intrinsicChris Lattner2004-06-151-3/+0
| | | | llvm-svn: 14186
* Quick hack to get this file compiling again on Mac OS X. The right thing to doBrian Gaeke2004-06-141-0/+8
| | | | | | | | is write an autoconf macro that checks whether __isnan or isnan actually works **using the C++ compiler after #include <cmath>**, instead of doing it the easy way with AC_CHECK_FUNCS(). llvm-svn: 14171
* Add constant folding capabilities to the isunordered intrinsic.Alkis Evlogimenos2004-06-131-1/+4
| | | | llvm-svn: 14168
* Constant fold the isnan intrinsicChris Lattner2004-06-111-1/+10
| | | | llvm-svn: 14150
* Implement constant folding of fmod, which is used a lot in povrayChris Lattner2004-05-271-2/+9
| | | | llvm-svn: 13823
* Restructure call constant folding code a bit to make it simplerChris Lattner2004-05-271-39/+40
| | | | | | | | 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. llvm-svn: 13821
* Include cerrno (gcc-3.4 fix)Alkis Evlogimenos2004-04-211-0/+1
| | | | llvm-svn: 13091
* Add support for evaluation of exp/log/log10/powChris Lattner2004-04-161-1/+25
| | | | llvm-svn: 13011
* Include <cmath> for compatibility with gcc 3.0.x (the system compiler onBrian Gaeke2004-04-161-0/+1
| | | | | | Debian.) llvm-svn: 12986
* Add a simple call constant propagation interface.Chris Lattner2004-04-131-0/+51
| | | | llvm-svn: 12919
* Add constant folding wrapper support for select instructions.Chris Lattner2004-03-121-0/+4
| | | | llvm-svn: 12319
* Clean up #includesChris Lattner2004-01-121-3/+1
| | | | llvm-svn: 10799
* Remove use of ConstantExpr::getShiftChris Lattner2004-01-121-4/+1
| | | | llvm-svn: 10792
* Remove use of ConstantHandlingChris Lattner2004-01-121-1/+1
| | | | llvm-svn: 10789
* Move llvm::ConstantFoldInstruction from VMCore to here, next to ↵Chris Lattner2004-01-121-0/+58
| | | | | | ConstantFoldTerminator llvm-svn: 10785
* Add new functionChris Lattner2003-12-191-10/+41
| | | | llvm-svn: 10529
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5Chris Lattner2003-08-231-0/+13
| | | | llvm-svn: 8093
* Implement folding of switch instructions.Chris Lattner2003-08-171-3/+56
| | | | | | Implements SimplifyCFG/2003-08-17-FoldSwitch.ll llvm-svn: 7923
* Fix bug: SimplifyCFG/2003-08-17-BranchFoldOrdering.llChris Lattner2003-08-171-0/+6
| | | | llvm-svn: 7921
* The fixme is irrelevant: if that happens, the LLVM bytecode is malformed.Chris Lattner2003-08-171-7/+1
| | | | | | This fixes testcase: SimplifyCFG/2003-08-17-BranchFold.ll llvm-svn: 7919
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-201-2/+2
| | | | llvm-svn: 6251
* Rename Instruction::hasSideEffects() -> mayWriteToMemory()Chris Lattner2003-02-241-1/+1
| | | | llvm-svn: 5620
* *** empty log message ***Chris Lattner2002-06-251-7/+5
| | | | llvm-svn: 2777
* Simplify the interface to local DCE and Constant propChris Lattner2002-05-261-6/+6
| | | | llvm-svn: 2749
* Simplify interface to ConstantFoldTerminatorChris Lattner2002-05-211-3/+3
| | | | llvm-svn: 2697
* Add code pulled out of TransformInternals.cpp, ConstProp.cpp, and DCE.cppChris Lattner2002-05-071-0/+111
llvm-svn: 2513
OpenPOWER on IntegriCloud