summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* llvm: Add support for "-fno-delete-null-pointer-checks"Manoj Gupta2018-07-091-3/+9
* Use Type::isIntOrPtrTy where possible, NFCVedant Kumar2018-07-061-2/+1
* ConstantFold: Don't fold global address vs. null for addrspace != 0Matt Arsenault2018-06-261-3/+6
* [IR] add/use isIntDivRem convenience functionSanjay Patel2018-06-201-3/+1
* Make uitofp and sitofp defined on overflow.Eli Friedman2018-06-141-7/+2
* [ConstantFold] Disallow folding vector geps into bitcastsKarl-Johan Karlsson2018-06-011-1/+5
* Remove @brief commands from doxygen comments, too.Adrian Prantl2018-05-011-1/+1
* [NFC] fix trivial typos in documents and commentsHiroshi Inoue2018-04-121-1/+1
* [ConstantFolding, InstSimplify] Handle more vector GEPsMatthew Simpson2018-03-151-7/+18
* [ConstantFold] fp_binop AnyConstant, undef --> NaNSanjay Patel2018-03-101-2/+8
* [ConstantFold] fp_binop undef, undef --> undefSanjay Patel2018-03-081-1/+4
* Silence a bunch of implicit fallthrough warningsAdrian Prantl2017-12-191-0/+1
* [ConstantFold] Support vector index when factoring out GEP index into precedi...Haicheng Wu2017-12-041-26/+71
* [ConstantFold] Fix a crash when folding a GEP that has vector indexHaicheng Wu2017-10-281-0/+3
* [ConstantFolding] Avoid assert when folding ptrtoint of vectorized GEPBjorn Pettersson2017-10-241-0/+9
* [ConstantFold] Return the correct type when folding a GEP with vector indices.Davide Italiano2017-09-151-1/+12
* [ConstantFolder] Don't try to fold gep when the idx is a vector.Davide Italiano2017-07-271-4/+8
* [Constants] Replace calls to ConstantInt::equalsInt(0)/equalsInt(1) with isZe...Craig Topper2017-07-061-12/+12
* [Constants] If we already have a ConstantInt*, prefer to use isZero/isOne/isM...Craig Topper2017-07-061-7/+7
* fix typos/formatting; NFCSanjay Patel2017-06-121-6/+3
* 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
OpenPOWER on IntegriCloud