aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Teach InstCombine about address spacesMatt Arsenault2013-08-212-21/+33
* Use pop_back_val() instead of both back() and pop_back().Jakub Staszak2013-08-191-2/+1
* Teach InstCombine visitGetElementPtr about address spacesMatt Arsenault2013-08-193-20/+26
* Cleanup visitGetElementPtr to make address space change easierMatt Arsenault2013-08-191-11/+13
* commonPointerCast cleanups to make address space change easierMatt Arsenault2013-08-191-5/+11
* Revert non-test parts of r188507Matt Arsenault2013-08-191-1/+9
* InstCombine: Use isAllOnesValue() instead of explicit -1.Jim Grosbach2013-08-161-1/+1
* InstCombine: Simplify if(x!=0 && x!=-1).Jim Grosbach2013-08-161-1/+6
* Don't do FoldCmpLoadFromIndexedGlobal for non inbounds GEPsMatt Arsenault2013-08-151-9/+2
* Fix always creating GEP with i32 indicesMatt Arsenault2013-08-142-10/+16
* Use type helper functions instead of castMatt Arsenault2013-08-142-11/+8
* Use array initializer, space around operatorMatt Arsenault2013-08-141-5/+3
* Fix big-endian handling of integer-to-vector bitcasts in InstCombineRichard Sandiford2013-08-121-20/+32
* Fix missing -*- C++ -*-sMatt Arsenault2013-08-061-1/+1
* Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y).Owen Anderson2013-07-301-4/+11
* Change behavior of calling bitcasted alias functions.Matt Arsenault2013-07-301-9/+9
* Fix variable name.Owen Anderson2013-07-261-2/+2
* When InstCombine tries to fold away (fsub x, (fneg y)) into (fadd x, y), it isOwen Anderson2013-07-261-1/+13
* Correct case of m_UIToFp to m_UIToFP to match instruction name, add m_SIToFP ...Stephen Lin2013-07-261-4/+4
* InstCombine: call FoldOpIntoSelect for all floating binops, not just fmulStephen Lin2013-07-202-3/+23
* Restore r181216, which was partially reverted in r182499.Stephen Lin2013-07-172-43/+29
* Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).Craig Topper2013-07-151-1/+2
* Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector s...Craig Topper2013-07-141-1/+1
* Add a microoptimization for urem.Nick Lewycky2013-07-131-0/+7
* Fix a crash in EvaluateInDifferentElementOrder where it would generate anJoey Gouly2013-07-121-1/+3
* Don't use a potentially expensive shift if all we want is one set bit.Benjamin Kramer2013-07-111-1/+1
* InstCombine: Fix typo in comment for visitICmpInstWithInstAndIntCstDavid Majnemer2013-07-091-2/+2
* InstCombine: variations on 0xffffffff - x >= 4David Majnemer2013-07-091-0/+12
* InstCombine: X & -C != -C -> X <= u ~CDavid Majnemer2013-07-091-0/+9
* Commit r185909 was a misapplied patch, fix itDavid Majnemer2013-07-091-21/+13
* InstCombine: add more transformsDavid Majnemer2013-07-091-0/+42
* InstCombine: Fold X-C1 <u 2 -> (X & -2) == C1David Majnemer2013-07-081-0/+8
* InstCombine: (icmp eq B, 0) | (icmp ult A, B) -> (icmp ule A, B-1)David Majnemer2013-07-051-1/+28
* InstCombine: Reimplementation of visitUDivOperandDavid Majnemer2013-07-041-56/+139
* Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ...Craig Topper2013-07-041-1/+1
* Revert r185257 (InstCombine: Be more agressive optimizing 'udiv' instrs with ...Hal Finkel2013-07-021-77/+44
* InstCombine: Also turn selects fed by an and into arithmetic when the types d...Benjamin Kramer2013-06-291-4/+9
* InstCombine: FoldGEPICmp shouldn't change sign of base pointer comparisonDavid Majnemer2013-06-291-2/+1
* InstCombine: Small whitespace cleanup in FoldGEPICmpDavid Majnemer2013-06-291-1/+1
* InstCombine: Be more agressive optimizing 'udiv' instrs with 'select' denomsDavid Majnemer2013-06-291-44/+77
* InstCombine: Optimize (1 << X) Pred CstP2 to X Pred Log2(CstP2)David Majnemer2013-06-281-2/+72
* Fix using arg_end() - arg_begin() instead of arg_size()Matt Arsenault2013-06-281-3/+3
* Revert "Revert "[APFloat] Removed APFloat constructor which initialized to ei...Michael Gottesman2013-06-271-4/+4
* Revert "[APFloat] Removed APFloat constructor which initialized to either zer...Michael Gottesman2013-06-271-4/+4
* [APFloat] Removed APFloat constructor which initialized to either zero/NaN bu...Michael Gottesman2013-06-271-4/+4
* In InstCombine{AddSub,MulDivRem} convert APFloat.isFiniteNonZero() && !APFloa...Michael Gottesman2013-06-262-5/+5
* [APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteN...Michael Gottesman2013-06-192-10/+10
* Simplify code. No functionality change.Jakub Staszak2013-06-061-2/+1
* Re-apply "Use IRBuilder instead of ConstantInt methods." with the fixed issues.Jakub Staszak2013-06-061-68/+55
* Revert "Use IRBuilder instead of ConstantInt methods. It simplifies code a li...Rafael Espindola2013-06-061-56/+70