summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstSimplify] Fix 80 column violation. NFCCraig Topper2017-05-191-3/+4
* [InstSimplify] handle all icmp i1 X, C in one place; NFCISanjay Patel2017-05-171-28/+39
* [InstSimplify] add folds for constant mask of value shifted by constantSanjay Patel2017-05-161-0/+18
* [InstSimplify] restrict icmp fold with 2 sdiv exact operands (PR32949)Sanjay Patel2017-05-151-2/+11
* [ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits.Craig Topper2017-05-151-55/+46
* [InstSimplify] Add patterns for folding (A & B) | (~A ^ B) -> (~A ^ B) and it...Craig Topper2017-05-141-0/+18
* [KnownBits] Add bit counting methods to KnownBits struct and use them where p...Craig Topper2017-05-121-1/+1
* [InstSimplify] fix typo; NFCSanjay Patel2017-05-081-1/+1
* [InstCombine/InstSimplify] add comments about code duplication; NFCSanjay Patel2017-05-081-0/+3
* InstructionSimplify: Refactor foldIdentityShuffles. NFC.Zvi Rackover2017-05-081-13/+7
* IR: Add a shufflevector mask commutation helper function. NFC.Zvi Rackover2017-05-081-7/+1
* InstructionSimplify: Relanding r301766Zvi Rackover2017-05-071-20/+31
* [InstSimplify] use ConstantRange to simplify or-of-icmpsSanjay Patel2017-05-071-19/+47
* [InstSimplify] add folds for or-of-casted-icmpsSanjay Patel2017-05-041-36/+46
* [InstSimplify] move logic-of-icmps helper functions; NFCSanjay Patel2017-05-041-80/+80
* [KnownBits] Add methods for determining if KnownBits is a constant valueCraig Topper2017-05-031-2/+2
* revert r301766: InstructionSimplify: Canonicalize shuffle operands. NFC-ishSanjay Patel2017-05-021-29/+20
* Revert r301880George Burgess IV2017-05-011-13/+0
* [InstSimplify] Handle selects of GEPs with 0 offsetGeorge Burgess IV2017-05-011-0/+13
* InstructionSimplify: Canonicalize shuffle operands. NFC-ish.Zvi Rackover2017-04-301-20/+29
* InstructionSimplify: One getShuffleMask() replacing multiple getMaskValue(). ...Zvi Rackover2017-04-301-6/+9
* InstructionSimplify: Simplify a shuffle with a undef mask to undefZvi Rackover2017-04-301-0/+3
* Kill off the old SimplifyInstruction API by converting remaining users.Daniel Berlin2017-04-281-11/+36
* Kill the old Simplify* APIs, leave SimplifyInstruction for the momentDaniel Berlin2017-04-261-260/+0
* [ValueTracking] Introduce a KnownBits struct to wrap the two APInts for compu...Craig Topper2017-04-261-25/+19
* InstructionSimplify: Use braced initializer list for SimplifyQuery creationDaniel Berlin2017-04-261-45/+36
* InstructionSimplify: Have SimplifyFPBinOp pass FastMathFlags by value, like w...Daniel Berlin2017-04-261-2/+2
* InstructionSimplify: End our long national nightmare of ever-growing Simplify...Daniel Berlin2017-04-261-158/+287
* [APInt] Use isSubsetOf, intersects, and bit counting methods to reduce tempor...Craig Topper2017-04-251-3/+2
* [InstSimplify] Handle (~A & ~B) | (~A ^ B) -> ~A ^ BCraig Topper2017-04-251-4/+10
* [InstSimplify] use ConstantRange to simplify more and-of-icmpsSanjay Patel2017-04-241-2/+9
* [InstSimplify] move (A & ~B) | (A ^ B) -> (A ^ B) from InstCombineSanjay Patel2017-04-241-0/+13
* [APInt] Rename getSignBit to getSignMaskCraig Topper2017-04-201-4/+4
* [APInt] Cast calls to add/sub/mul overflow methods to void if only their over...Craig Topper2017-04-191-1/+1
* [InstSimplify] fold identity shuffles (recursing if needed)Sanjay Patel2017-04-191-1/+76
* [InstSimplify] Deduce correct type for vector GEP.Davide Italiano2017-04-191-0/+2
* [InstSimplify] improve getTrue/getFalse; NFCISanjay Patel2017-04-161-10/+6
* [InstSimplify] Don't try to constant fold AllocaInsts since it won't do anyth...Craig Topper2017-04-121-0/+4
* InstSimplify: A shuffle of a splat is always the splat itselfZvi Rackover2017-04-111-4/+16
* [InstSimplify] Use cast instead of dyn_cast after isa<> check. NFCICraig Topper2017-04-101-2/+2
* [InstSimplify] Use Instruction::BinaryOps instead of unsigned for a few funct...Craig Topper2017-04-071-10/+11
* [InstSimplify] Remove unreachable default from SimplifyBinOp.Craig Topper2017-04-061-22/+1
* [InstSimplify] Teach SimplifyMulInst to recognize vectors of i1 as And. Not j...Craig Topper2017-04-061-1/+1
* [InstSimplify] Teach SimplifyAddInst and SimplifySubInst that vectors of i1 c...Craig Topper2017-04-061-2/+2
* InstSimplify: Add a hook for shufflevectorZvi Rackover2017-04-031-0/+51
* [InstSimplify] add constant folding for fdiv/fremSanjay Patel2017-04-011-70/+49
* fix formatting; NFCSanjay Patel2017-04-011-34/+35
* [InstSimplify] Use m_SignBit instead of calling getSignBit and using m_Specif...Craig Topper2017-03-301-4/+2
* [InstSimplify] Use APInt::isMaxSignedValue() instead of comparing with ~APInt...Craig Topper2017-03-301-1/+1
* [InstSimplify] allow folds for bool vector div/remSanjay Patel2017-03-091-3/+3
OpenPOWER on IntegriCloud