| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 405 auto &InfoCache = static_cast<AMDGPUInformationCache &>(A.getInfoCache()); in updateImpl() local 406 bool HasApertureRegs = InfoCache.hasApertureRegs(*F); in updateImpl() 407 bool SupportsGetDoorbellID = InfoCache.supportsGetDoorbellID(*F); in updateImpl() 501 auto &InfoCache = static_cast<AMDGPUInformationCache &>(A.getInfoCache()); in checkForQueuePtr() local 514 bool HasApertureRegs = InfoCache.hasApertureRegs(*F); in checkForQueuePtr() 538 if (InfoCache.needsQueuePtr(C, *F)) in checkForQueuePtr() 632 auto &InfoCache = static_cast<AMDGPUInformationCache &>(A.getInfoCache()); in initialize() local 671 auto &InfoCache = static_cast<AMDGPUInformationCache &>(A.getInfoCache()); in manifest() local 673 std::tie(Min, Max) = InfoCache.getMaximumFlatWorkGroupRange(*F); in manifest() 759 AMDGPUInformationCache InfoCache(M, AG, Allocator, nullptr, *TM); in runOnModule() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/IPO/ |
| H A D | AttributorTest.cpp | 59 InformationCache InfoCache(M, AG, Allocator, nullptr); in TEST_F() local 61 Attributor A(Functions, InfoCache, AC); in TEST_F() 153 InformationCache InfoCache(M, AG, Allocator, nullptr); in TEST_F() local 156 Attributor A(Functions, InfoCache, AC); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 248 InformationCache &InfoCache) { in isValidAtPosition() argument 1651 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(*Fn); in checkForAllInstructions() 2475 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(*Fn); in isValidFunctionSignatureRewrite() 2887 InformationCache::FunctionInfo &FI = InfoCache.getFunctionInfo(F); in identifyDefaultAbstractAttributes() 3094 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(F); in identifyDefaultAbstractAttributes() 3270 static bool runAttributorOnFunctions(InformationCache &InfoCache, in runAttributorOnFunctions() argument 3290 Attributor A(Functions, InfoCache, AC); in runAttributorOnFunctions() 3393 InformationCache InfoCache(M, AG, Allocator, /* CGSCC */ nullptr); in run() local 3394 if (runAttributorOnFunctions(InfoCache, Functions, AG, CGUpdater, in run() 3422 if (runAttributorOnFunctions(InfoCache, Functions, AG, CGUpdater, in run() [all …]
|
| H A D | OpenMPOpt.cpp | 5003 OMPInformationCache InfoCache(M, AG, Allocator, /*CGSCC*/ Functions, Kernels); in run() local 5015 Attributor A(Functions, InfoCache, AC); in run() 5017 OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A); in run() 5076 OMPInformationCache InfoCache(*(Functions.back()->getParent()), AG, Allocator, in run() local 5090 Attributor A(Functions, InfoCache, AC); in run() 5092 OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A); in run() 5154 OMPInformationCache InfoCache(*(Functions.back()->getParent()), AG, in runOnSCC() local 5169 Attributor A(Functions, InfoCache, AC); in runOnSCC() 5171 OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A); in runOnSCC()
|
| H A D | AttributorAttributes.cpp | 1010 InformationCache &InfoCache = A.getInfoCache(); in forallInterferingAccesses() local 1012 InfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>(Scope); in forallInterferingAccesses() 2349 InformationCache &InfoCache = A.getInfoCache(); in updateImpl() local 2352 AC = InfoCache.getAnalysisResultForFunction<AssumptionAnalysis>(*Fn); in updateImpl() 8140 InformationCache &InfoCache = A.getInfoCache(); in isValidCtxInstructionForOutsideAnalysis() local 8142 InfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>( in isValidCtxInstructionForOutsideAnalysis() 9210 InformationCache &InfoCache = A.getInfoCache(); in followUseInMBEC() local 9213 AC = InfoCache.getAnalysisResultForFunction<AssumptionAnalysis>(*F); in followUseInMBEC() 10130 InformationCache &InfoCache = A.getInfoCache(); in handleLoadInst() local 10131 if (InfoCache.isOnlyUsedByAssume(LI)) { in handleLoadInst() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 193 bool isValidAtPosition(const ValueAndContext &VAC, InformationCache &InfoCache); 1324 Attributor(SetVector<Function *> &Functions, InformationCache &InfoCache, 1326 : Allocator(InfoCache.Allocator), Functions(Functions), 1327 InfoCache(InfoCache), Configuration(Configuration) {} 1551 InformationCache &getInfoCache() { return InfoCache; } 1578 return F.hasExactDefinition() || InfoCache.InlineableFunctions.count(&F); 2092 const DataLayout &getDataLayout() const { return InfoCache.DL; } 2155 InformationCache &InfoCache;
|