• Home
  • Raw
  • Download

Lines Matching refs:SrcM

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()
1013 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata()
1185 if (SrcM->getMaterializer()) in run()
1186 if (std::error_code EC = SrcM->getMaterializer()->materializeMetadata()) in run()
1192 DstM.setDataLayout(SrcM->getDataLayout()); in run()
1194 if (SrcM->getDataLayout() != DstM.getDataLayout()) { in run()
1196 SrcM->getModuleIdentifier() + "' is '" + in run()
1197 SrcM->getDataLayoutStr() + "' whereas '" + in run()
1203 if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty()) in run()
1204 DstM.setTargetTriple(SrcM->getTargetTriple()); in run()
1206 Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM.getTargetTriple()); in run()
1208 if (!SrcM->getTargetTriple().empty() && !triplesMatch(SrcTriple, DstTriple)) in run()
1210 SrcM->getModuleIdentifier() + "' is '" + in run()
1211 SrcM->getTargetTriple() + "' whereas '" + in run()
1218 if (!SrcM->getModuleInlineAsm().empty()) { in run()
1220 DstM.setModuleInlineAsm(SrcM->getModuleInlineAsm()); in run()
1223 SrcM->getModuleInlineAsm()); in run()