Home | History | Annotate | Download | only in Orc

Lines Matching refs:LD

229     auto &LD = LogicalDylibs.back();
230 LD.ExternalSymbolResolver = std::move(Resolver);
231 LD.StubsMgr = CreateIndirectStubsManager();
234 if (auto Err = addLogicalModule(LD, std::move(M)))
306 Error addLogicalModule(LogicalDylib &LD, std::shared_ptr<Module> SrcMPtr) {
311 LD.StaticRenamer.rename(*SrcMPtr);
319 auto LMId = LD.addSourceModule(std::move(SrcMPtr));
333 if (auto Sym = LD.findSymbol(BaseLayer, MangledName, false))
341 LD.getStubsToClone(LMId).insert(&F);
351 CCInfo.setCompileAction([this, &LD, LMId, &F]() -> JITTargetAddress {
352 if (auto FnImplAddrOrErr = this->extractAndCompile(LD, LMId, F))
364 if (auto Err = LD.StubsMgr->createStubs(StubInits))
401 [&LD, &GVsM, &MaterializerErrors](Value *V) -> Value* {
418 if (auto StubSym = LD.StubsMgr->findStub(FName, false)) {
458 [this, &LD](const std::string &Name) -> JITSymbol {
459 if (auto Sym = LD.StubsMgr->findStub(Name, false))
461 if (auto Sym = LD.findSymbol(BaseLayer, Name, false))
465 return LD.ExternalSymbolResolver->findSymbolInLogicalDylib(Name);
467 [&LD](const std::string &Name) {
468 return LD.ExternalSymbolResolver->findSymbol(Name);
473 LD.BaseLayerHandles.push_back(*GVsHOrErr);
490 extractAndCompile(LogicalDylib &LD,
493 Module &SrcM = LD.getSourceModule(LMId);
504 if (auto PartHOrErr = emitPartition(LD, LMId, Part)) {
518 if (auto EC = LD.StubsMgr->updatePointer(FnName, FnBodyAddr))
529 LD.BaseLayerHandles.push_back(PartH);
538 emitPartition(LogicalDylib &LD,
541 Module &SrcM = LD.getSourceModule(LMId);
554 auto Materializer = createLambdaMaterializer([&LD, &LMId,
561 if (!LD.getStubsToClone(LMId).count(F))
601 [this, &LD](const std::string &Name) -> JITSymbol {
602 if (auto Sym = LD.findSymbol(BaseLayer, Name, false))
606 return LD.ExternalSymbolResolver->findSymbolInLogicalDylib(Name);
608 [&LD](const std::string &Name) {
609 return LD.ExternalSymbolResolver->findSymbol(Name);