Home
last modified time | relevance | path

Searched refs:LocA (Results 1 – 25 of 54) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp55 virtual AliasResult alias(const Location &LocA, const Location &LocB);
109 ScalarEvolutionAliasAnalysis::alias(const Location &LocA, in alias() argument
114 if (LocA.Size == 0 || LocB.Size == 0) in alias()
118 const SCEV *AS = SE->getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
129 APInt ASizeInt(BitWidth, LocA.Size); in alias()
162 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
163 if (alias(Location(AO ? AO : LocA.Ptr, in alias()
164 AO ? +UnknownSize : LocA.Size, in alias()
165 AO ? 0 : LocA.TBAATag), in alias()
172 return AliasAnalysis::alias(LocA, LocB); in alias()
DTypeBasedAliasAnalysis.cpp143 virtual AliasResult alias(const Location &LocA, const Location &LocB);
213 TypeBasedAliasAnalysis::alias(const Location &LocA, in alias() argument
216 return AliasAnalysis::alias(LocA, LocB); in alias()
220 const MDNode *AM = LocA.TBAATag; in alias()
221 if (!AM) return AliasAnalysis::alias(LocA, LocB); in alias()
223 if (!BM) return AliasAnalysis::alias(LocA, LocB); in alias()
227 return AliasAnalysis::alias(LocA, LocB); in alias()
DAliasAnalysisCounter.cpp107 AliasResult alias(const Location &LocA, const Location &LocB);
127 AliasAnalysisCounter::alias(const Location &LocA, const Location &LocB) { in alias() argument
128 AliasResult R = getAnalysis<AliasAnalysis>().alias(LocA, LocB); in alias()
141 errs() << "[" << LocA.Size << "B] "; in alias()
142 WriteAsOperand(errs(), LocA.Ptr, true, M); in alias()
DAliasDebugger.cpp97 AliasResult alias(const Location &LocA, const Location &LocB) { in alias() argument
98 assert(Vals.find(LocA.Ptr) != Vals.end() && in alias()
102 return AliasAnalysis::alias(LocA, LocB); in alias()
DNoAliasAnalysis.cpp42 virtual AliasResult alias(const Location &LocA, const Location &LocB) { in alias()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp25 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias() argument
30 if (LocA.Size == 0 || LocB.Size == 0) in alias()
34 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
46 APInt ASizeInt(BitWidth, LocA.Size); in alias()
79 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
80 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
81 AO ? +MemoryLocation::UnknownSize : LocA.Size, in alias()
82 AO ? AAMDNodes() : LocA.AATags), in alias()
89 return AAResultBase::alias(LocA, LocB); in alias()
DObjCARCAliasAnalysis.cpp40 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias() argument
43 return AAResultBase::alias(LocA, LocB); in alias()
47 const Value *SA = GetRCIdentityRoot(LocA.Ptr); in alias()
50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), in alias()
DScopedNoAliasAA.cpp78 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, in alias() argument
81 return AAResultBase::alias(LocA, LocB); in alias()
84 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias()
86 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias()
95 return AAResultBase::alias(LocA, LocB); in alias()
DCFLAndersAliasAnalysis.cpp844 AliasResult CFLAndersAAResult::query(const MemoryLocation &LocA, in query() argument
846 auto *ValA = LocA.Ptr; in query()
871 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
876 AliasResult CFLAndersAAResult::alias(const MemoryLocation &LocA, in alias() argument
878 if (LocA.Ptr == LocB.Ptr) in alias()
886 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
887 return AAResultBase::alias(LocA, LocB); in alias()
889 AliasResult QueryResult = query(LocA, LocB); in alias()
891 return AAResultBase::alias(LocA, LocB); in alias()
DTypeBasedAliasAnalysis.cpp370 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias() argument
373 return AAResultBase::alias(LocA, LocB); in alias()
376 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
377 return AAResultBase::alias(LocA, LocB); in alias()
/external/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp25 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias() argument
30 if (LocA.Size == 0 || LocB.Size == 0) in alias()
34 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
46 APInt ASizeInt(BitWidth, LocA.Size); in alias()
79 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
80 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
81 AO ? +MemoryLocation::UnknownSize : LocA.Size, in alias()
82 AO ? AAMDNodes() : LocA.AATags), in alias()
89 return AAResultBase::alias(LocA, LocB); in alias()
DObjCARCAliasAnalysis.cpp40 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias() argument
43 return AAResultBase::alias(LocA, LocB); in alias()
47 const Value *SA = GetRCIdentityRoot(LocA.Ptr); in alias()
50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), in alias()
DScopedNoAliasAA.cpp75 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, in alias() argument
78 return AAResultBase::alias(LocA, LocB); in alias()
81 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias()
83 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias()
92 return AAResultBase::alias(LocA, LocB); in alias()
DTypeBasedAliasAnalysis.cpp281 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias() argument
284 return AAResultBase::alias(LocA, LocB); in alias()
288 const MDNode *AM = LocA.AATags.TBAA; in alias()
290 return AAResultBase::alias(LocA, LocB); in alias()
293 return AAResultBase::alias(LocA, LocB); in alias()
297 return AAResultBase::alias(LocA, LocB); in alias()
/external/llvm/include/llvm/Analysis/
DCFLSteensAliasAnalysis.h63 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB);
65 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
66 if (LocA.Ptr == LocB.Ptr) in alias()
67 return LocA.Size == LocB.Size ? MustAlias : PartialAlias; in alias()
74 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
75 return AAResultBase::alias(LocA, LocB); in alias()
77 AliasResult QueryResult = query(LocA, LocB); in alias()
79 return AAResultBase::alias(LocA, LocB); in alias()
DAliasAnalysis.h190 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
206 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isNoAlias() argument
207 return alias(LocA, LocB) == NoAlias; in isNoAlias()
223 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isMustAlias() argument
224 return alias(LocA, LocB) == MustAlias; in isMustAlias()
605 virtual AliasResult alias(const MemoryLocation &LocA,
663 AliasResult alias(const MemoryLocation &LocA, in alias() argument
665 return Result.alias(LocA, LocB); in alias()
738 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
739 return AAR ? AAR->alias(LocA, LocB) : CurrentResult.alias(LocA, LocB); in alias()
[all …]
DCFLAndersAliasAnalysis.h41 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
43 return AAResultBase::alias(LocA, LocB); in alias()
DScalarEvolutionAliasAnalysis.h34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCFLSteensAliasAnalysis.h71 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB);
73 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
74 if (LocA.Ptr == LocB.Ptr) in alias()
82 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
83 return AAResultBase::alias(LocA, LocB); in alias()
85 AliasResult QueryResult = query(LocA, LocB); in alias()
87 return AAResultBase::alias(LocA, LocB); in alias()
DAliasAnalysis.h328 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
344 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isNoAlias() argument
345 return alias(LocA, LocB) == NoAlias; in isNoAlias()
361 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isMustAlias() argument
362 return alias(LocA, LocB) == MustAlias; in isMustAlias()
762 virtual AliasResult alias(const MemoryLocation &LocA,
820 AliasResult alias(const MemoryLocation &LocA, in alias() argument
822 return Result.alias(LocA, LocB); in alias()
895 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
896 return AAR ? AAR->alias(LocA, LocB) : CurrentResult.alias(LocA, LocB); in alias()
[all …]
DScalarEvolutionAliasAnalysis.h34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
DScopedNoAliasAA.h43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp106 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias() argument
108 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias()
115 return AAResultBase::alias(LocA, LocB); in alias()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DAliasAnalysis.h164 virtual AliasResult alias(const Location &LocA, const Location &LocB);
179 bool isNoAlias(const Location &LocA, const Location &LocB) { in isNoAlias() argument
180 return alias(LocA, LocB) == NoAlias; in isNoAlias()
190 bool isMustAlias(const Location &LocA, const Location &LocB) { in isMustAlias() argument
191 return alias(LocA, LocB) == MustAlias; in isMustAlias()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DGlobalsModRef.cpp112 AliasResult alias(const Location &LocA, const Location &LocB);
491 GlobalsModRef::alias(const Location &LocA, in alias() argument
494 const Value *UV1 = GetUnderlyingObject(LocA.Ptr); in alias()
543 return AliasAnalysis::alias(LocA, LocB); in alias()

123