Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp37 const MemoryLocation &LocB, AAQueryInfo &AAQI, in alias() argument
42 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
47 const SCEV *BS = SE.getSCEV(const_cast<Value *>(LocB.Ptr)); in alias()
60 APInt BSizeInt(BitWidth, LocB.Size.hasValue() in alias()
61 ? static_cast<uint64_t>(LocB.Size.getValue()) in alias()
109 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
114 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
116 : LocB.Size, in alias()
117 BO ? AAMDNodes() : LocB.AATags), in alias()
H A DObjCARCAliasAnalysis.cpp41 const MemoryLocation &LocB, in alias() argument
44 return AAResultBase::alias(LocA, LocB, AAQI, nullptr); in alias()
49 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias()
52 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI, nullptr); in alias()
H A DScopedNoAliasAA.cpp55 const MemoryLocation &LocB, in alias() argument
62 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; in alias()
64 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; in alias()
H A DAliasAnalysis.cpp105 const MemoryLocation &LocB) { in alias() argument
107 return alias(LocA, LocB, AAQIP, nullptr); in alias()
111 const MemoryLocation &LocB, AAQueryInfo &AAQI, in alias() argument
114 LocB.Ptr->getType()->isPointerTy() && in alias()
122 << *LocB.Ptr << " @ " << LocB.Size << "\n"; in alias()
127 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias()
137 << *LocB.Ptr << " @ " << LocB.Size << " = " << Result << "\n"; in alias()
H A DTypeBasedAliasAnalysis.cpp376 const MemoryLocation &LocB, in alias() argument
381 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
H A DGlobalsModRef.cpp837 const MemoryLocation &LocB, in alias() argument
843 getUnderlyingObject(LocB.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
H A DBasicAliasAnalysis.cpp905 const MemoryLocation &LocB, AAQueryInfo &AAQI, in alias() argument
907 assert(notDifferentParent(LocA.Ptr, LocB.Ptr) && in alias()
909 return aliasCheck(LocA.Ptr, LocA.Size, LocB.Ptr, LocB.Size, AAQI, CtxI); in alias()
H A DDependenceAnalysis.cpp743 const MemoryLocation &LocB) { in underlyingObjectsAlias() argument
749 MemoryLocation::getBeforeOrAfter(LocB.Ptr, LocB.AATags); in underlyingObjectsAlias()
758 const Value *BObj = getUnderlyingObject(LocB.Ptr); in underlyingObjectsAlias()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h357 const MemoryLocation &LocB);
373 bool isNoAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
374 return alias(LocA, LocB) == AliasResult::NoAlias;
391 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
392 return alias(LocA, LocB) == AliasResult::MustAlias;
586 const MemoryLocation &LocB, AAQueryInfo &AAQI,
666 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
667 return AA.alias(LocA, LocB, AAQI);
692 bool isMustAlias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
693 return alias(LocA, LocB) == AliasResult::MustAlias;
[all …]
H A DObjCARCAliasAnalysis.h52 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
H A DScalarEvolutionAliasAnalysis.h36 const MemoryLocation &LocB, AAQueryInfo &AAQI,
H A DScopedNoAliasAA.h41 const MemoryLocation &LocB, AAQueryInfo &AAQI,
H A DTypeBasedAliasAnalysis.h51 const MemoryLocation &LocB, AAQueryInfo &AAQI,
H A DGlobalsModRef.h98 const MemoryLocation &LocB, AAQueryInfo &AAQI,
H A DBasicAliasAnalysis.h73 const MemoryLocation &LocB, AAQueryInfo &AAQI,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp48 const MemoryLocation &LocB, AAQueryInfo &AAQI, in alias() argument
51 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace(); in alias()
61 MemoryLocation B = LocB; in alias()
H A DAMDGPUAliasAnalysis.h40 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp183 DebugLoc DebugLoc::getMergedLocation(DebugLoc LocA, DebugLoc LocB) { in getMergedLocation() argument
186 if (!LocB) in getMergedLocation()
187 return LocB; in getMergedLocation()
188 return DILocation::getMergedLocation(LocA, LocB); in getMergedLocation()
H A DDebugInfoMetadata.cpp234 DILocation *DILocation::getMergedLocation(DILocation *LocA, DILocation *LocB) { in getMergedLocation() argument
235 if (LocA == LocB) in getMergedLocation()
244 if (!LocA || !LocB) in getMergedLocation()
245 return LocA ? LocA : LocB; in getMergedLocation()
250 auto B = std::make_tuple(LocB->getLine(), LocB->getColumn(), in getMergedLocation()
251 LocB->getDiscriminator(), LocB->getFilename(), in getMergedLocation()
252 LocB->getDirectory()); in getMergedLocation()
253 return A < B ? LocA : LocB; in getMergedLocation()
256 if (!LocA || !LocB) in getMergedLocation()
286 for (auto [L, I] = std::make_pair(LocB, 0U); L; L = L->getInlinedAt(), I++) { in getMergedLocation()
[all …]
H A DDebugInfo.cpp958 void Instruction::applyMergedLocation(DebugLoc LocA, DebugLoc LocB) { in applyMergedLocation() argument
959 setDebugLoc(DebugLoc::getMergedLocation(LocA, LocB)); in applyMergedLocation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp137 BasicBlock *LocB);
884 BasicBlock *LocB = cast_or_null<BasicBlock>(Loc[Node]); in adjustForInvariance() local
885 if (LocB) { in adjustForInvariance()
886 Loop *Lp = LI->getLoopFor(LocB); in adjustForInvariance()
888 if (!isInvariantIn(Node, Lp) || !isInMainPath(LocB, Lp)) in adjustForInvariance()
894 LocB = NewLoc; in adjustForInvariance()
897 Loc[Node] = LocB; in adjustForInvariance()
906 return LocB; in adjustForInvariance()
1073 BasicBlock *LocB) { in fabricateGEP() argument
1074 LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName() in fabricateGEP()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.h34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h182 LLVM_ABI static DebugLoc getMergedLocation(DebugLoc LocA, DebugLoc LocB);
H A DInstruction.h701 LLVM_ABI void applyMergedLocation(DebugLoc LocA, DebugLoc LocB);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp1505 LocationSize LocB = (WidthB.isScalable() || !KnownWidthB) in MemOperandsHaveAlias() local
1511 MemoryLocation(ValB, LocB, UseTBAA ? MMOb->getAAInfo() : AAMDNodes())); in MemOperandsHaveAlias()

12