Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h35 DenseSet<const GlobalValue *> *GlobalsToImport; variable
48 bool isPerformingImport() const { return GlobalsToImport != nullptr; } in isPerformingImport()
75 DenseSet<const GlobalValue *> *GlobalsToImport = nullptr)
76 : M(M), ImportIndex(Index), GlobalsToImport(GlobalsToImport) { in M()
81 if (!GlobalsToImport) in M()
89 DenseSet<const GlobalValue *> *GlobalsToImport);
96 DenseSet<const GlobalValue *> *GlobalsToImport = nullptr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h35 SetVector<GlobalValue *> *GlobalsToImport; variable
59 bool isPerformingImport() const { return GlobalsToImport != nullptr; } in isPerformingImport()
88 SetVector<GlobalValue *> *GlobalsToImport = nullptr)
89 : M(M), ImportIndex(Index), GlobalsToImport(GlobalsToImport) { in M()
94 if (!GlobalsToImport) in M()
108 SetVector<GlobalValue *> *GlobalsToImport);
115 SetVector<GlobalValue *> *GlobalsToImport = nullptr);
/external/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp24 const GlobalValue *SGV, DenseSet<const GlobalValue *> *GlobalsToImport) { in doImportAsDefinition() argument
34 GO, GlobalsToImport); in doImportAsDefinition()
37 if (GlobalsToImport->count(SGV)) in doImportAsDefinition()
48 GlobalsToImport); in doImportAsDefinition()
240 DenseSet<const GlobalValue *> *GlobalsToImport) { in renameModuleForThinLTO() argument
241 FunctionImportGlobalProcessing ThinLTOProcessing(M, Index, GlobalsToImport); in renameModuleForThinLTO()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp22 const GlobalValue *SGV, SetVector<GlobalValue *> *GlobalsToImport) { in doImportAsDefinition() argument
25 if (!GlobalsToImport->count(const_cast<GlobalValue *>(SGV))) in doImportAsDefinition()
40 GlobalsToImport); in doImportAsDefinition()
52 assert((!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)) || in shouldPromoteLocalToGlobal()
259 SetVector<GlobalValue *> *GlobalsToImport) { in renameModuleForThinLTO() argument
260 FunctionImportGlobalProcessing ThinLTOProcessing(M, Index, GlobalsToImport); in renameModuleForThinLTO()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp593 DenseSet<const GlobalValue *> GlobalsToImport; in importFunctions() local
613 GlobalsToImport.insert(&F); in importFunctions()
626 GlobalsToImport.insert(&GV); in importFunctions()
646 if (!GlobalsToImport.count(GO)) in importFunctions()
652 GlobalsToImport.insert(GO); in importFunctions()
654 GlobalsToImport.insert(&GA); in importFunctions()
659 if (renameModuleForThinLTO(*SrcModule, Index, &GlobalsToImport)) in importFunctions()
663 for (const auto *GV : GlobalsToImport) in importFunctions()
673 if (TheLinker.linkInModule(std::move(SrcModule), Flags, &GlobalsToImport)) in importFunctions()
676 ImportedCount += GlobalsToImport.size(); in importFunctions()
/external/llvm/lib/Linker/
DLinkModules.cpp41 DenseSet<const GlobalValue *> *GlobalsToImport; member in __anon778cbbf60111::ModuleLinker
113 bool isPerformingImport() const { return GlobalsToImport != nullptr; } in isPerformingImport()
121 DenseSet<const GlobalValue *> *GlobalsToImport = nullptr) in ModuleLinker() argument
123 GlobalsToImport(GlobalsToImport) {} in ModuleLinker()
133 GlobalsToImport); in doImportAsDefinition()
277 LinkFromSrc = GlobalsToImport->count(&Src); in shouldLinkFromSource()
605 DenseSet<const GlobalValue *> *GlobalsToImport) { in linkInModule() argument
606 ModuleLinker ModLinker(Mover, std::move(Src), Flags, GlobalsToImport); in linkInModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp929 SetVector<GlobalValue *> GlobalsToImport; in importFunctions() local
949 GlobalsToImport.insert(&F); in importFunctions()
963 ImportedGVCount += GlobalsToImport.insert(&GV); in importFunctions()
993 GlobalsToImport.insert(Fn); in importFunctions()
1002 if (renameModuleForThinLTO(*SrcModule, Index, &GlobalsToImport)) in importFunctions()
1006 for (const auto *GV : GlobalsToImport) in importFunctions()
1011 if (Mover.move(std::move(SrcModule), GlobalsToImport.getArrayRef(), in importFunctions()
1016 ImportedCount += GlobalsToImport.size(); in importFunctions()
/external/llvm/tools/llvm-link/
Dllvm-link.cpp266 auto &GlobalsToImport = GlobalsToImportPerModule.second; in importFunctions() local
277 if (renameModuleForThinLTO(*SrcModule, *Index, &GlobalsToImport)) in importFunctions()
283 if (L.linkInModule(std::move(SrcModule), Flags, &GlobalsToImport)) in importFunctions()
/external/llvm/include/llvm/Linker/
DLinker.h50 DenseSet<const GlobalValue *> *GlobalsToImport = nullptr);