Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h34 SetVector<GlobalValue *> *GlobalsToImport; variable
76 bool isPerformingImport() const { return GlobalsToImport != nullptr; } in isPerformingImport()
102 SetVector<GlobalValue *> *GlobalsToImport, in FunctionImportGlobalProcessing() argument
104 : M(M), ImportIndex(Index), GlobalsToImport(GlobalsToImport), in FunctionImportGlobalProcessing()
110 if (!GlobalsToImport) in FunctionImportGlobalProcessing()
131 SetVector<GlobalValue *> *GlobalsToImport = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp35 if (!GlobalsToImport->count(const_cast<GlobalValue *>(SGV))) in doImportAsDefinition()
61 assert((!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)) || in shouldPromoteLocalToGlobal()
357 SetVector<GlobalValue *> *GlobalsToImport) { in renameModuleForThinLTO() argument
358 FunctionImportGlobalProcessing ThinLTOProcessing(M, Index, GlobalsToImport, in renameModuleForThinLTO()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1743 SetVector<GlobalValue *> GlobalsToImport; in importFunctions() local
1780 GlobalsToImport.insert(&F); in importFunctions()
1803 ImportedGVCount += GlobalsToImport.insert(&GV); in importFunctions()
1848 GlobalsToImport.insert(Fn); in importFunctions()
1864 &GlobalsToImport)) in importFunctions()
1868 for (const auto *GV : GlobalsToImport) in importFunctions()
1874 GlobalsToImport.getArrayRef(), nullptr, in importFunctions()
1880 ImportedCount += GlobalsToImport.size(); in importFunctions()