llvm-project/llvm/lib/Transforms/InstCombine
Nikita Popov 289542b1e7 [InstCombine] Fold icmp eq of non-inbounds geps
We can fold equality comparisons of non-inbounds geps to offset
comparison (https://alive2.llvm.org/ce/z/x2Zp8b). The inbounds
requirement is only necessary for relational comparisons.
2023-03-21 10:51:37 +01:00
..
CMakeLists.txt
InstCombineAddSub.cpp [InstCombine] Reduce absolute diff from min+max+sub 2023-03-10 08:00:40 +08:00
InstCombineAndOrXor.cpp ValueTracking: Extract fcmpToClassTest out of InstCombine 2023-03-16 23:14:40 -04:00
InstCombineAtomicRMW.cpp [InstCombine][NFC] Fold variable into assert 2023-02-01 12:04:19 +01:00
InstCombineCalls.cpp InstCombine: Fold is.fpclass for single infinity to fcmp 2023-03-17 11:52:16 -04:00
InstCombineCasts.cpp [IR] Remove ConstantExpr::getUMin() (NFC) 2023-03-06 13:16:27 +01:00
InstCombineCompares.cpp [InstCombine] Fold icmp eq of non-inbounds geps 2023-03-21 10:51:37 +01:00
InstCombineInternal.h [InstCombine] fold icmp of the sum of ext bool based on limited range 2023-02-15 10:34:00 +08:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Call simplifyLoadInst() 2023-02-20 10:49:44 +01:00
InstCombineMulDivRem.cpp [InstCombine] Add constant combines for (urem/srem (mul X, Y), (mul X, Z)) 2023-03-16 13:01:46 -05:00
InstCombineNegator.cpp Don't include Optional.h 2022-12-14 21:16:22 -08:00
InstCombinePHI.cpp [InstCombine] use dyn_cast instead of isa+cast; NFC 2023-03-06 13:49:47 -05:00
InstCombineSelect.cpp Revert "[InstCombine] Return instruction from replaceUse()" 2023-03-14 17:46:33 +01:00
InstCombineShifts.cpp [InstCombine] Transform (shift X,Or(Y,BitWidth-1)) -> (shift X,BitWidth-1) 2023-03-06 20:30:06 -06:00
InstCombineSimplifyDemanded.cpp [InstCombine] use demanded vector elements to eliminate partially redundant instructions 2023-02-28 09:43:44 -05:00
InstCombineVectorOps.cpp [Transforms] Use *{Set,Map}::contains (NFC) 2023-03-14 00:24:30 -07:00
InstructionCombining.cpp [InstCombine] Simplify foldOperationIntoSelectOperand() (NFCI) 2023-03-21 10:02:29 +01:00