Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp55 virtual AliasResult alias(const Location &LocA, const Location &LocB);
110 const Location &LocB) { in alias() argument
114 if (LocA.Size == 0 || LocB.Size == 0) in alias()
119 const SCEV *BS = SE->getSCEV(const_cast<Value *>(LocB.Ptr)); in alias()
130 APInt BSizeInt(BitWidth, LocB.Size); in alias()
162 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
166 Location(BO ? BO : LocB.Ptr, in alias()
167 BO ? +UnknownSize : LocB.Size, in alias()
168 BO ? 0 : LocB.TBAATag)) == NoAlias) in alias()
172 return AliasAnalysis::alias(LocA, LocB); in alias()
DTypeBasedAliasAnalysis.cpp143 virtual AliasResult alias(const Location &LocA, const Location &LocB);
214 const Location &LocB) { in alias() argument
216 return AliasAnalysis::alias(LocA, LocB); in alias()
221 if (!AM) return AliasAnalysis::alias(LocA, LocB); in alias()
222 const MDNode *BM = LocB.TBAATag; 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()
144 errs() << "[" << LocB.Size << "B] "; in alias()
145 WriteAsOperand(errs(), LocB.Ptr, true, M); in alias()
DAliasDebugger.cpp97 AliasResult alias(const Location &LocA, const Location &LocB) { in alias() argument
100 assert(Vals.find(LocB.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.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.cpp79 const MemoryLocation &LocB) { 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.cpp845 const MemoryLocation &LocB) { in query() argument
847 auto *ValB = LocB.Ptr; in query()
871 if (FunInfo->mayAlias(ValA, LocA.Size, ValB, LocB.Size)) in query()
877 const MemoryLocation &LocB) { 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.cpp371 const MemoryLocation &LocB) { 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.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()
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()
763 const MemoryLocation &LocB) = 0;
821 const MemoryLocation &LocB) override { 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp107 const MemoryLocation &LocB) { in alias() argument
109 unsigned asB = LocB.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/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp126 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()
1085 BasicBlock *LocB) { in fabricateGEP() argument
1086 DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName() in fabricateGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp143 BasicBlock *LocB);
900 BasicBlock *LocB = cast_or_null<BasicBlock>(Loc[Node]); in adjustForInvariance() local
901 if (LocB) { in adjustForInvariance()
902 Loop *Lp = LI->getLoopFor(LocB); in adjustForInvariance()
904 if (!isInvariantIn(Node, Lp) || !isInMainPath(LocB, Lp)) in adjustForInvariance()
910 LocB = NewLoc; in adjustForInvariance()
913 Loc[Node] = LocB; in adjustForInvariance()
922 return LocB; in adjustForInvariance()
1092 BasicBlock *LocB) { in fabricateGEP() argument
1093 LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName() in fabricateGEP()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DGlobalsModRef.cpp112 AliasResult alias(const Location &LocA, const Location &LocB);
492 const Location &LocB) { in alias() argument
495 const Value *UV2 = GetUnderlyingObject(LocB.Ptr); in alias()
543 return AliasAnalysis::alias(LocA, LocB); in alias()

123