llvm-project/llvm/test/Analysis/BasicAA
Nikita Popov f96ea53e89 [AA] Do not track Must in ModRefInfo
getModRefInfo() queries currently track whether the result is a
MustAlias on a best-effort basis. The only user of this functionality
is the optimized memory access type in MemorySSA -- which in turn
has no users. Given that this functionality has not found a user
since it was introduced five years ago (in D38862), I think we
should drop it again.

The context is that I'm working to separate FunctionModRefBehavior
to track mod/ref for different location kinds (like argmem or
inaccessiblemem) separately, and the fact that ModRefInfo also has
an unrelated Must flag makes this quite awkward, especially as this
means that NoModRef is not a zero value. If we want to retain the
functionality, I would probably split getModRefInfo() results into
a part that just contains the ModRef information, and a separate
part containing a (best-effort) AliasResult.

Differential Revision: https://reviews.llvm.org/D130713
2022-08-01 07:14:31 +02:00
..
128-bit-ptr.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
2003-02-26-AccessSizeTest.ll
2003-03-04-GEPCrash.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2003-04-22-GEPProblem.ll
2003-04-25-GEPCrash.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2003-05-21-GEP-Problem.ll
2003-06-01-AliasCrash.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2003-07-03-BasicAACrash.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2003-09-19-LocalArgument.ll
2003-11-04-SimpleCases.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2003-12-11-ConstExprGEP.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2004-07-28-MustAliasbug.ll
2006-03-03-BadArraySubscript.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
2006-11-03-BasicAAVectorCrash.ll
2007-01-13-BasePointerBadNoAlias.ll
2007-08-01-NoAliasAndCalls.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2007-08-01-NoAliasAndGEP.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
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 [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2009-03-04-GEPNoalias.ll
2009-10-13-AtomicModRef.ll
2009-10-13-GEP-BaseNoAlias.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2010-09-15-GEP-SignedArithmetic.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
2014-03-18-Maxlookup-reached.ll
aligned-overread.ll
args-rets-allocas-loads.ll [AA] Do not track Must in ModRefInfo 2022-08-01 07:14:31 +02:00
assume-index-positive.ll [BasicAA] Add test coverage from D76194. 2022-06-29 11:25:20 +01:00
assume.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
atomic-memory-intrinsics.ll [AA] Do not track Must in ModRefInfo 2022-08-01 07:14:31 +02:00
bug.23540.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
bug.23626.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
byval.ll
call-attrs.ll [AA] Do not track Must in ModRefInfo 2022-08-01 07:14:31 +02:00
call-escape-source.ll [BasicAA] Handle passthru calls in isEscapeSource() 2022-06-24 11:00:57 +02:00
cas.ll
constant-over-index.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
cs-cs-arm.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
cs-cs.ll [AA] Do not track Must in ModRefInfo 2022-08-01 07:14:31 +02:00
dag.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
deoptimize.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
dereferenceable.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
empty.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
fallback-mayalias.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
featuretest.ll
full-store-partial-alias.ll [test] Modify some tests to remove implicit -basic-aa in legacy PM RUN lines 2022-03-08 14:35:06 -08:00
gcsetest.ll
gep-alias.ll
gep-and-alias-64.ll
gep-and-alias.ll
gep-decomposition-limit.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
gep-implicit-trunc-32-bit-pointers.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
gep-modulo.ll [BasicAA] Account for wrapping when using abs(VarIndex) >= abs(Scale). 2022-03-18 14:41:15 +00:00
getmodrefinfo-cs-cs.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
global-size.ll
guards.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
index-size.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
intrinsics-arm.ll
intrinsics.ll Reapply "[Intrinsics] Add `nocallback` to the default intrinsic attributes" 2022-03-25 09:36:50 -05:00
invalidation.ll
invariant_group.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
invariant_load.ll
libfuncs-darwin.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
libfuncs.ll [AA] Do not track Must in ModRefInfo 2022-08-01 07:14:31 +02:00
modref.ll
must-and-partial.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
negoffset.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
no-escape-call.ll
noalias-bugs.ll
noalias-geps.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
noalias-inttoptr.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
noalias-param.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
noalias-scope-decl.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
noalias-wraparound-bug.ll
nocapture.ll
phi-aa.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
phi-and-select.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
phi-loop.ll
phi-spec-order.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
phi-speculation.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
phi-values-usage.ll
pr18573.ll
pr31761.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
pr35821.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
pr35843.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
pr52735.ll [IR] Don't use blockaddresses as callbr arguments 2022-07-15 10:18:17 +02:00
ptrmask.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
pure-const-dce.ll
q.bad.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
range.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
recphi.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
returned.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
sequential-gep.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
store-promote.ll
struct-geps.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
tail-byval.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
tailcall-modref.ll
underlying-value.ll
unreachable-block.ll [test] Use new PM for -aa-eval tests 2022-03-08 14:15:53 -08:00
vscale.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00
zext.ll [AAEval] Make compatible with opaque pointers 2022-03-16 10:02:11 +01:00