summaryrefslogtreecommitdiff
path: root/lib/IR/ConstantFold.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-03-04[Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth1-1/+1
2013-12-31Fold vector selects with undef elements in the condition. Fixes PR18319.Nick Lewycky1-6/+15
2013-11-15Add addrspacecast instruction.Matt Arsenault1-0/+2
2013-11-10IR: Refactor GEP range checks, reuse them for other parts of foldingDavid Majnemer1-28/+51
2013-11-07IR: Properly canonicalize PointerType in ConstantExpr GEPsDavid Majnemer1-5/+6
2013-11-07IR: Do not canonicalize constant GEPs into an out-of-bounds array accessDavid Majnemer1-1/+37
2013-07-30Respect address space sizes in isEliminableCastPair.Matt Arsenault1-4/+5
2013-06-30ConstantFold: Check that truncating the other side is safe under a sext when ...Benjamin Kramer1-2/+2
2013-02-27IR: Don't constant fold GEP bitcasts between different address spacesMeador Inge1-13/+22
2013-02-19Fix a bug that was found by the clang static analyzer. The var "AT" is null s...Nadav Rotem1-2/+2
2013-01-31Fix ConstantFold's folding of icmp instructions to recognize that,Dan Gohman1-6/+5
2013-01-22Make APFloat constructor require explicit semantics.Tim Northover1-4/+4
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-7/+7
2013-01-02Rename VMCore directory to IR.Chandler Carruth1-0/+2066