Lines Matching refs:SrcM
220 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in addLogicalModule() local
223 const DataLayout &DL = SrcM.getDataLayout(); in addLogicalModule()
224 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule()
225 SrcM.getContext()); in addLogicalModule()
232 for (auto &F : SrcM) { in addLogicalModule()
262 for (auto &GV : SrcM.globals()) in addLogicalModule()
267 for (auto &A : SrcM.aliases()) in addLogicalModule()
304 for (auto &GV : SrcM.globals()) in addLogicalModule()
309 for (auto &A : SrcM.aliases()) { in addLogicalModule()
351 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in extractAndCompile() local
358 std::string CalledFnName = mangle(F.getName(), SrcM.getDataLayout()); in extractAndCompile()
365 std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout()); in extractAndCompile()
389 Module &SrcM = LMResources.SourceModuleOwner->getModule(); in emitPartition() local
392 std::string NewName = SrcM.getName(); in emitPartition()
398 auto M = llvm::make_unique<Module>(NewName, SrcM.getContext()); in emitPartition()
399 M->setDataLayout(SrcM.getDataLayout()); in emitPartition()