Home
last modified time | relevance | path

Searched refs:GlobalsToImport (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h34 SetVector<GlobalValue *> *GlobalsToImport; variable
63 bool isPerformingImport() const { return GlobalsToImport != nullptr; } in isPerformingImport()
90 SetVector<GlobalValue *> *GlobalsToImport = nullptr)
91 : M(M), ImportIndex(Index), GlobalsToImport(GlobalsToImport) { in M()
96 if (!GlobalsToImport) in M()
114 SetVector<GlobalValue *> *GlobalsToImport = nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp27 if (!GlobalsToImport->count(const_cast<GlobalValue *>(SGV))) in doImportAsDefinition()
46 assert((!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)) || in shouldPromoteLocalToGlobal()
322 SetVector<GlobalValue *> *GlobalsToImport) { in renameModuleForThinLTO() argument
323 FunctionImportGlobalProcessing ThinLTOProcessing(M, Index, GlobalsToImport); in renameModuleForThinLTO()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp1145 SetVector<GlobalValue *> GlobalsToImport; in importFunctions() local
1165 GlobalsToImport.insert(&F); in importFunctions()
1179 ImportedGVCount += GlobalsToImport.insert(&GV); in importFunctions()
1209 GlobalsToImport.insert(Fn); in importFunctions()
1218 if (renameModuleForThinLTO(*SrcModule, Index, &GlobalsToImport)) in importFunctions()
1222 for (const auto *GV : GlobalsToImport) in importFunctions()
1227 if (Mover.move(std::move(SrcModule), GlobalsToImport.getArrayRef(), in importFunctions()
1232 ImportedCount += GlobalsToImport.size(); in importFunctions()