1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Analysis/BasicAA
Nikita Popov 4566585f18 [BasicAA] Merge aliasGEP code paths
At this point, we can treat the case of GEP/GEP aliasing and
GEP/non-GEP aliasing in essentially the same way. The only
differences are that we need to do an additional negative GEP base
check, and that we perform a bailout on unknown sizes for the
GEP/non-GEP case (the latter exists only to limit compile-time).

This change is not quite NFC due to the peculiar effect that
the DecomposedGEP for V2 can actually be non-trivial even if V2
is not a GEP. The reason for this is that getUnderlyingObject()
can look through LCSSA phi nodes, while stripPointerCasts() doesn't.
This can lead to slightly better results if single-entry phi nodes
occur inside a loop, where looking through the phi node via aliasPhi()
would subject it to phi cycle equivalence restrictions. It would
probably make sense to adjust pointer cast stripping (for AA) to
handle this case, and ensure consistent results.
2021-02-14 19:35:36 +01:00
..
128-bit-ptr.ll
2003-02-26-AccessSizeTest.ll
2003-03-04-GEPCrash.ll
2003-04-22-GEPProblem.ll
2003-04-25-GEPCrash.ll
2003-05-21-GEP-Problem.ll
2003-06-01-AliasCrash.ll
2003-07-03-BasicAACrash.ll
2003-09-19-LocalArgument.ll
2003-11-04-SimpleCases.ll
2003-12-11-ConstExprGEP.ll
2004-07-28-MustAliasbug.ll
2006-03-03-BadArraySubscript.ll
2006-11-03-BasicAAVectorCrash.ll
2007-01-13-BasePointerBadNoAlias.ll
2007-08-01-NoAliasAndCalls.ll
2007-08-01-NoAliasAndGEP.ll
2007-08-05-GetOverloadedModRef.ll
2007-10-24-ArgumentsGlobals.ll
2007-11-05-SizeCrash.ll
2007-12-08-OutOfBoundsCrash.ll
2008-04-15-Byval.ll
2008-06-02-GEPTailCrash.ll
2008-11-23-NoaliasRet.ll
2009-03-04-GEPNoalias.ll
2009-10-13-AtomicModRef.ll
2009-10-13-GEP-BaseNoAlias.ll
2010-09-15-GEP-SignedArithmetic.ll
2014-03-18-Maxlookup-reached.ll
aligned-overread.ll
args-rets-allocas-loads.ll
assume-index-positive.ll [BasicAA] Make sure context instruction is symmetric 2020-12-25 11:35:46 +01:00
assume.ll
bug.23540.ll
bug.23626.ll [BasicAA] Handle known non-zero variable index 2020-12-13 13:20:05 +01:00
byval.ll
call-attrs.ll
cas.ll
constant-over-index.ll
cs-cs-arm.ll
cs-cs.ll
dag.ll
deoptimize.ll
dereferenceable.ll
empty.ll
fallback-mayalias.ll
featuretest.ll reland [InstCombine] convert assumes to operand bundles 2021-02-13 13:03:11 +01:00
full-store-partial-alias.ll
gcsetest.ll
gep-alias.ll
gep-and-alias-64.ll
gep-and-alias.ll
gep-decomposition-limit.ll
getmodrefinfo-cs-cs.ll
global-size.ll
guards.ll
intrinsics-arm.ll
intrinsics.ll
invalidation.ll
invariant_group.ll
invariant_load.ll
libfuncs.ll
memset_pattern.ll
modref.ll
must-and-partial.ll
negoffset.ll
no-escape-call.ll
noalias-bugs.ll
noalias-geps.ll
noalias-param.ll [AA] byval argument is identified function local 2020-12-21 20:18:23 +01:00
noalias-scope-decl.ll [noalias.decl] Look through llvm.experimental.noalias.scope.decl 2021-01-19 20:09:42 +01:00
noalias-wraparound-bug.ll
nocapture.ll
phi-aa.ll [BasicAA] Merge aliasGEP code paths 2021-02-14 19:35:36 +01:00
phi-and-select.ll
phi-loop.ll
phi-spec-order.ll
phi-speculation.ll [BasicAA] Fix BatchAA results for phi-phi assumptions 2021-01-06 22:15:30 +01:00
phi-values-usage.ll
pr18573.ll
pr31761.ll
pr35821.ll
pr35843.ll
ptrmask.ll
pure-const-dce.ll
q.bad.ll
recphi.ll Revert "[BasicAA] Handle two unknown sizes for GEPs" 2020-12-18 17:59:12 +00:00
returned.ll
sequential-gep.ll [BasicAA] Pass AC/DT to isKnownNonEqual() 2020-12-25 18:29:20 +01:00
store-promote.ll
struct-geps.ll
tail-byval.ll
tailcall-modref.ll
underlying-value.ll
unreachable-block.ll
vscale.ll
zext.ll