summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove roundingMode argument in APFloat::modStephen Canon2015-09-211-1/+1
* Fix typos.Bruce Mitchener2015-09-121-4/+4
* Add comment as follow up to r245712David Blaikie2015-08-211-0/+1
* Remove an unnecessary use of pointee types introduced in r194220David Blaikie2015-08-211-3/+2
* De-constify pointers to Type since they can't be modified. NFCCraig Topper2015-08-011-5/+5
* Refix a use of explicit pointer types in GEP constant foldingDavid Blaikie2015-06-121-4/+4
* [ConstantFold] Don't skip the first gep index when folding gepsDavid Majnemer2015-06-041-3/+3
* [opaque pointer type] Pass explicit pointee type in another case of GEP const...David Blaikie2015-05-211-1/+1
* As r237678 was reverted, this is no longer needed.Yaron Keren2015-05-191-2/+1
* Fix Visual C++ errors C2784, C2780, C2782 after r237678.Yaron Keren2015-05-191-1/+2
* [opaque pointer type] Use GlobalVariable::getValueType rather than accessing ...David Blaikie2015-05-131-1/+1
* [opaque pointer type] Constant Folding: Use GEPOperator to access the pointee...David Blaikie2015-05-131-2/+2
* Recommit r236670: [opaque pointer type] Pass explicit pointer type through GE...David Blaikie2015-05-071-7/+23
* Revert "[opaque pointer type] Pass explicit pointer type through GEP constant...David Blaikie2015-05-061-23/+7
* [opaque pointer type] Pass explicit pointer type through GEP constant foldingDavid Blaikie2015-05-061-7/+23
* Constfold insertelement to undef when index is out-of-boundsPawel Bylica2015-04-271-7/+14
* Correct extractelement constant foldingPawel Bylica2015-04-241-3/+2
* [opaque pointer type] API migration for GEP constant factoriesDavid Blaikie2015-04-021-9/+9
* [opaque pointer type] Change GetElementPtrInst::getIndexedType to take the po...David Blaikie2015-03-301-2/+4
* [ConstantFold] Don't fold ppc_fp128 <-> int bitcastsHal Finkel2015-03-281-2/+13
* ConstantFold: Fix big shift constant foldingDavid Majnemer2015-03-131-21/+12
* InstCombine: fix fold "fcmp x, undef" to account for NaNMehdi Amini2015-03-091-8/+18
* Prefer SmallVector::append/insert over push_back loops.Benjamin Kramer2015-02-171-2/+1
* ConstantFold: Properly fold GEP indices wider than i64David Majnemer2015-02-161-18/+31
* ConstantFold: Shifting undef by zero results in undefDavid Majnemer2014-12-181-0/+9
* ConstantFold: Clean up X * undef codeDavid Majnemer2014-12-101-6/+8
* ConstantFold, InstSimplify: undef >>a x can be either -1 or 0, choose 0David Majnemer2014-12-101-2/+3
* ConstantFold: an undef shift amount results in undefDavid Majnemer2014-12-101-13/+14
* ConstantFold: div undef, 0 should fold to undef, not zeroDavid Majnemer2014-12-101-9/+19
* ConstantFold: Zero-sized globals might land on top of another globalDavid Majnemer2014-12-081-3/+15
* ConstantFold: Don't optimize comparisons with weak linkage objectsDavid Majnemer2014-12-061-1/+4
* I didn't intend to commit this change.David Majnemer2014-12-061-1/+1
* InstSimplify: Optimize away useless unsigned comparisonsDavid Majnemer2014-12-061-1/+1
* Return undef on FP <-> Int conversions that overflow (PR21330).Sanjay Patel2014-10-101-5/+14
* Fix a bug around truncating vector in const prop.Jiangning Liu2014-08-211-0/+3
* IR: Don't add inbounds to GEPs of extern_weak variablesDuncan P. N. Exon Smith2014-08-161-3/+4
* IR: Fold away compares between GV GEPs and GVsDavid Majnemer2014-07-041-7/+22
* Canonicalize addrspacecast ConstExpr between different pointer typesJingyue Wu2014-06-151-1/+4
* [C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper2014-04-151-2/+2
* [C++11] More 'nullptr' conversion or in some cases just using a boolean check...Craig Topper2014-04-091-52/+52
* [Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth2014-03-041-1/+1
* Fold vector selects with undef elements in the condition. Fixes PR18319.Nick Lewycky2013-12-311-6/+15
* Add addrspacecast instruction.Matt Arsenault2013-11-151-0/+2
* IR: Refactor GEP range checks, reuse them for other parts of foldingDavid Majnemer2013-11-101-28/+51
* IR: Properly canonicalize PointerType in ConstantExpr GEPsDavid Majnemer2013-11-071-5/+6
* IR: Do not canonicalize constant GEPs into an out-of-bounds array accessDavid Majnemer2013-11-071-1/+37
* Respect address space sizes in isEliminableCastPair.Matt Arsenault2013-07-301-4/+5
* ConstantFold: Check that truncating the other side is safe under a sext when ...Benjamin Kramer2013-06-301-2/+2
* IR: Don't constant fold GEP bitcasts between different address spacesMeador Inge2013-02-271-13/+22
* Fix a bug that was found by the clang static analyzer. The var "AT" is null s...Nadav Rotem2013-02-191-2/+2
OpenPOWER on IntegriCloud