aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-04-08Propagate Undef in llvm.cos IntrinsicSanjoy Das1-0/+5
2016-04-08Don't IPO over functions that can be de-refinedSanjoy Das1-1/+1
2016-03-28Fix Clang-tidy modernize-deprecated-headers warnings in some files; other min...Eugene Zelenko1-61/+63
2016-03-21Implement constant folding for bitreverseMatt Arsenault1-0/+3
2016-03-14Re-add ConstantFoldInstOperands form taking opcode and return type.Manuel Jacob1-4/+13
2016-03-13ConstantFoldInstruction: avoid wasted calls to ConstantFoldConstantExpressionFiona Glaser1-5/+5
2016-02-13[ConstantFolding] Reduce APInt and APFloat copying.Benjamin Kramer1-1/+1
2016-01-23Remove duplicate documentation in ConstantFolding.cpp. NFC.Manuel Jacob1-22/+0
2016-01-22[opaque pointer types] [NFC] DataLayout::getIndexedOffset: take source elemen...Eduard Burtescu1-3/+4
2016-01-22[opaque pointer types] [NFC] Add an explicit type argument to ConstantFoldLoa...Eduard Burtescu1-21/+21
2016-01-21[opaque pointer types] [NFC] Take advantage of get{Source,Result}ElementType ...Eduard Burtescu1-45/+58
2016-01-21Undo r258163 "Move part of an if condition into an assertion. NFC."Manuel Jacob1-2/+2
2016-01-21Change ConstantFoldInstOperands to take Instruction instead of opcode and typ...Manuel Jacob1-48/+56
2016-01-21Introduce ConstantFoldCastOperand function and migrate some callers of Consta...Manuel Jacob1-52/+64
2016-01-21Introduce ConstantFoldBinaryOpOperands function and migrate some callers of C...Manuel Jacob1-10/+13
2016-01-19Move part of an if condition into an assertion. NFC.Manuel Jacob1-2/+2
2015-08-27Enable constant propagation for more math functionsErik Schnetter1-37/+55
2015-08-27Revert 246186; still breaks on some systemsErik Schnetter1-55/+37
2015-08-27Enable constant propagation for more math functionsErik Schnetter1-37/+55
2015-08-27Revert r246158 since it breaks LLVM.Transforms/ConstProp.calls.llErik Schnetter1-55/+37
2015-08-27Enable constant propagation for more math functionsErik Schnetter1-37/+55
2015-07-27Fix assert when inlining a constantexpr addrspacecastMatt Arsenault1-2/+1
2015-07-22[ConstantFolding] Support folding loads from a GlobalAliasDavid Majnemer1-0/+4
2015-07-21Constfold trunc,rint,nearbyint,ceil and floor using APFloatKarthik Bhat1-4/+33
2015-07-08Allow constfolding of llvm.sin.* and llvm.cos.* intrinsicsKarthik Bhat1-0/+6
2015-05-14[ConstantFolding] Fix wrong folding of intrinsic 'convert.from.fp16'.Andrea Di Biagio1-2/+2
2015-05-12Convert PHI getIncomingValue() to foreach over incoming_values(). NFC.Pete Cooper1-2/+1
2015-05-07Added support for building against Android API-9 SDKVince Harron1-1/+1
2015-04-02[opaque pointer type] API migration for GEP constant factoriesDavid Blaikie1-9/+11
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