| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ObjCARCAliasAnalysis.cpp | 71 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 D | ObjCARCAnalysisUtils.cpp | 35 if (AA.pointsToConstantMemory(Op)) in IsPotentialRetainableObjPtr() 40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
|
| H A D | AliasAnalysis.cpp | 162 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 D | TypeBasedAliasAnalysis.cpp | 388 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 D | BasicAliasAnalysis.cpp | 682 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 D | MemoryDependenceAnalysis.cpp | 528 if (BatchAA.pointsToConstantMemory(LoadLoc)) in getSimplePointerDependencyFrom()
|
| H A D | MemorySSA.cpp | 399 AA.pointsToConstantMemory(MemoryLocation::get(LI)); in isUseTriviallyOptimizableToLiveOnEntry()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 595 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 D | ObjCARCAliasAnalysis.h | 57 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
|
| H A D | TypeBasedAliasAnalysis.h | 45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
|
| H A D | BasicAliasAnalysis.h | 81 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAliasAnalysis.cpp | 127 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 D | AMDGPUAliasAnalysis.h | 43 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | aa-points-to-constant-memory.ll | 4 ; Test AA::pointsToConstantMemory implementation. These should mostly
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 194 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 D | InstCombineLoadStoreAlloca.cpp | 132 if (!AA->pointsToConstantMemory(MI->getSource())) in isOnlyCopiedFromConstantMemory() 1375 if (AA->pointsToConstantMemory(Ptr)) in visitStoreInst()
|
| H A D | InstCombineCalls.cpp | 138 if (AA->pointsToConstantMemory(MI->getDest())) { in SimplifyAnyMemTransfer() 255 if (AA->pointsToConstantMemory(MI->getDest())) { in SimplifyAnyMemSet()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | AliasAnalysis.rst | 164 The ``pointsToConstantMemory`` method 167 The ``pointsToConstantMemory`` method returns true if and only if the analysis
|
| H A D | LangRef.rst | 6116 ``pointsToConstantMemory`` should return true; see `other useful
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 565 if (AA->pointsToConstantMemory(LI->getOperand(0)) || in isLoopInvariantValue()
|
| H A D | LICM.cpp | 1154 if (AA->pointsToConstantMemory(LI->getOperand(0))) in canSinkOrHoistInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1306 if (AA->pointsToConstantMemory( in translateLoad() 1652 AA->pointsToConstantMemory(MemoryLocation( in translateMemFunc()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 4095 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 D | SelectionDAG.cpp | 6818 AA->pointsToConstantMemory(MemoryLocation(SrcVal, Size, AAInfo)); in getMemcpyLoadsAndStores()
|