summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* [ConstantFold] NFC cleanup after previous change.Adam Nemet2016-05-261-40/+39
* [ConstantFold] Fix incorrect index rewrites for GEPsAdam Nemet2016-05-261-1/+1
* Fix constant folding of addrspacecast of nullMatt Arsenault2016-05-211-1/+2
* [ConstantFold] Don't try to strip fp -> int bitcasts to simplify icmpsHal Finkel2016-05-041-0/+4
* [NFC] Header cleanupMehdi Amini2016-04-181-2/+0
* fix documentation comments; NFCSanjay Patel2016-04-051-39/+34
* Don't fold double constant to an integer if dest type not integralTeresa Johnson2016-04-041-0/+4
* [InstCombine] Ensure all undef operands are handled before binary instruction...Simon Pilgrim2016-03-211-2/+16
* Strip trailing whitespace.Simon Pilgrim2016-03-101-66/+66
* IR: Make the X / undef -> undef fold match the commentJustin Bogner2016-02-251-1/+1
* [ConstantFolding] Reduce APInt and APFloat copying.Benjamin Kramer2016-02-131-7/+7
* [opaque pointer types] [NFC] GEP: replace get(Pointer)ElementType uses with g...Eduard Burtescu2016-01-191-19/+3
* Fix constant folding of constant vector GEPs with undef or null as pointer ar...Manuel Jacob2016-01-191-9/+13
* Rename Variable `Ptr` to `PtrTy`. NFC.Manuel Jacob2016-01-191-6/+6
* Use CmpInst::Predicate instead of 'unsigned short' in some places. NFCCraig Topper2015-12-151-4/+7
* [ConstantFold] Fix bitcast to gep constant folding transform.David Majnemer2015-12-141-1/+1
* 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
OpenPOWER on IntegriCloud