llvm-project/llvm/test/Transforms/SROA
Nikita Popov dd0226561e [IR] Add helper to convert offset to GEP indices
We implement logic to convert a byte offset into a sequence of GEP
indices for that offset in a number of places. This patch adds a
DataLayout::getGEPIndicesForOffset() method, which implements the
core logic. I've updated SROA, ConstantFolding and InstCombine to
use it, and there's a few more places where it looks relevant.

Differential Revision: https://reviews.llvm.org/D110043
2021-09-20 20:18:16 +02:00
..
2009-02-20-InstCombine-SROA.ll
address-spaces.ll
addrspacecast.ll
alignment.ll
alloca-address-space.ll
assume.ll
basictest-opaque-ptrs.ll [OpaquePtr] Forbid mixing typed and opaque pointers 2021-09-10 15:18:23 +02:00
basictest.ll [SROA] Regenerate test checks (NFC) 2021-05-09 18:20:52 +02:00
big-endian.ll
dbg-addr-diamond.ll
dbg-inline.ll
dbg-single-piece.ll
dead-inst.ll [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
fca.ll
ignore-droppable.ll
invariant-group.ll
irregular-type.ll [SROA] Avoid splitting loads/stores with irregular type 2021-06-09 16:36:58 +02:00
mem-par-metadata-sroa-cast.ll Preserve more MD_mem_parallel_loop_access and MD_access_group in SROA 2021-06-10 15:47:03 -07:00
mem-par-metadata-sroa.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
non-integral-pointers.ll
phi-and-select.ll Reapply "SROA: Enhance speculateSelectInstLoads" 2021-08-11 22:58:54 -04:00
phi-gep.ll Reapply [ConstantFold] Fold more operations to poison 2021-05-13 16:04:12 +02:00
phi-with-duplicate-pred.ll
pointer-offset-size.ll [SROA] Regenerate test checks (NFC) 2021-05-09 18:20:52 +02:00
ppcf128-no-fold.ll
pr26972.ll
pr37267.ll [Mem2Reg] Regenerate test checks (NFC) 2021-06-21 11:06:28 +02:00
preserve-nonnull.ll
scalable-vectors.ll [IR] Add helper to convert offset to GEP indices 2021-09-20 20:18:16 +02:00
select-gep.ll Reapply [ConstantFold] Fold more operations to poison 2021-05-13 16:04:12 +02:00
select-load.ll Reapply "SROA: Enhance speculateSelectInstLoads" 2021-08-11 22:58:54 -04:00
slice-order-independence.ll
slice-width.ll [SROA] prevent crash on large memset length (PR50910) 2021-07-31 14:07:30 -04:00
std-clamp.ll [Analysis] isDereferenceableAndAlignedPointer(): recurse into select's hands 2021-04-10 00:56:28 +03:00
tbaa-struct.ll
tbaa-struct2.ll
tbaa-subload.ll [SROA][TBAA] Handle shift of regular TBAA nodes 2021-04-14 14:35:20 -04:00
vector-conversion.ll
vector-lifetime-intrinsic.ll
vector-promotion-different-size.ll Fix the default alignment of i1 vectors. 2021-07-31 14:09:59 -07:00
vector-promotion.ll
vectors-of-pointers.ll