llvm-project/llvm/lib/Transforms/InstCombine
Nikita Popov 759b8c11c3 [InstCombine] Handle different pointer types when folding gep of null
The source pointer type is not necessarily the same as the result
pointer type, so we can't simply return the original null pointer,
it might be a different one.
2020-12-23 21:58:26 +01:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
InstCombineAndOrXor.cpp [InstCombine] Fold `and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK)` to `and(sext(%x), SIGNMASK)` 2020-11-20 00:31:27 +03:00
InstCombineAtomicRMW.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineCalls.cpp [SelectionDAG] Add llvm.vector.{extract,insert} intrinsics 2020-12-09 11:08:41 +00:00
InstCombineCasts.cpp [InstCombine] Remove scalable vector restriction in InstCombineCasts 2020-12-17 22:02:33 +08:00
InstCombineCompares.cpp [InstCombine] Remove scalable vector restriction in InstCombineCompares 2020-12-15 20:36:57 +08:00
InstCombineInternal.h [InstCombine] Remove replacePointer (NFC) 2020-12-06 10:24:08 -08:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Fold gep inbounds of null to null 2020-12-23 21:41:53 +01:00
InstCombineMulDivRem.cpp [InstCombine] Replace getLogBase2 internal helper with ConstantExpr::getExactLogBase2. NFCI. 2020-10-11 10:31:17 +01:00
InstCombineNegator.cpp [InstCombine] Negator: - (C - %x) --> %x - C (PR47997) 2020-11-03 16:06:51 +03:00
InstCombinePHI.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineSelect.cpp [InstCombine] Add check of i1 types in select-to-zext/sext transformation 2020-12-21 18:46:24 -05:00
InstCombineShifts.cpp [InstCombine] canonicalize sign-bit-shift of difference to ext(icmp) 2020-12-01 09:58:11 -05:00
InstCombineSimplifyDemanded.cpp [InstCombine] Optimize away the unnecessary multi-use sign-extend 2020-12-01 16:54:00 +03:00
InstCombineVectorOps.cpp [InstCombine] Use is_contained (NFC) 2020-11-21 15:47:11 -08:00
InstructionCombining.cpp [InstCombine] Handle different pointer types when folding gep of null 2020-12-23 21:58:26 +01:00