Home
last modified time | relevance | path

Searched refs:pointsToConstantMemory (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DObjCARCAliasAnalysis.cpp71 bool ObjCARCAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in ObjCARCAAResult
74 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
79 if (AAResultBase::pointsToConstantMemory( in pointsToConstantMemory()
87 return AAResultBase::pointsToConstantMemory( in pointsToConstantMemory()
H A DObjCARCAnalysisUtils.cpp35 if (AA.pointsToConstantMemory(Op)) in IsPotentialRetainableObjPtr()
40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
H A DAliasAnalysis.cpp162 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in AAResults
165 return pointsToConstantMemory(Loc, AAQIP, OrLocal); in pointsToConstantMemory()
168 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in AAResults
171 if (AA->pointsToConstantMemory(Loc, AAQI, OrLocal)) in pointsToConstantMemory()
278 if (isModSet(Result) && pointsToConstantMemory(Loc, AAQI, /*OrLocal*/ false)) in getModRefInfo()
520 if (pointsToConstantMemory(Loc, AAQI)) in getModRefInfo()
542 if (Loc.Ptr && pointsToConstantMemory(Loc, AAQI)) in getModRefInfo()
565 if (pointsToConstantMemory(Loc, AAQI)) in getModRefInfo()
589 if (pointsToConstantMemory(Loc, AAQI)) in getModRefInfo()
609 if (pointsToConstantMemory(Loc, AAQI)) in getModRefInfo()
H A DTypeBasedAliasAnalysis.cpp388 bool TypeBasedAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in TypeBasedAAResult
392 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
396 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
404 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
H A DBasicAliasAnalysis.cpp682 bool BasicAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in BasicAAResult
693 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
707 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
725 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
733 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
H A DMemoryDependenceAnalysis.cpp528 if (BatchAA.pointsToConstantMemory(LoadLoc)) in getSimplePointerDependencyFrom()
H A DMemorySSA.cpp399 AA.pointsToConstantMemory(MemoryLocation::get(LI)); in isUseTriviallyOptimizableToLiveOnEntry()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h595 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal = false);
599 bool pointsToConstantMemory(const Value *P, bool OrLocal = false) {
899 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
964 return AA.pointsToConstantMemory(Loc, AAQI, OrLocal);
1034 virtual bool pointsToConstantMemory(const MemoryLocation &Loc,
1093 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
1095 return Result.pointsToConstantMemory(Loc, AAQI, OrLocal);
1169 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
1171 return AAR ? AAR->pointsToConstantMemory(Loc, AAQI, OrLocal)
1172 : CurrentResult.pointsToConstantMemory(Loc, AAQI, OrLocal);
[all …]
H A DObjCARCAliasAnalysis.h57 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
H A DTypeBasedAliasAnalysis.h45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
H A DBasicAliasAnalysis.h81 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp127 bool AMDGPUAAResult::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() function in AMDGPUAAResult
149 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
176 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); in pointsToConstantMemory()
H A DAMDGPUAliasAnalysis.h43 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Daa-points-to-constant-memory.ll4 ; Test AA::pointsToConstantMemory implementation. These should mostly
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp194 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
211 AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
218 AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
224 if (AAR.pointsToConstantMemory(Loc, /*OrLocal=*/true)) in checkFunctionMemoryAccess()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp132 if (!AA->pointsToConstantMemory(MI->getSource())) in isOnlyCopiedFromConstantMemory()
1375 if (AA->pointsToConstantMemory(Ptr)) in visitStoreInst()
H A DInstCombineCalls.cpp138 if (AA->pointsToConstantMemory(MI->getDest())) { in SimplifyAnyMemTransfer()
255 if (AA->pointsToConstantMemory(MI->getDest())) { in SimplifyAnyMemSet()
/llvm-project-15.0.7/llvm/docs/
H A DAliasAnalysis.rst164 The ``pointsToConstantMemory`` method
167 The ``pointsToConstantMemory`` method returns true if and only if the analysis
H A DLangRef.rst6116 ``pointsToConstantMemory`` should return true; see `other useful
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp565 if (AA->pointsToConstantMemory(LI->getOperand(0)) || in isLoopInvariantValue()
H A DLICM.cpp1154 if (AA->pointsToConstantMemory(LI->getOperand(0))) in canSinkOrHoistInst()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1306 if (AA->pointsToConstantMemory( in translateLoad()
1652 AA->pointsToConstantMemory(MemoryLocation( in translateMemFunc()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4095 AA->pointsToConstantMemory(MemoryLocation( in visitLoad()
4207 !AA->pointsToConstantMemory(MemoryLocation( in visitLoadFromSwiftError()
4507 bool AddToChain = !AA || !AA->pointsToConstantMemory(ML); in visitMaskedLoad()
7408 AddToChain = !AA || !AA->pointsToConstantMemory(ML); in visitVPLoadGather()
7517 bool AddToChain = !AA || !AA->pointsToConstantMemory(ML); in visitVPStridedLoad()
7877 if (Builder.AA && Builder.AA->pointsToConstantMemory(PtrVal)) { in getMemCmpLoad()
H A DSelectionDAG.cpp6818 AA->pointsToConstantMemory(MemoryLocation(SrcVal, Size, AAInfo)); in getMemcpyLoadsAndStores()