aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-12-12More code format fix from r224133, NFCSteven Wu1-2/+1
2014-12-12Restructure code from r224097. NFCSteven Wu1-12/+12
2014-12-12Fix another infinite loop in InstCombineSteven Wu1-9/+12
2014-11-18InstCombine: Fix another infinite loop caused by visitFPTruncDavid Majnemer1-5/+4
2014-11-18Revert "Revert r222040 because of bot failure."David Majnemer1-6/+9
2014-11-18Revert r222040 because of bot failure.Manman Ren1-9/+6
2014-11-14InstCombine: Fix infinite loop caused by visitFPTruncDavid Majnemer1-6/+9
2014-10-27InstCombine: Fix a combine assuming that icmp operands were integersDavid Majnemer1-0/+4
2014-10-23Handle sqrt() shrinking in SimplifyLibCalls like any other callSanjay Patel1-36/+0
2014-09-07Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)Hal Finkel1-34/+39
2014-07-16Fix comment in InstCombiner::visitAddrSpaceCast.Manuel Jacob1-3/+3
2014-06-15Canonicalize addrspacecast ConstExpr between different pointer typesJingyue Wu1-2/+4
2014-06-06InstCombine: Canonicalize addrspacecast between different element typesJingyue Wu1-1/+23
2014-05-14Rename ComputeMaskedBits to computeKnownBits. "Masked" has beenJay Foad1-4/+4
2014-04-28InstCombine: don't drop 'inalloca' in PromoteCastOfAllocation (PR19569)Hans Wennborg1-0/+1
2014-04-25[C++] Use 'nullptr'. Transforms edition.Craig Topper1-39/+39
2014-04-22[Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-04-21[Modules] Sink all the DEBUG_TYPE defines for InstCombine out of theChandler Carruth1-0/+1
2014-03-09[C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth1-2/+2
2014-03-04[Modules] Move the LLVM IR pattern match header into the IR library, itChandler Carruth1-1/+1
2014-02-24Make some DataLayout pointers const.Rafael Espindola1-1/+1
2014-02-21Rename many DataLayout variables from TD to DL.Rafael Espindola1-27/+27
2014-01-24Fix known typosAlp Toker1-2/+2
2014-01-19InstCombine: Modernize a bunch of cast combines.Benjamin Kramer1-44/+23
2014-01-18Fix more instances of dropped fast math flags when optimizing FADD instructio...Owen Anderson1-4/+17
2014-01-14Do pointer cast simplifications on addrspacecastMatt Arsenault1-1/+1
2014-01-14Remove a check for an illegal condition.Matt Arsenault1-5/+0
2013-11-28Rein in overzealous InstCombine of fptrunc(OP(fpextend, fpextend)).Stephen Canon1-26/+82
2013-11-16Apply the InstCombine fptrunc sqrt optimization to llvm.sqrtHal Finkel1-6/+11
2013-11-15Add instcombine visitor for addrspacecastMatt Arsenault1-0/+4
2013-10-03Pull fptrunc's upwards through selects when one of the select's selectands wa...Owen Anderson1-0/+13
2013-08-21Teach InstCombine about address spacesMatt Arsenault1-17/+28
2013-08-19Teach InstCombine visitGetElementPtr about address spacesMatt Arsenault1-2/+3
2013-08-19commonPointerCast cleanups to make address space change easierMatt Arsenault1-5/+11
2013-08-14Use type helper functions instead of castMatt Arsenault1-5/+3
2013-08-12Fix big-endian handling of integer-to-vector bitcasts in InstCombineRichard Sandiford1-20/+32
2013-05-10InstCombine: Don't claim to be able to evaluate any shl in a zexted type.Benjamin Kramer1-1/+11
2013-03-26Make InstCombineCasts.cpp:OptimizeIntToFloatBitCast endian safe.Ulrich Weigand1-1/+9
2013-03-06InstCombine: Don't shrink allocas when combining with a bitcast.Jim Grosbach1-0/+6
2013-02-13Fix commentArnaud A. de Grandmaison1-2/+2
2013-02-11Optimization: bitcast (<1 x ...> insertelement ..., X, ...) to ... ==> bitcas...Michael Ilseman1-5/+16
2013-02-05InstCombine: Fix and simplify the inttoptr side too.Benjamin Kramer1-13/+8
2013-02-05InstCombine: Harden code to work with vectors of pointers and simplify it a bit.Benjamin Kramer1-11/+7
2013-01-24Remove trailing whitespace.Craig Topper1-134/+134
2013-01-14Fix typo in comment.Nick Lewycky1-1/+1
2013-01-10Teach InstCombine to hoist FABS and FNEG through FPTRUNC instructions. The a...Owen Anderson1-1/+27
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-1/+1
2012-12-30convert a bunch of callers from DataLayout::getIndexedOffset() to GEP::accumu...Nuno Lopes1-5/+3
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-1/+1
2012-11-01Revert the majority of the next patch in the address space series:Chandler Carruth1-6/+4