/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 254 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-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 371 Module &SrcM = LMResources->SourceModule->getResource(); in updatePointer() local 372 std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout()); in updatePointer() 390 Module &SrcM = *SrcMPtr; in addLogicalModule() local 394 const DataLayout &DL = SrcM.getDataLayout(); in addLogicalModule() 397 for (auto &F : SrcM) { in addLogicalModule() 442 if (SrcM.global_empty() && SrcM.alias_empty() && in addLogicalModule() 443 !SrcM.getModuleFlagsMetadata()) in addLogicalModule() 447 auto GVsM = std::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule() 448 SrcM.getContext()); in addLogicalModule() 454 for (auto &GV : SrcM.globals()) in addLogicalModule() [all …]
|
/external/llvm-project/llvm/lib/Linker/ |
D | LinkModules.cpp | 31 std::unique_ptr<Module> SrcM; member in __anon764066820111::ModuleLinker 60 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Error, Message)); in emitError() 109 ModuleLinker(IRMover &Mover, std::unique_ptr<Module> SrcM, unsigned Flags, in ModuleLinker() argument 112 : Mover(Mover), SrcM(std::move(SrcM)), Flags(Flags), 189 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind() 193 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 …]
|
D | IRMover.cpp | 380 std::unique_ptr<Module> SrcM; member in __anone663991f0211::IRLinker 443 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning() 516 IRMover::IdentifiedStructTypeSet &Set, std::unique_ptr<Module> SrcM, in IRLinker() argument 520 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker() 578 if (SGV->getParent() != &DstM && SGV->getParent() != SrcM.get()) in materialize() 748 for (GlobalValue &SGV : SrcM->globals()) { in computeTypeMapping() 764 for (GlobalValue &SGV : *SrcM) in computeTypeMapping() 778 for (GlobalValue &SGV : SrcM->aliases()) in computeTypeMapping() 786 std::vector<StructType *> Types = SrcM->getIdentifiedStructTypes(); in computeTypeMapping() 1117 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport() [all …]
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 31 std::unique_ptr<Module> SrcM; member in __anon13538f940111::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 …]
|
D | IRMover.cpp | 373 std::unique_ptr<Module> SrcM; member in __anon54f909310211::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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 31 std::unique_ptr<Module> SrcM; member in __anon797baef60111::ModuleLinker 60 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Error, Message)); in emitError() 109 ModuleLinker(IRMover &Mover, std::unique_ptr<Module> SrcM, unsigned Flags, in ModuleLinker() argument 112 : Mover(Mover), SrcM(std::move(SrcM)), Flags(Flags), 189 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind() 193 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 …]
|
D | IRMover.cpp | 384 std::unique_ptr<Module> SrcM; member in __anon7884c7930211::IRLinker 447 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning() 520 IRMover::IdentifiedStructTypeSet &Set, std::unique_ptr<Module> SrcM, in IRLinker() argument 524 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker() 745 for (GlobalValue &SGV : SrcM->globals()) { in computeTypeMapping() 761 for (GlobalValue &SGV : *SrcM) in computeTypeMapping() 775 for (GlobalValue &SGV : SrcM->aliases()) in computeTypeMapping() 783 std::vector<StructType *> Types = SrcM->getIdentifiedStructTypes(); in computeTypeMapping() 1114 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport() 1180 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes() [all …]
|