aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-03-30[opaque pointer type] Change GetElementPtrInst::getIndexedType to take the po...David Blaikie1-2/+3
2015-03-10DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini1-133/+116
2015-03-09Drop the hacks used for partial C99 math libraries.Benjamin Kramer1-10/+0
2015-01-15[PM] Move TargetLibraryInfo into the Analysis library.Chandler Carruth1-1/+1
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-1/+1
2014-10-22[InstSimplify] Support constant folding to vector of pointersBruno Cardoso Lopes1-2/+12
2014-10-21Add minnum / maxnum intrinsicsMatt Arsenault1-0/+15
2014-10-02Remove duplicate function names from comments. NFC.Sanjay Patel1-43/+35
2014-10-01Make the sqrt intrinsic return undef for a negative input.Sanjay Patel1-2/+8
2014-08-21Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-08-18Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoi...Craig Topper1-1/+1
2014-08-17Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-07-14Look through addrspacecast in IsConstantOffsetFromGlobalMatt Arsenault1-1/+2
2014-06-09Remove old fenv.h workaround for a historic clang driver bugAlp Toker1-9/+2
2014-06-09Fold FEnv.h into the implementationAlp Toker1-7/+41
2014-06-04Add a Constant version of stripPointerCasts.Rafael Espindola1-1/+1
2014-05-15Teach the constant folder to look through bitcast constant expressionsChandler Carruth1-0/+50
2014-05-14Rename ComputeMaskedBits to computeKnownBits. "Masked" has beenJay Foad1-2/+2
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-53/+53
2014-03-24Allow constant folding of ceil function whenever feasibleKarthik Bhat1-0/+3
2014-03-07Allow constant folding of round function whenever feasibleKarthik Bhat1-0/+7
2014-03-06Allow constant folding of copysignKarthik Bhat1-0/+7
2014-03-05ConstantFolding: Also fold the vector overloads of our math intrinsics.Benjamin Kramer1-34/+73
2014-03-05Allow constant folding of fma and fmuladdMatt Arsenault1-0/+27
2014-03-05Fix duplicate code in ConstantFoldingMatt Arsenault1-54/+33
2014-03-04[Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth1-1/+1
2013-11-15Add addrspacecast instruction.Matt Arsenault1-5/+7
2013-11-04Fix another constant folding address space place I missed.Matt Arsenault1-12/+19
2013-09-17Fix a constant folding address space place I missed.Matt Arsenault1-3/+4
2013-09-12Move variable under condition where it is usedMatt Arsenault1-1/+2
2013-08-20Teach ConstantFolding about pointer address spacesMatt Arsenault1-33/+54
2013-08-12Slightly simplify code with helper functionsMatt Arsenault1-14/+16
2013-08-12Add some braces, and spaces around operatorsMatt Arsenault1-26/+42
2013-04-19ConstantFolding: ComputeMaskedBits wants the scalar size for vectors.Benjamin Kramer1-1/+1
2013-04-13Fix a scalability issue with complex ConstantExprs.Benjamin Kramer1-12/+24
2013-02-26Constant fold vector bitcasts of halves similarly to how floats and doubles a...Michael Ilseman1-6/+8
2013-02-20Formatting.Chad Rosier1-2/+1
2013-02-14Teach the DataLayout aware constant folder to be much more aggressive towardsNick Lewycky1-8/+30
2013-02-07Conditionalize constant folding of math intrinsics on the availability of an ...Owen Anderson1-0/+10
2013-02-06Signficantly generalize our ability to constant fold floating point intrinsic...Owen Anderson1-14/+88
2013-02-05ConstantFolding: Fix a crash when encoutering a truncating inttoptr.Benjamin Kramer1-3/+7
2013-02-03use GEP::accumulateConstantOffset() to replace custom written code to compute...Nuno Lopes1-27/+2
2013-01-24ConstantFolding: Add a missing folding that leads to a miscompile.Benjamin Kramer1-4/+4
2013-01-23ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not th...Benjamin Kramer1-18/+15
2013-01-23ConstantFolding: Evaluate GEP indices in the index type.Benjamin Kramer1-2/+11
2013-01-22Make APFloat constructor require explicit semantics.Tim Northover1-1/+1
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-8/+8
2013-01-02Rename VMCore directory to IR.Chandler Carruth1-7/+7
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-6/+6
2012-11-08llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFr...NAKAMURA Takumi1-9/+19