Home
last modified time | relevance | path

Searched refs:AliasResult (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp895 AliasResult BasicAAResult::alias(const MemoryLocation &LocA, in alias()
959 AliasResult AR = in getModRefInfo()
963 if (AR == AliasResult::NoAlias) in getModRefInfo()
998 AliasResult::NoAlias) in getModRefInfo()
1079 AliasResult BasicAAResult::aliasGEP( in aliasGEP()
1087 return AliasResult::MayAlias; in aliasGEP()
1091 AliasResult BaseAlias = in aliasGEP()
1094 return BaseAlias == AliasResult::NoAlias ? AliasResult::NoAlias in aliasGEP()
1095 : AliasResult::MayAlias; in aliasGEP()
1104 return AliasResult::MayAlias; in aliasGEP()
[all …]
H A DAliasAnalysisEvaluator.cpp35 static void PrintResults(AliasResult AR, bool P, in PrintResults()
88 static inline void PrintLoadStoreResults(AliasResult AR, bool P, in PrintLoadStoreResults()
134 AliasResult AR = AA.alias(I1->first, Size1, I2->first, Size2); in runInternal()
136 case AliasResult::NoAlias: in runInternal()
140 case AliasResult::MayAlias: in runInternal()
144 case AliasResult::PartialAlias: in runInternal()
148 case AliasResult::MustAlias: in runInternal()
160 AliasResult AR = AA.alias(MemoryLocation::get(cast<LoadInst>(Load)), in runInternal()
163 case AliasResult::NoAlias: in runInternal()
167 case AliasResult::MayAlias: in runInternal()
[all …]
H A DAliasAnalysis.cpp107 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias()
113 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias()
116 AliasResult Result = AliasResult::MayAlias; in alias()
128 if (Result != AliasResult::MayAlias) in alias()
141 if (Result == AliasResult::NoAlias) in alias()
143 else if (Result == AliasResult::MustAlias) in alias()
249 AliasResult ArgAlias = alias(ArgLoc, Loc, AAQI, Call); in getModRefInfo()
250 if (ArgAlias != AliasResult::NoAlias) in getModRefInfo()
408 raw_ostream &llvm::operator<<(raw_ostream &OS, AliasResult AR) { in operator <<()
410 case AliasResult::NoAlias: in operator <<()
[all …]
H A DScalarEvolutionAliasAnalysis.cpp36 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias()
43 return AliasResult::NoAlias; in alias()
51 return AliasResult::MustAlias; in alias()
86 return AliasResult::NoAlias; in alias()
101 return AliasResult::NoAlias; in alias()
118 AAQI, nullptr) == AliasResult::NoAlias) in alias()
119 return AliasResult::NoAlias; in alias()
121 return AliasResult::MayAlias; in alias()
H A DObjCARCAliasAnalysis.cpp42 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias()
52 AliasResult Result = AAResultBase::alias( in alias()
55 if (Result != AliasResult::MayAlias) in alias()
68 if (Result == AliasResult::NoAlias) in alias()
69 return AliasResult::NoAlias; in alias()
74 return AliasResult::MayAlias; in alias()
H A DAliasSetTracker.cpp154 AliasResult AliasSet::aliasesMemoryLocation(const MemoryLocation &MemLoc, in aliasesMemoryLocation()
157 return AliasResult::MayAlias; in aliasesMemoryLocation()
161 AliasResult AR = AA.alias(MemLoc, ASMemLoc); in aliasesMemoryLocation()
162 if (AR != AliasResult::NoAlias) in aliasesMemoryLocation()
169 return AliasResult::MayAlias; in aliasesMemoryLocation()
171 return AliasResult::NoAlias; in aliasesMemoryLocation()
236 AliasResult AR = AS.aliasesMemoryLocation(MemLoc, AA); in mergeAliasSetsForMemoryLocation()
237 if (AR == AliasResult::NoAlias) in mergeAliasSetsForMemoryLocation()
240 if (AR != AliasResult::MustAlias) in mergeAliasSetsForMemoryLocation()
H A DScopedNoAliasAA.cpp54 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, in alias()
59 return AliasResult::MayAlias; in alias()
67 return AliasResult::NoAlias; in alias()
70 return AliasResult::NoAlias; in alias()
72 return AliasResult::MayAlias; in alias()
H A DGlobalsModRef.cpp821 AliasResult GlobalsAAResult::alias(const MemoryLocation &LocA, in alias()
845 return AliasResult::NoAlias; in alias()
852 return AliasResult::NoAlias; in alias()
860 return AliasResult::NoAlias; in alias()
891 return AliasResult::NoAlias; in alias()
898 return AliasResult::NoAlias; in alias()
900 return AliasResult::MayAlias; in alias()
923 nullptr) == AliasResult::NoAlias; in getModRefInfoForArgument()
H A DMemoryDependenceAnalysis.cpp385 if (BatchAA.alias(MemoryLocation::get(LI), MemLoc) != AliasResult::MustAlias) in canSkipClobberingStore()
494 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom()
495 if (R == AliasResult::NoAlias) in getSimplePointerDependencyFrom()
497 if (R == AliasResult::MustAlias) in getSimplePointerDependencyFrom()
540 AliasResult R = BatchAA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom()
542 if (R == AliasResult::NoAlias) in getSimplePointerDependencyFrom()
547 if (R == AliasResult::MustAlias) in getSimplePointerDependencyFrom()
552 if (R == AliasResult::PartialAlias && R.hasOffset()) { in getSimplePointerDependencyFrom()
608 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom()
610 if (R == AliasResult::NoAlias) in getSimplePointerDependencyFrom()
[all …]
H A DTypeBasedAliasAnalysis.cpp375 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias()
379 return AliasResult::MayAlias; in alias()
382 return AliasResult::MayAlias; in alias()
385 return AliasResult::NoAlias; in alias()
H A DMemoryBuiltins.cpp897 AliasResult AR = in findLoadSizeOffset()
899 switch ((AliasResult::Kind)AR) { in findLoadSizeOffset()
900 case AliasResult::NoAlias: in findLoadSizeOffset()
902 case AliasResult::MustAlias: in findLoadSizeOffset()
927 AliasResult AR = in findLoadSizeOffset()
929 switch ((AliasResult::Kind)AR) { in findLoadSizeOffset()
930 case AliasResult::NoAlias: in findLoadSizeOffset()
932 case AliasResult::MustAlias: in findLoadSizeOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h82 class AliasResult {
112 explicit AliasResult() = delete;
113 constexpr AliasResult(const Kind &Alias) in AliasResult() function
118 bool operator==(const AliasResult &Other) const {
122 bool operator!=(const AliasResult &Other) const { return !(*this == Other); }
146 static_assert(sizeof(AliasResult) == 4,
150 raw_ostream &operator<<(raw_ostream &OS, AliasResult AR);
254 AliasResult Result;
357 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
360 AliasResult alias(const Value *V1, LocationSize V1Size, const Value *V2,
[all …]
H A DBasicAliasAnalysis.h71 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
129 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
134 AliasResult aliasPHI(const PHINode *PN, LocationSize PNSize,
137 AliasResult aliasSelect(const SelectInst *SI, LocationSize SISize,
141 AliasResult aliasCheck(const Value *V1, LocationSize V1Size, const Value *V2,
145 AliasResult aliasCheckRecursive(const Value *V1, LocationSize V1Size,
H A DAliasSetTracker.h34 class AliasResult; variable
148 AliasResult aliasesMemoryLocation(const MemoryLocation &MemLoc,
H A DObjCARCAliasAnalysis.h53 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
H A DScalarEvolutionAliasAnalysis.h34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
H A DScopedNoAliasAA.h39 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
H A DTypeBasedAliasAnalysis.h41 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.cpp50 static AliasResult::Kind getAliasResult(unsigned AS1, unsigned AS2) { in getAliasResult()
52 return AliasResult::MayAlias; in getAliasResult()
67 return (AS1 == AS2 ? AliasResult::MayAlias : AliasResult::NoAlias); in getAliasResult()
70 AliasResult NVPTXAAResult::alias(const MemoryLocation &Loc1, in alias()
H A DNVPTXAliasAnalysis.h34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp49 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias()
56 return AliasResult::NoAlias; in alias()
79 return AliasResult::NoAlias; in alias()
86 return AliasResult::NoAlias; in alias()
96 return AliasResult::MayAlias; in alias()
H A DAMDGPUAliasAnalysis.h40 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.cpp115 case AliasResult::NoAlias: in relatedCheck()
117 case AliasResult::MustAlias: in relatedCheck()
118 case AliasResult::PartialAlias: in relatedCheck()
120 case AliasResult::MayAlias: in relatedCheck()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DImplicitNullChecks.cpp173 enum AliasResult { enum in __anon796cdc5b0111::ImplicitNullChecks
182 AliasResult areMemoryOpsAliased(const MachineInstr &MI,
328 ImplicitNullChecks::AliasResult
470 AliasResult AR = areMemoryOpsAliased(MI, PrevMI); in isSuitableMemoryOp()
H A DDFAPacketizer.cpp263 AliasResult AAResult = in alias()
269 return AAResult != AliasResult::NoAlias; in alias()

12