Lines Matching defs:LD

383   Error addLogicalModule(LogicalDylib &LD, std::unique_ptr<Module> SrcMPtr) {
387 LD.PromoteSymbols(*SrcMPtr);
391 auto LMId = LD.addSourceModule(std::move(SrcMPtr));
405 if (auto Sym = LD.findSymbol(BaseLayer, MangledName, false))
413 LD.getStubsToClone(LMId).insert(&F);
418 auto CompileAction = [this, &LD, LMId, &F]() -> JITTargetAddress {
419 if (auto FnImplAddrOrErr = this->extractAndCompile(LD, LMId, F))
435 if (auto Err = LD.StubsMgr->createStubs(StubInits))
471 [&LD, &GVsM](Value *V) -> Value* {
484 LD.StubsMgr->findStub(FName, false).getAddress();
514 auto LegacyLookup = [this, &LD](const std::string &Name) -> JITSymbol {
515 if (auto Sym = LD.StubsMgr->findStub(Name, false))
518 if (auto Sym = LD.findSymbol(BaseLayer, Name, false))
527 [&LD, LegacyLookup](const SymbolNameSet &Symbols) {
545 LD.BackingResolver->getResponsibilitySet(NotFoundViaLegacyLookup);
552 [this, &LD,
557 return LD.BackingResolver->lookup(Query, NotFoundViaLegacyLookup);
560 SetSymbolResolver(LD.K, std::move(GVsResolver));
562 if (auto Err = BaseLayer.addModule(LD.K, std::move(GVsM)))
565 LD.BaseLayerVModuleKeys.push_back(LD.K);
580 extractAndCompile(LogicalDylib &LD,
583 Module &SrcM = LD.getSourceModule(LMId);
594 if (auto PartKeyOrErr = emitPartition(LD, LMId, Part)) {
608 if (auto EC = LD.StubsMgr->updatePointer(FnName, FnBodyAddr))
619 LD.BaseLayerVModuleKeys.push_back(PartKey);
628 emitPartition(LogicalDylib &LD,
631 Module &SrcM = LD.getSourceModule(LMId);
644 auto Materializer = createLambdaMaterializer([&LD, &LMId,
651 if (!LD.getStubsToClone(LMId).count(F))
691 auto LegacyLookup = [this, &LD](const std::string &Name) -> JITSymbol {
692 return LD.findSymbol(BaseLayer, Name, false);
697 [&LD, LegacyLookup](const SymbolNameSet &Symbols) {
715 LD.BackingResolver->getResponsibilitySet(NotFoundViaLegacyLookup);
722 [this, &LD, LegacyLookup](std::shared_ptr<AsynchronousSymbolQuery> Q,
726 return LD.BackingResolver->lookup(Q,