aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InstructionSimplify.cpp
AgeCommit message (Expand)Author
2017-10-09Rename OptimizationDiagnosticInfo.* to OptimizationRemarkEmitter.*Adam Nemet
2017-10-02[InstSimplify] teach SimplifySelectInst() to fold more vector selectsHaicheng Wu
2017-09-14[InstSimplify] fold sdiv/srem based on compare of dividend and divisorSanjay Patel
2017-09-14[InstSimplify] clean up div/rem handling; NFCISanjay Patel
2017-09-11[InstSimplify] reorder methods; NFCSanjay Patel
2017-09-10[InstSimplify] refactor udiv/urem code and add tests; NFCISanjay Patel
2017-09-09Merge isKnownNonNull into isKnownNonZeroNuno Lopes
2017-09-07InstSimplify: canonicalize is idempotentMatt Arsenault
2017-09-01[InstCombine][InstSimplify] Teach decomposeBitTestICmp to look through trunca...Craig Topper
2017-08-14Recommit r310869, "[InstSimplify][InstCombine] Modify the interface of decomp...Craig Topper
2017-08-14Revert r310869 "[InstSimplify][InstCombine] Modify the interface of decompose...Craig Topper
2017-08-14[InstSimplify][InstCombine] Modify the interface of decomposeBitTestICmp and ...Craig Topper
2017-08-10[InstSimplify] Add test cases that show that simplifySelectWithICmpCond doesn...Craig Topper
2017-07-16[InstSimplify] Use commutable matchers to simplify some code. NFCCraig Topper
2017-07-09[IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper
2017-07-09[IR] Make use of Type::isPtrOrPtrVectorTy/isIntOrIntVectorTy/isFPOrFPVectorTy...Craig Topper
2017-06-24[Analysis][Transforms] Use commutable matchers instead of m_CombineOr in a fe...Craig Topper
2017-06-09[InstSimplify] Don't constant fold or DCE calls that are marked nobuiltinAndrew Kaylor
2017-06-07[InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper
2017-06-06[InstSimplify] Constant fold the new GEP in SimplifyGEPInst.Joey Gouly
2017-06-06[InstSimplify] Remove some redundant code from InstSimplify now that llvm::is...Craig Topper
2017-06-06[InstSimplify] Use the getTrue/getFalse helpers and make sure we use the comp...Craig Topper
2017-06-06[InstSimplify] Use ICmpInst::isEquality predicate method. NFCCraig Topper
2017-06-04[InstSimplify] Use llvm::all_of instead of a manual loop. NFCCraig Topper
2017-05-31InstructionSimplify: Remove now-redundant reachability tests, as dominates() ...Daniel Berlin
2017-05-26[InstSimplify] Push commuted op checks for and/or of icmp further down to avo...Craig Topper
2017-05-26[InstSimplify] Move a variable declaration to make simplifyAndOfICmps look mo...Craig Topper
2017-05-26[InstSimplify] Use commutable matchers to shorten some codeCraig Topper
2017-05-26[InstSimplify] Use m_APInt instead of m_ConstantInt in ((V + N) & C1) | (V & ...Craig Topper
2017-05-26[InstSimplify] Use APInt::isMask isntead of manually implementing it. NFCCraig Topper
2017-05-26[InstSimplify] Use m_ConstantInt matchers to short some code. NFCCraig Topper
2017-05-24[InstSimplify] Simplify uadd/sadd/umul/smul with overflow intrinsics when the...Craig Topper
2017-05-24[ValueTracking] Convert most of the calls to computeKnownBits to use the vers...Craig Topper
2017-05-22InstructionSimplify: don't speculate about Constants changing.Tim Northover
2017-05-19[InstSimplify] Fix 80 column violation. NFCCraig Topper
2017-05-17[InstSimplify] handle all icmp i1 X, C in one place; NFCISanjay Patel
2017-05-16[InstSimplify] add folds for constant mask of value shifted by constantSanjay Patel
2017-05-15[InstSimplify] restrict icmp fold with 2 sdiv exact operands (PR32949)Sanjay Patel
2017-05-15[ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits.Craig Topper
2017-05-14[InstSimplify] Add patterns for folding (A & B) | (~A ^ B) -> (~A ^ B) and it...Craig Topper
2017-05-12[KnownBits] Add bit counting methods to KnownBits struct and use them where p...Craig Topper
2017-05-08[InstSimplify] fix typo; NFCSanjay Patel
2017-05-08[InstCombine/InstSimplify] add comments about code duplication; NFCSanjay Patel
2017-05-08InstructionSimplify: Refactor foldIdentityShuffles. NFC.Zvi Rackover
2017-05-08IR: Add a shufflevector mask commutation helper function. NFC.Zvi Rackover
2017-05-07InstructionSimplify: Relanding r301766Zvi Rackover
2017-05-07[InstSimplify] use ConstantRange to simplify or-of-icmpsSanjay Patel
2017-05-04[InstSimplify] add folds for or-of-casted-icmpsSanjay Patel
2017-05-04[InstSimplify] move logic-of-icmps helper functions; NFCSanjay Patel
2017-05-03[KnownBits] Add methods for determining if KnownBits is a constant valueCraig Topper