summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* ConstantFold: Handle gep nonnull, undef as wellDaniel Berlin2017-05-081-3/+4
* ConstantFold: Fold getelementptr (i32, i32* null, i64 undef) to null.Daniel Berlin2017-05-081-1/+2
* [APInt] Use lshrInPlace to replace lshr where possibleCraig Topper2017-04-181-1/+1
* Fix constant folding of fp2int to large integersSimon Pilgrim2017-03-191-5/+4
* [ConstantFold] vector div/rem with any zero element in divisor is undefSanjay Patel2017-03-091-4/+9
* [ConstantFold] Fix defect in constant folding computation for GEPJaved Absar2017-03-081-1/+2
* Replace APFloatBase static fltSemantics data members with getter functionsStephan Bergmann2016-12-141-7/+7
* IR: Move NumElements field from {Array,Vector}Type to SequentialType.Peter Collingbourne2016-12-021-7/+2
* IR: Change PointerType to derive from Type rather than SequentialType.Peter Collingbourne2016-12-021-7/+1
* IR: Change the gep_type_iterator API to avoid always exposing the "current" t...Peter Collingbourne2016-12-021-21/+12
* IR: Introduce inrange attribute on getelementptr indices.Peter Collingbourne2016-11-101-23/+32
* [IR] Clang-format my previous commit. NFCI.Davide Italiano2016-10-281-2/+2
* [ConstantFold] Get the correct vector type when folding a getelementptr.Davide Italiano2016-10-281-6/+2
* Replace "fallthrough" comments with LLVM_FALLTHROUGHJustin Bogner2016-08-171-1/+1
* [ConstantFold] Don't incorrectly infer inbounds on array GEPDavid Majnemer2016-07-131-42/+59
* [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
OpenPOWER on IntegriCloud