summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SCCP.cpp
Commit message (Expand)AuthorAgeFilesLines
* [Constants] If we already have a ConstantInt*, prefer to use isZero/isOne/isM...Craig Topper2017-07-061-1/+1
* [SCCP] Simplify the code a bit. NFCI.Davide Italiano2017-06-161-7/+3
* [SCCP] Clarify a comment about unhandled instructions.Davide Italiano2017-06-161-2/+3
* [SCCP] Remove redundant instruction visitors.Davide Italiano2017-06-161-11/+0
* [InstSimplify] Don't constant fold or DCE calls that are marked nobuiltinAndrew Kaylor2017-06-091-2/+2
* [SCCP] Use the `hasAddressTaken()` version defined in `Function`.Davide Italiano2017-05-231-1/+2
* [IR] Redesign the case iterator in SwitchInst to actually be an iteratorChandler Carruth2017-04-121-5/+5
* [SCCP] Resolve indirect branch target when possible.Xin Tong2017-04-101-8/+71
* [SCCP] Merge markOverdefined and markAnythingOverdefined.Davide Italiano2017-03-081-23/+17
* [SCCP] Remove manual folding of terminator instructions.Xin Tong2017-02-261-26/+3
* [IPSCCP] Restore the old behaviour (pre r293799).Davide Italiano2017-02-021-6/+1
* [IPSCCP] Don't propagate return values of functions marked as noinline.Davide Italiano2017-02-011-1/+6
* [IPSCCP] Teach how to not propagate return values of naked functions.Davide Italiano2017-02-011-1/+4
* [SCCP] Teach the pass how to handle `div` with overdefined operands.Davide Italiano2017-01-191-0/+6
* [SCCP] Update comment in visitBinaryOp() after recent changes.Davide Italiano2017-01-191-3/+4
* [SCCP] Unknown instructions are sent to overdefined anyway. NFCI.Davide Italiano2017-01-081-18/+0
* [SCCP] Debug diagnostic goes under DEBUG(). NFCI.Davide Italiano2016-12-131-1/+1
* [SCCP] Use the appropriate helper function. NFCI.Davide Italiano2016-12-111-2/+2
* [SCCP] Teach the pass about `mul %x 0` even if %x is overdefined.Davide Italiano2016-12-091-2/+5
* [SCCP] Make sure SCCP and ConstantFolding agree on undef >> a.Davide Italiano2016-12-081-2/+2
* Revert "[SCCP] Remove manual folding of terminator instructions."Davide Italiano2016-12-061-2/+27
* [SCCP] Remove manual folding of terminator instructions.Davide Italiano2016-12-051-27/+2
* [SCCP] Switch over to DEBUG() and drop an #ifdef.Davide Italiano2016-12-011-6/+2
* [SCCP] Prefer `auto` when the type is obvious. NFCI.Davide Italiano2016-12-011-27/+27
* [SCCP] Remove code in visitBinaryOperator (and add tests).Davide Italiano2016-11-221-11/+3
* [SCCP] Don't delete side-effecting instructionsSanjoy Das2016-08-241-17/+6
* Use range algorithms instead of unpacking begin/endDavid Majnemer2016-08-111-2/+1
* Consistently use ModuleAnalysisManagerSean Silva2016-08-091-1/+1
* Consistently use FunctionAnalysisManagerSean Silva2016-08-091-1/+1
* [SCCP] Zap multiple return values.Davide Italiano2016-07-201-9/+41
* [SCCP] Improve assert messages. NFCI.Davide Italiano2016-07-191-4/+6
* [SCCP] Merge two conditions into one. NFCI.Davide Italiano2016-07-151-3/+1
* [SCCP] Pass the Solver by reference, copies are expensive ...Davide Italiano2016-07-141-2/+2
* [SCCP] Pass a Value * instead of templating this function. NFC.Davide Italiano2016-07-141-9/+8
* [IPSCCP] Constant fold struct argument/instructions when all the lattice valu...Davide Italiano2016-07-141-10/+3
* [SCCP] Generalize tryToReplaceInstWithConstant to work also with arguments.Davide Italiano2016-07-141-22/+18
* [SCCP] Have the logic for replacing insts with constant in a single place.Davide Italiano2016-07-131-53/+50
* [SCCP] Factor out common code.Davide Italiano2016-07-131-8/+9
* [SCCP] Use early return. NFCI.Davide Italiano2016-07-131-5/+5
* [SCCP] Constant fold structs if all the lattice value are constant.Davide Italiano2016-07-121-9/+35
* [SCCP] Try to follow the DRY principle, use `OpSt`.Davide Italiano2016-07-111-3/+2
* [SCCP] Rename undefined -> unknown.Davide Italiano2016-07-101-40/+40
* [SCCP] Remove wrong and misleading vector handling code.Davide Italiano2016-07-091-53/+0
* [SCCP] Fold constants as we build them whne visiting cast instructions.Davide Italiano2016-07-081-2/+4
* Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.Benjamin Kramer2016-06-261-27/+26
* Revert "[SimplifyCFG] Stop inserting calls to llvm.trap for UB"David Majnemer2016-06-251-1/+2
* [SimplifyCFG] Stop inserting calls to llvm.trap for UBDavid Majnemer2016-06-251-2/+1
* [SCCP] Don't assume all Constants are ConstantIntDavid Majnemer2016-06-231-8/+8
* [PM] SCCP should preserve GlobalsAA even if the IR is mutated.Davide Italiano2016-05-291-1/+4
* [SCCP] Prefer class to struct.Davide Italiano2016-05-191-2/+4
OpenPOWER on IntegriCloud