summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-5/+5
* [IR] Make use of Type::isPtrOrPtrVectorTy/isIntOrIntVectorTy/isFPOrFPVectorTy...Craig Topper2017-07-091-3/+2
* [Analysis][Transforms] Use commutable matchers instead of m_CombineOr in a fe...Craig Topper2017-06-241-4/+2
* [InstSimplify] Don't constant fold or DCE calls that are marked nobuiltinAndrew Kaylor2017-06-091-11/+14
* [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper2017-06-071-6/+6
* [InstSimplify] Constant fold the new GEP in SimplifyGEPInst.Joey Gouly2017-06-061-2/+5
* [InstSimplify] Remove some redundant code from InstSimplify now that llvm::is...Craig Topper2017-06-061-13/+0
* [InstSimplify] Use the getTrue/getFalse helpers and make sure we use the comp...Craig Topper2017-06-061-3/+1
* [InstSimplify] Use ICmpInst::isEquality predicate method. NFCCraig Topper2017-06-061-1/+1
* [InstSimplify] Use llvm::all_of instead of a manual loop. NFCCraig Topper2017-06-041-3/+2
* InstructionSimplify: Remove now-redundant reachability tests, as dominates() ...Daniel Berlin2017-05-311-6/+1
* [InstSimplify] Push commuted op checks for and/or of icmp further down to avo...Craig Topper2017-05-261-33/+47
* [InstSimplify] Move a variable declaration to make simplifyAndOfICmps look mo...Craig Topper2017-05-261-1/+1
* [InstSimplify] Use commutable matchers to shorten some codeCraig Topper2017-05-261-13/+5
* [InstSimplify] Use m_APInt instead of m_ConstantInt in ((V + N) & C1) | (V & ...Craig Topper2017-05-261-10/+10
* [InstSimplify] Use APInt::isMask isntead of manually implementing it. NFCCraig Topper2017-05-261-2/+2
* [InstSimplify] Use m_ConstantInt matchers to short some code. NFCCraig Topper2017-05-261-7/+5
* [InstSimplify] Simplify uadd/sadd/umul/smul with overflow intrinsics when the...Craig Topper2017-05-241-3/+5
* [ValueTracking] Convert most of the calls to computeKnownBits to use the vers...Craig Topper2017-05-241-17/+7
* InstructionSimplify: don't speculate about Constants changing.Tim Northover2017-05-221-0/+4
* [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
OpenPOWER on IntegriCloud