forked from OSchip/llvm-project
dd0226561e
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 |
||
---|---|---|
.. | ||
2009-02-20-InstCombine-SROA.ll | ||
address-spaces.ll | ||
addrspacecast.ll | ||
alignment.ll | ||
alloca-address-space.ll | ||
assume.ll | ||
basictest-opaque-ptrs.ll | ||
basictest.ll | ||
big-endian.ll | ||
dbg-addr-diamond.ll | ||
dbg-inline.ll | ||
dbg-single-piece.ll | ||
dead-inst.ll | ||
fca.ll | ||
ignore-droppable.ll | ||
invariant-group.ll | ||
irregular-type.ll | ||
mem-par-metadata-sroa-cast.ll | ||
mem-par-metadata-sroa.ll | ||
non-integral-pointers.ll | ||
phi-and-select.ll | ||
phi-gep.ll | ||
phi-with-duplicate-pred.ll | ||
pointer-offset-size.ll | ||
ppcf128-no-fold.ll | ||
pr26972.ll | ||
pr37267.ll | ||
preserve-nonnull.ll | ||
scalable-vectors.ll | ||
select-gep.ll | ||
select-load.ll | ||
slice-order-independence.ll | ||
slice-width.ll | ||
std-clamp.ll | ||
tbaa-struct.ll | ||
tbaa-struct2.ll | ||
tbaa-subload.ll | ||
vector-conversion.ll | ||
vector-lifetime-intrinsic.ll | ||
vector-promotion-different-size.ll | ||
vector-promotion.ll | ||
vectors-of-pointers.ll |