Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp321 Module *DstM, *SrcM; member in __anonfa0c25d80211::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/llvm/lib/Linker/
DLinkModules.cpp31 std::unique_ptr<Module> SrcM; member in __anonb52902ac0111::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 __anon2ba0b0490211::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 …]