aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/SCCP.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-08-24[SCCP] Don't delete side-effecting instructionsSanjoy Das1-17/+6
2016-08-11Use range algorithms instead of unpacking begin/endDavid Majnemer1-2/+1
2016-08-09Consistently use ModuleAnalysisManagerSean Silva1-1/+1
2016-08-09Consistently use FunctionAnalysisManagerSean Silva1-1/+1
2016-07-20[SCCP] Zap multiple return values.Davide Italiano1-9/+41
2016-07-19[SCCP] Improve assert messages. NFCI.Davide Italiano1-4/+6
2016-07-15[SCCP] Merge two conditions into one. NFCI.Davide Italiano1-3/+1
2016-07-14[SCCP] Pass the Solver by reference, copies are expensive ...Davide Italiano1-2/+2
2016-07-14[SCCP] Pass a Value * instead of templating this function. NFC.Davide Italiano1-9/+8
2016-07-14[IPSCCP] Constant fold struct argument/instructions when all the lattice valu...Davide Italiano1-10/+3
2016-07-14[SCCP] Generalize tryToReplaceInstWithConstant to work also with arguments.Davide Italiano1-22/+18
2016-07-13[SCCP] Have the logic for replacing insts with constant in a single place.Davide Italiano1-53/+50
2016-07-13[SCCP] Factor out common code.Davide Italiano1-8/+9
2016-07-13[SCCP] Use early return. NFCI.Davide Italiano1-5/+5
2016-07-12[SCCP] Constant fold structs if all the lattice value are constant.Davide Italiano1-9/+35
2016-07-11[SCCP] Try to follow the DRY principle, use `OpSt`.Davide Italiano1-3/+2
2016-07-10[SCCP] Rename undefined -> unknown.Davide Italiano1-40/+40
2016-07-09[SCCP] Remove wrong and misleading vector handling code.Davide Italiano1-53/+0
2016-07-08[SCCP] Fold constants as we build them whne visiting cast instructions.Davide Italiano1-2/+4
2016-06-26Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.Benjamin Kramer1-27/+26
2016-06-25Revert "[SimplifyCFG] Stop inserting calls to llvm.trap for UB"David Majnemer1-1/+2
2016-06-25[SimplifyCFG] Stop inserting calls to llvm.trap for UBDavid Majnemer1-2/+1
2016-06-23[SCCP] Don't assume all Constants are ConstantIntDavid Majnemer1-8/+8
2016-05-29[PM] SCCP should preserve GlobalsAA even if the IR is mutated.Davide Italiano1-1/+4
2016-05-19[SCCP] Prefer class to struct.Davide Italiano1-2/+4
2016-05-18[PM] Port per-function SCCP to the new pass manager.Davide Italiano1-44/+52
2016-05-15[PM/SCCP] Fix pass dependencies.Davide Italiano1-1/+4
2016-05-14[SCCP] Use range-based for loops. NFC.Davide Italiano1-10/+10
2016-05-12[SCCP] Resolve shifts beyond the bitwidth to undefDavid Majnemer1-0/+16
2016-05-11Revert "[SCCP] Partially propagate informations when the input is not fully d...Davide Italiano1-3/+0
2016-05-10[SCCP] Partially propagate informations when the input is not fully defined.Davide Italiano1-0/+3
2016-05-05[PM] Port Interprocedural SCCP to the new pass manager.Davide Italiano1-42/+53
2016-05-04Revert "[SCCP] Throw away dead code. NFC."Davide Italiano1-0/+3
2016-05-04[SCCP] Throw away dead code. NFC.Davide Italiano1-3/+0
2016-04-22Re-commit optimization bisect support (r267022) without new pass manager supp...Andrew Kaylor1-1/+4
2016-04-22Revert "Initial implementation of optimization bisect support."Vedant Kumar1-4/+1
2016-04-21Initial implementation of optimization bisect support.Andrew Kaylor1-1/+4
2016-04-08Don't IPO over functions that can be de-refinedSanjoy Das1-3/+3
2016-01-24Fix build bot breakageDavid Majnemer1-1/+1
2016-01-24Fix buildbot failuresDavid Majnemer1-1/+1
2016-01-24[SCCP] Remove duplicate codeDavid Majnemer1-20/+11
2016-01-24[InstCombine, SCCP] Consolidate code used to remove instructionsDavid Majnemer1-19/+2
2016-01-22[opaque pointer types] [NFC] Add an explicit type argument to ConstantFoldLoa...Eduard Burtescu1-1/+1
2016-01-16GlobalValue: use getValueType() instead of getType()->getPointerElementType().Manuel Jacob1-1/+1
2016-01-07[SCCP] Don't violate the lattice invariantsDavid Majnemer1-15/+42
2016-01-07Remove junk accidentally commited with r257087David Majnemer1-1/+1
2016-01-07[SCCP] Can't go from overdefined to constantDavid Majnemer1-3/+3
2015-12-12[IR] Reformulate LLVM's EH funclet IRDavid Majnemer1-2/+4
2015-11-25[SCCP] More informative message if we don't know how to handle a terminator.Davide Italiano1-1/+1
2015-10-13Scalar: Remove remaining ilist iterator implicit conversionsDuncan P. N. Exon Smith1-70/+70