Lines Matching refs:SrcM
389 std::unique_ptr<Module> SrcM; member in __anon8299d39e0211::IRLinker
456 SrcM->getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning()
540 IRMover::IdentifiedStructTypeSet &Set, std::unique_ptr<Module> SrcM, in IRLinker() argument
543 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker()
601 if (SGV->getParent() != &DstM && SGV->getParent() != SrcM.get()) in materialize()
789 for (GlobalValue &SGV : SrcM->globals()) { in computeTypeMapping()
805 for (GlobalValue &SGV : *SrcM) in computeTypeMapping()
819 for (GlobalValue &SGV : SrcM->aliases()) in computeTypeMapping()
827 std::vector<StructType *> Types = SrcM->getIdentifiedStructTypes(); in computeTypeMapping()
1187 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport()
1220 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes()
1221 for (const NamedMDNode &NMD : SrcM->named_metadata()) { in linkNamedMDNodes()
1230 SrcM->getModuleIdentifier() + in linkNamedMDNodes()
1251 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata()
1256 UpgradeModuleFlags(*SrcM); in linkModuleFlagsMetadata()
1339 SrcM->getModuleIdentifier() + "' and '" + in linkModuleFlagsMetadata()
1361 SrcM->getModuleIdentifier() + "' and '" + in linkModuleFlagsMetadata()
1390 << "' from " << SrcM->getModuleIdentifier() << " with '" in linkModuleFlagsMetadata()
1444 SrcM->getModuleIdentifier() + "' and '" + in linkModuleFlagsMetadata()
1544 if (SrcM->getMaterializer()) in run()
1545 if (Error Err = SrcM->getMaterializer()->materializeMetadata()) in run()
1548 DstM.IsNewDbgInfoFormat = SrcM->IsNewDbgInfoFormat; in run()
1553 DstM.setDataLayout(SrcM->getDataLayout()); in run()
1556 if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty()) in run()
1557 DstM.setTargetTriple(SrcM->getTargetTriple()); in run()
1559 Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM.getTargetTriple()); in run()
1569 std::string ModuleId = SrcM->getModuleIdentifier(); in run()
1574 (SrcM->getDataLayoutStr().empty() || in run()
1575 SrcM->getDataLayoutStr() == "e-i64:64-v16:16-v32:32-n16:32:64"); in run()
1587 if (EnableDLWarning && (SrcM->getDataLayout() != DstM.getDataLayout())) { in run()
1589 SrcM->getModuleIdentifier() + "' is '" + in run()
1590 SrcM->getDataLayoutStr() + "' whereas '" + in run()
1595 if (EnableTripleWarning && !SrcM->getTargetTriple().empty() && in run()
1598 SrcM->getModuleIdentifier() + "' is '" + in run()
1599 SrcM->getTargetTriple() + "' whereas '" + in run()
1642 if (!IsPerformingImport && !SrcM->getModuleInlineAsm().empty()) { in run()
1644 DstM.appendModuleInlineAsm(adjustInlineAsm(SrcM->getModuleInlineAsm(), in run()
1648 ModuleSymbolTable::CollectAsmSymvers(*SrcM, in run()
1662 for (GlobalVariable &GV : SrcM->globals()) { in run()