Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp321 Module *DstM, *SrcM; member in __anon362dfdd90211::ModuleLinker
348 : DstM(dstM), SrcM(srcM), Mode(mode) { } in ModuleLinker()
521 for (Module::global_iterator I = SrcM->global_begin(), in computeTypeMapping()
522 E = SrcM->global_end(); I != E; ++I) { in computeTypeMapping()
538 for (Module::iterator I = SrcM->begin(), E = SrcM->end(); I != E; ++I) { in computeTypeMapping()
791 for (Module::const_global_iterator I = SrcM->global_begin(), in linkGlobalInits()
792 E = SrcM->global_end(); I != E; ++I) { in linkGlobalInits()
848 for (Module::alias_iterator I = SrcM->alias_begin(), E = SrcM->alias_end(); in linkAliasBodies()
862 for (Module::const_named_metadata_iterator I = SrcM->named_metadata_begin(), in linkNamedMDNodes()
863 E = SrcM->named_metadata_end(); I != E; ++I) { in linkNamedMDNodes()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h254 Module &SrcM = LMResources.SourceModule->getResource(); in addLogicalModule() local
257 const DataLayout &DL = SrcM.getDataLayout(); in addLogicalModule()
260 for (auto &F : SrcM) { in addLogicalModule()
292 if (SrcM.global_empty() && SrcM.alias_empty()) in addLogicalModule()
296 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule()
297 SrcM.getContext()); in addLogicalModule()
303 for (auto &GV : SrcM.globals()) in addLogicalModule()
308 for (auto &A : SrcM.aliases()) in addLogicalModule()
345 for (auto &GV : SrcM.globals()) in addLogicalModule()
350 for (auto &A : SrcM.aliases()) { in addLogicalModule()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h341 Module &SrcM = LMResources->SourceModule->getResource(); in updatePointer() local
342 std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout()); in updatePointer()
365 Module &SrcM = *SrcMPtr; in addLogicalModule() local
369 const DataLayout &DL = SrcM.getDataLayout(); in addLogicalModule()
372 for (auto &F : SrcM) { in addLogicalModule()
417 if (SrcM.global_empty() && SrcM.alias_empty() && in addLogicalModule()
418 !SrcM.getModuleFlagsMetadata()) in addLogicalModule()
422 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule()
423 SrcM.getContext()); in addLogicalModule()
429 for (auto &GV : SrcM.globals()) in addLogicalModule()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp32 std::unique_ptr<Module> SrcM; member in __anon8fcb3be50111::ModuleLinker
61 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Error, Message)); in emitError()
110 ModuleLinker(IRMover &Mover, std::unique_ptr<Module> SrcM, unsigned Flags, in ModuleLinker() argument
113 : Mover(Mover), SrcM(std::move(SrcM)), Flags(Flags),
190 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
194 const DataLayout &SrcDL = SrcM->getDataLayout(); in computeResultingSelectionKind()
461 for (const auto &SMEC : SrcM->getComdatSymbolTable()) { in run()
501 for (GlobalVariable &GV : SrcM->globals()) in run()
506 for (Function &SF : *SrcM) in run()
511 for (GlobalAlias &GA : SrcM->aliases()) in run()
[all …]
DIRMover.cpp385 std::unique_ptr<Module> SrcM; member in __anon0e8d35020211::IRLinker
447 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning()
506 IRMover::IdentifiedStructTypeSet &Set, std::unique_ptr<Module> SrcM, in IRLinker() argument
510 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker()
706 for (GlobalValue &SGV : SrcM->globals()) { in computeTypeMapping()
722 for (GlobalValue &SGV : *SrcM) in computeTypeMapping()
726 for (GlobalValue &SGV : SrcM->aliases()) in computeTypeMapping()
734 std::vector<StructType *> Types = SrcM->getIdentifiedStructTypes(); in computeTypeMapping()
1045 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport()
1106 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes()
[all …]
/external/llvm/lib/Linker/
DLinkModules.cpp31 std::unique_ptr<Module> SrcM; member in __anonc41387ad0111::ModuleLinker
63 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Error, Message)); in emitError()
120 ModuleLinker(IRMover &Mover, std::unique_ptr<Module> SrcM, unsigned Flags, in ModuleLinker() argument
122 : Mover(Mover), SrcM(std::move(SrcM)), Flags(Flags), in ModuleLinker()
206 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
210 const DataLayout &SrcDL = SrcM->getDataLayout(); in computeResultingSelectionKind()
490 for (const auto &SMEC : SrcM->getComdatSymbolTable()) { in run()
530 for (GlobalVariable &GV : SrcM->globals()) in run()
535 for (Function &SF : *SrcM) in run()
540 for (GlobalAlias &GA : SrcM->aliases()) in run()
[all …]
DIRMover.cpp373 std::unique_ptr<Module> SrcM; member in __anonba36dcca0211::IRLinker
428 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning()
483 IRMover::IdentifiedStructTypeSet &Set, std::unique_ptr<Module> SrcM, in IRLinker() argument
486 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker()
664 for (GlobalValue &SGV : SrcM->globals()) { in computeTypeMapping()
680 for (GlobalValue &SGV : *SrcM) in computeTypeMapping()
684 for (GlobalValue &SGV : SrcM->aliases()) in computeTypeMapping()
692 std::vector<StructType *> Types = SrcM->getIdentifiedStructTypes(); in computeTypeMapping()
998 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes()
999 for (const NamedMDNode &NMD : SrcM->named_metadata()) { in linkNamedMDNodes()
[all …]