Lines Matching refs:SrcM

377   Module &SrcM;  member in __anonba36dcca0211::IRLinker
436 SrcM.getContext().diagnose(LinkDiagnosticInfo(DS_Error, Message)); in emitError()
442 SrcM.getContext().diagnose(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning()
509 IRLinker(Module &DstM, IRMover::IdentifiedStructTypeSet &Set, Module &SrcM, in IRLinker() argument
514 : DstM(DstM), SrcM(SrcM), AddLazyFor(AddLazyFor), TypeMap(Set), in IRLinker()
767 for (GlobalValue &SGV : SrcM.globals()) { in computeTypeMapping()
783 for (GlobalValue &SGV : SrcM) in computeTypeMapping()
787 for (GlobalValue &SGV : SrcM.aliases()) in computeTypeMapping()
795 std::vector<StructType *> Types = SrcM.getIdentifiedStructTypes(); in computeTypeMapping()
1114 SrcM.getMaterializer()->saveMDValueList(MDValueToValIDMap, true); in linkFunctionBody()
1190 NamedMDNode *CompileUnits = SrcM.getNamedMetadata("llvm.dbg.cu"); in findNeededSubprograms()
1251 const NamedMDNode *SrcModFlags = SrcM.getModuleFlagsMetadata(); in linkNamedMDNodes()
1252 for (const NamedMDNode &NMD : SrcM.named_metadata()) { in linkNamedMDNodes()
1269 const NamedMDNode *SrcModFlags = SrcM.getModuleFlagsMetadata(); in linkModuleFlagsMetadata()
1450 DstM.setDataLayout(SrcM.getDataLayout()); in run()
1452 if (SrcM.getDataLayout() != DstM.getDataLayout()) { in run()
1454 SrcM.getModuleIdentifier() + "' is '" + in run()
1455 SrcM.getDataLayoutStr() + "' whereas '" + in run()
1461 if (DstM.getTargetTriple().empty() && !SrcM.getTargetTriple().empty()) in run()
1462 DstM.setTargetTriple(SrcM.getTargetTriple()); in run()
1464 Triple SrcTriple(SrcM.getTargetTriple()), DstTriple(DstM.getTargetTriple()); in run()
1466 if (!SrcM.getTargetTriple().empty() && !triplesMatch(SrcTriple, DstTriple)) in run()
1468 SrcM.getModuleIdentifier() + "' is '" + SrcM.getTargetTriple() + in run()
1475 if (!SrcM.getModuleInlineAsm().empty()) { in run()
1477 DstM.setModuleInlineAsm(SrcM.getModuleInlineAsm()); in run()
1480 SrcM.getModuleInlineAsm()); in run()
1515 if (SrcM.getMaterializer()->materializeMetadata()) in run()
1517 SrcM.getMaterializer()->saveMDValueList(MDValueToValIDMap, false); in run()