Home | History | Annotate | Download | only in Orc

Lines Matching refs:SrcM

281         Module &SrcM = LMResources->SourceModule->getResource();
282 std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout());
301 // Bump the linkage and rename any anonymous/privote members in SrcM to
302 // ensure that everything will resolve properly after we partition SrcM.
305 // Create a logical module handle for SrcM within the logical dylib.
306 Module &SrcM = *SrcMPtr;
310 const DataLayout &DL = SrcM.getDataLayout();
313 for (auto &F : SrcM) {
350 if (SrcM.global_empty() && SrcM.alias_empty() &&
351 !SrcM.getModuleFlagsMetadata())
355 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(),
356 SrcM.getContext());
362 for (auto &GV : SrcM.globals())
367 for (auto &A : SrcM.aliases())
372 cloneModuleFlagsMetadata(*GVsM, SrcM, VMap);
407 for (auto &GV : SrcM.globals())
412 for (auto &A : SrcM.aliases()) {
451 Module &SrcM = LD.getSourceModule(LMId);
458 std::string CalledFnName = mangle(F.getName(), SrcM.getDataLayout());
465 std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout());
489 Module &SrcM = LD.getSourceModule(LMId);
492 std::string NewName = SrcM.getName();
498 auto M = llvm::make_unique<Module>(NewName, SrcM.getContext());
499 M->setDataLayout(SrcM.getDataLayout());