Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp25 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias() argument
30 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
34 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
46 APInt ASizeInt(BitWidth, LocA.Size.hasValue() in alias()
47 ? LocA.Size.getValue() in alias()
83 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
84 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
86 : LocA.Size, in alias()
87 AO ? AAMDNodes() : LocA.AATags), in alias()
96 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DObjCARCAliasAnalysis.cpp39 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias() argument
43 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
47 const Value *SA = GetRCIdentityRoot(LocA.Ptr); in alias()
50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), in alias()
DScopedNoAliasAA.cpp53 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, in alias() argument
57 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
60 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias()
62 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias()
71 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DCFLAndersAliasAnalysis.cpp847 AliasResult CFLAndersAAResult::query(const MemoryLocation &LocA, in query() argument
849 auto *ValA = LocA.Ptr; in query()
874 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
879 AliasResult CFLAndersAAResult::alias(const MemoryLocation &LocA, in alias() argument
882 if (LocA.Ptr == LocB.Ptr) in alias()
890 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
891 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
893 AliasResult QueryResult = query(LocA, LocB); in alias()
895 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DTypeBasedAliasAnalysis.cpp370 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias() argument
374 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
377 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
378 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp25 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias() argument
30 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
34 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
46 APInt ASizeInt(BitWidth, LocA.Size.hasValue() in alias()
47 ? LocA.Size.getValue() in alias()
83 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
84 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
85 AO ? LocationSize::unknown() : LocA.Size, in alias()
86 AO ? AAMDNodes() : LocA.AATags), in alias()
94 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DObjCARCAliasAnalysis.cpp39 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias() argument
43 return AAResultBase::alias(LocA, LocB, AAQI); 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
82 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
85 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias()
87 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias()
96 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DCFLAndersAliasAnalysis.cpp848 AliasResult CFLAndersAAResult::query(const MemoryLocation &LocA, in query() argument
850 auto *ValA = LocA.Ptr; in query()
875 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
880 AliasResult CFLAndersAAResult::alias(const MemoryLocation &LocA, in alias() argument
883 if (LocA.Ptr == LocB.Ptr) in alias()
891 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
892 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
894 AliasResult QueryResult = query(LocA, LocB); in alias()
896 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DTypeBasedAliasAnalysis.cpp370 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias() argument
374 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
377 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
378 return AAResultBase::alias(LocA, LocB, AAQI); 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-10.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
75 if (LocA.Ptr == LocB.Ptr) in alias()
83 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
84 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
86 AliasResult QueryResult = query(LocA, LocB); in alias()
88 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DAliasAnalysis.h349 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
364 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isNoAlias() argument
365 return alias(LocA, LocB) == NoAlias; in isNoAlias()
381 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isMustAlias() argument
382 return alias(LocA, LocB) == MustAlias; in isMustAlias()
693 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
783 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
784 return AA.alias(LocA, LocB, AAQI); in alias()
839 virtual AliasResult alias(const MemoryLocation &LocA,
898 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, in alias() argument
[all …]
DScalarEvolutionAliasAnalysis.h33 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/external/llvm-project/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
75 if (LocA.Ptr == LocB.Ptr) in alias()
83 if (isa<Constant>(LocA.Ptr) && isa<Constant>(LocB.Ptr)) in alias()
84 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
86 AliasResult QueryResult = query(LocA, LocB); in alias()
88 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DAliasAnalysis.h399 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
415 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isNoAlias() argument
416 return alias(LocA, LocB) == NoAlias; in isNoAlias()
433 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isMustAlias() argument
434 return alias(LocA, LocB) == MustAlias; in isMustAlias()
742 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
835 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in alias() argument
836 return AA.alias(LocA, LocB, AAQI); in alias()
860 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) { in isMustAlias() argument
861 return alias(LocA, LocB) == MustAlias; in isMustAlias()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp78 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias() argument
81 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias()
92 MemoryLocation A = LocA; in alias()
127 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp78 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias() argument
81 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias()
89 return AAResultBase::alias(LocA, LocB, AAQI); in alias()

123