Home
last modified time | relevance | path

Searched refs:InfoCache (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/unittests/Transforms/IPO/
DAttributorTest.cpp42 InformationCache InfoCache(M, AG, Allocator, nullptr); in TEST_F() local
43 Attributor A(Functions, InfoCache, CGUpdater); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp938 InfoCache.getOpcodeInstMapForFunction(*AssociatedFunction); in checkForAllInstructions()
960 InfoCache.getReadOrWriteInstsForFunction(*AssociatedFunction)) { in checkForAllReadWriteInstructions()
1587 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(*Fn); in isValidFunctionSignatureRewrite()
1955 InformationCache::FunctionInfo &FI = InfoCache.getFunctionInfo(F); in identifyDefaultAbstractAttributes()
2146 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(F); in identifyDefaultAbstractAttributes()
2275 static bool runAttributorOnFunctions(InformationCache &InfoCache, in runAttributorOnFunctions() argument
2287 Attributor A(Functions, InfoCache, CGUpdater); in runAttributorOnFunctions()
2389 InformationCache InfoCache(M, AG, Allocator, /* CGSCC */ nullptr); in run() local
2390 if (runAttributorOnFunctions(InfoCache, Functions, AG, CGUpdater)) { in run()
2416 InformationCache InfoCache(M, AG, Allocator, /* CGSCC */ &Functions); in run() local
[all …]
DOpenMPOpt.cpp2144 OMPInformationCache InfoCache(*(Functions.back()->getParent()), AG, Allocator, in run() local
2147 Attributor A(Functions, InfoCache, CGUpdater); in run()
2149 OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A); in run()
2219 OMPInformationCache InfoCache( in runOnSCC() local
2223 Attributor A(Functions, InfoCache, CGUpdater); in runOnSCC()
2225 OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A); in runOnSCC()
DAttributorAttributes.cpp1750 InformationCache &InfoCache = A.getInfoCache(); in updateImpl() local
1752 DT = InfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>(*Fn); in updateImpl()
1753 AC = InfoCache.getAnalysisResultForFunction<AssumptionAnalysis>(*Fn); in updateImpl()
7920 InformationCache &InfoCache = A.getInfoCache(); in followUseInMBEC() local
7922 DT = InfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>(*F); in followUseInMBEC()
7923 AC = InfoCache.getAnalysisResultForFunction<AssumptionAnalysis>(*F); in followUseInMBEC()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h693 Attributor(InformationCache &InfoCache, unsigned DepRecomputeInterval,
695 : InfoCache(InfoCache), DepRecomputeInterval(DepRecomputeInterval),
777 InformationCache &getInfoCache() { return InfoCache; }
1047 const DataLayout &getDataLayout() const { return InfoCache.DL; }
1165 InformationCache &InfoCache;
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DAttributor.h1018 Attributor(SetVector<Function *> &Functions, InformationCache &InfoCache,
1021 : Allocator(InfoCache.Allocator), Functions(Functions),
1022 InfoCache(InfoCache), CGUpdater(CGUpdater), Allowed(Allowed) {}
1233 InformationCache &getInfoCache() { return InfoCache; }
1263 return F.hasExactDefinition() || InfoCache.InlineableFunctions.count(&F);
1554 const DataLayout &getDataLayout() const { return InfoCache.DL; }
1626 InformationCache &InfoCache;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp1863 InformationCache &InfoCache = A.getInfoCache(); in updateImpl() local
1865 DT = InfoCache.getAnalysisResultForFunction<DominatorTreeAnalysis>(*Fn); in updateImpl()
5801 InfoCache.getOpcodeInstMapForFunction(*AssociatedFunction); in checkForAllInstructions()
5829 InfoCache.getReadOrWriteInstsForFunction(*AssociatedFunction)) { in checkForAllReadWriteInstructions()
6220 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(*Fn); in registerFunctionSignatureRewrite()
6429 auto &ReadOrWriteInsts = InfoCache.FuncRWInstsMap[&F]; in initializeInformationCache()
6430 auto &InstOpcodeMap = InfoCache.FuncInstOpcodeMap[&F]; in initializeInformationCache()
6646 auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(F); in identifyDefaultAbstractAttributes()
6752 InformationCache InfoCache(M, AG); in runAttributorOnModule() local
6753 Attributor A(InfoCache, DepRecInterval); in runAttributorOnModule()