Home
last modified time | relevance | path

Searched refs:LocB (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm-project/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp26 const MemoryLocation &LocB, AAQueryInfo &AAQI) { in alias() argument
30 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
35 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr)); in alias()
49 APInt BSizeInt(BitWidth, LocB.Size.hasValue() in alias()
50 ? LocB.Size.getValue() in alias()
83 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
88 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
90 : LocB.Size, in alias()
91 BO ? AAMDNodes() : LocB.AATags), in alias()
96 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DObjCARCAliasAnalysis.cpp40 const MemoryLocation &LocB, in alias() argument
43 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
48 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias()
51 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI); in alias()
DScopedNoAliasAA.cpp54 const MemoryLocation &LocB, 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.cpp848 const MemoryLocation &LocB) { in query() argument
850 auto *ValB = LocB.Ptr; in query()
874 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
880 const MemoryLocation &LocB, 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.cpp371 const MemoryLocation &LocB, 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.cpp26 const MemoryLocation &LocB, AAQueryInfo &AAQI) { in alias() argument
30 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
35 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr)); in alias()
49 APInt BSizeInt(BitWidth, LocB.Size.hasValue() in alias()
50 ? LocB.Size.getValue() in alias()
83 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
87 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
88 BO ? LocationSize::unknown() : LocB.Size, in alias()
89 BO ? AAMDNodes() : LocB.AATags), in alias()
94 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
DObjCARCAliasAnalysis.cpp40 const MemoryLocation &LocB, in alias() argument
43 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
48 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias()
51 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI); in alias()
DScopedNoAliasAA.cpp79 const MemoryLocation &LocB, 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.cpp849 const MemoryLocation &LocB) { in query() argument
851 auto *ValB = LocB.Ptr; in query()
875 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
881 const MemoryLocation &LocB, 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.cpp371 const MemoryLocation &LocB, 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.cpp26 const MemoryLocation &LocB) { in alias() argument
30 if (LocA.Size == 0 || LocB.Size == 0) in alias()
35 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr)); in alias()
47 APInt BSizeInt(BitWidth, LocB.Size); in alias()
79 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
83 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
84 BO ? +MemoryLocation::UnknownSize : LocB.Size, in alias()
85 BO ? AAMDNodes() : LocB.AATags)) == NoAlias) in alias()
89 return AAResultBase::alias(LocA, LocB); in alias()
DObjCARCAliasAnalysis.cpp41 const MemoryLocation &LocB) { in alias() argument
43 return AAResultBase::alias(LocA, LocB); in alias()
48 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias()
51 MemoryLocation(SB, LocB.Size, LocB.AATags)); in alias()
DScopedNoAliasAA.cpp76 const MemoryLocation &LocB) { 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.cpp282 const MemoryLocation &LocB) { in alias() argument
284 return AAResultBase::alias(LocA, LocB); in alias()
290 return AAResultBase::alias(LocA, LocB); in alias()
291 const MDNode *BM = LocB.AATags.TBAA; 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()
606 const MemoryLocation &LocB) = 0;
664 const MemoryLocation &LocB) override { 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()
/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()
840 const MemoryLocation &LocB, AAQueryInfo &AAQI) = 0;
898 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, in alias() argument
[all …]
/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.cpp79 const MemoryLocation &LocB, in alias() argument
82 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias()
93 MemoryLocation B = LocB; in alias()
127 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp79 const MemoryLocation &LocB, in alias() argument
82 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias()
89 return AAResultBase::alias(LocA, LocB, AAQI); in alias()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp144 BasicBlock *LocB);
891 BasicBlock *LocB = cast_or_null<BasicBlock>(Loc[Node]); in adjustForInvariance() local
892 if (LocB) { in adjustForInvariance()
893 Loop *Lp = LI->getLoopFor(LocB); in adjustForInvariance()
895 if (!isInvariantIn(Node, Lp) || !isInMainPath(LocB, Lp)) in adjustForInvariance()
901 LocB = NewLoc; in adjustForInvariance()
904 Loc[Node] = LocB; in adjustForInvariance()
913 return LocB; in adjustForInvariance()
1081 BasicBlock *LocB) { in fabricateGEP() argument
1082 LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName() in fabricateGEP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp144 BasicBlock *LocB);
901 BasicBlock *LocB = cast_or_null<BasicBlock>(Loc[Node]); in adjustForInvariance() local
902 if (LocB) { in adjustForInvariance()
903 Loop *Lp = LI->getLoopFor(LocB); in adjustForInvariance()
905 if (!isInvariantIn(Node, Lp) || !isInMainPath(LocB, Lp)) in adjustForInvariance()
911 LocB = NewLoc; in adjustForInvariance()
914 Loc[Node] = LocB; in adjustForInvariance()
923 return LocB; in adjustForInvariance()
1091 BasicBlock *LocB) { in fabricateGEP() argument
1092 LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName() in fabricateGEP()

123