Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp36 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, in alias() argument
42 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
46 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias()
57 APInt ASizeInt(BitWidth, LocA.Size.hasValue() in alias()
58 ? static_cast<uint64_t>(LocA.Size.getValue()) in alias()
109 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
110 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, in alias()
112 : LocA.Size, in alias()
113 AO ? AAMDNodes() : LocA.AATags), in alias()
H A DObjCARCAliasAnalysis.cpp40 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, in alias() argument
44 return AAResultBase::alias(LocA, LocB, AAQI, nullptr); in alias()
48 const Value *SA = GetRCIdentityRoot(LocA.Ptr); in alias()
51 MemoryLocation(SA, LocA.Size, LocA.AATags), in alias()
H A DScopedNoAliasAA.cpp54 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA, 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.cpp104 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias() argument
107 return alias(LocA, LocB, AAQIP, nullptr); in alias()
110 AliasResult AAResults::alias(const MemoryLocation &LocA, in alias() argument
113 assert(LocA.Ptr->getType()->isPointerTy() && in alias()
121 dbgs() << "Start " << *LocA.Ptr << " @ " << LocA.Size << ", " in alias()
127 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias()
136 dbgs() << "End " << *LocA.Ptr << " @ " << LocA.Size << ", " in alias()
H A DTypeBasedAliasAnalysis.cpp375 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA, in alias() argument
381 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
H A DGlobalsModRef.cpp836 AliasResult GlobalsAAResult::alias(const MemoryLocation &LocA, in alias() argument
841 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
H A DBasicAliasAnalysis.cpp904 AliasResult BasicAAResult::alias(const MemoryLocation &LocA, 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.cpp742 const MemoryLocation &LocA, in underlyingObjectsAlias() argument
747 MemoryLocation::getBeforeOrAfter(LocA.Ptr, LocA.AATags); in underlyingObjectsAlias()
757 const Value *AObj = getUnderlyingObject(LocA.Ptr); in underlyingObjectsAlias()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h356 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
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;
585 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
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.h35 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
H A DScopedNoAliasAA.h40 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
H A DTypeBasedAliasAnalysis.h50 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
H A DGlobalsModRef.h97 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
H A DBasicAliasAnalysis.h72 LLVM_ABI AliasResult alias(const MemoryLocation &LocA,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp47 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA, in alias() argument
50 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace(); in alias()
60 MemoryLocation A = LocA; 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
184 if (!LocA) in getMergedLocation()
185 return LocA; 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()
236 return LocA; in getMergedLocation()
244 if (!LocA || !LocB) in getMergedLocation()
245 return LocA ? LocA : LocB; in getMergedLocation()
247 auto A = std::make_tuple(LocA->getLine(), LocA->getColumn(), in getMergedLocation()
248 LocA->getDiscriminator(), LocA->getFilename(), in getMergedLocation()
249 LocA->getDirectory()); in getMergedLocation()
253 return A < B ? LocA : LocB; in getMergedLocation()
256 if (!LocA || !LocB) 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/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);
H A DDebugInfoMetadata.h2709 LLVM_ABI static DILocation *getMergedLocation(DILocation *LocA,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp1502 LocationSize LocA = (WidthA.isScalable() || !KnownWidthA) in MemOperandsHaveAlias() local
1510 MemoryLocation(ValA, LocA, UseTBAA ? MMOa->getAAInfo() : AAMDNodes()), in MemOperandsHaveAlias()

12