| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
| H A D | KaleidoscopeJIT.h | 42 std::unique_ptr<ExecutionSession> ES; 61 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES, in KaleidoscopeJIT() argument 64 : ES(std::move(ES)), EPCIU(std::move(EPCIU)), DL(std::move(DL)), in KaleidoscopeJIT() 65 Mangle(*this->ES, this->DL), in KaleidoscopeJIT() 66 ObjectLayer(*this->ES, in KaleidoscopeJIT() 68 CompileLayer(*this->ES, ObjectLayer, 70 OptimizeLayer(*this->ES, CompileLayer, optimizeModule), 71 CODLayer(*this->ES, OptimizeLayer, 74 MainJD(this->ES->createBareJITDylib("<main>")) { 81 if (auto Err = ES->endSession()) in ~KaleidoscopeJIT() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/include/ |
| H A D | KaleidoscopeJIT.h | 35 std::unique_ptr<ExecutionSession> ES; 46 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES, in KaleidoscopeJIT() argument 48 : ES(std::move(ES)), DL(std::move(DL)), Mangle(*this->ES, this->DL), in KaleidoscopeJIT() 49 ObjectLayer(*this->ES, in KaleidoscopeJIT() 51 CompileLayer(*this->ES, ObjectLayer, 53 MainJD(this->ES->createBareJITDylib("<main>")) { 64 if (auto Err = ES->endSession()) in ~KaleidoscopeJIT() 65 ES->reportError(std::move(Err)); in ~KaleidoscopeJIT() 73 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create() local 76 ES->getExecutorProcessControl().getTargetTriple()); in Create() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
| H A D | KaleidoscopeJIT.h | 35 std::unique_ptr<ExecutionSession> ES; 46 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES, in KaleidoscopeJIT() argument 48 : ES(std::move(ES)), DL(std::move(DL)), Mangle(*this->ES, this->DL), in KaleidoscopeJIT() 49 ObjectLayer(*this->ES, in KaleidoscopeJIT() 51 CompileLayer(*this->ES, ObjectLayer, 53 MainJD(this->ES->createBareJITDylib("<main>")) { 60 if (auto Err = ES->endSession()) in ~KaleidoscopeJIT() 61 ES->reportError(std::move(Err)); in ~KaleidoscopeJIT() 69 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create() local 72 ES->getExecutorProcessControl().getTargetTriple()); in Create() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
| H A D | KaleidoscopeJIT.h | 40 std::unique_ptr<ExecutionSession> ES; 52 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES, in KaleidoscopeJIT() argument 54 : ES(std::move(ES)), DL(std::move(DL)), Mangle(*this->ES, this->DL), in KaleidoscopeJIT() 55 ObjectLayer(*this->ES, in KaleidoscopeJIT() 57 CompileLayer(*this->ES, ObjectLayer, 59 OptimizeLayer(*this->ES, CompileLayer, optimizeModule), 60 MainJD(this->ES->createBareJITDylib("<main>")) { 67 if (auto Err = ES->endSession()) in ~KaleidoscopeJIT() 68 ES->reportError(std::move(Err)); in ~KaleidoscopeJIT() 76 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create() local [all …]
|
| /openbsd-src/regress/usr.bin/mandoc/man/blank/ |
| H A D | afterSH.out_ascii | 6 DDEESSCCRRIIPPTTIIOONN 9 DDEESSCCRRIIPPTTIIOONN 22 12 DDEESSCCRRIIPPTTIIOONN 33 15 DDEESSCCRRIIPPTTIIOONN 44 18 DDEESSCCRRIIPPTTIIOONN 55 21 DDEESSCCRRIIPPTTIIOONN 66 24 DDEESSCCRRIIPPTTIIOONN 77 27 DDEESSCCRRIIPPTTIIOONN 88 30 DDEESSCCRRIIPPTTIIOONN 1100 33 DDEESSCCRRIIPPTTIIOONN 1122 [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/SpeculativeJIT/ |
| H A D | SpeculativeJIT.cpp | 56 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create() local 59 JTMB->getTargetTriple(), *ES, in Create() 77 std::move(ES), std::move(*DL), std::move(*JTMB), std::move(*LCTMgr), in Create() 82 ExecutionSession &getES() { return *ES; } in getES() 89 return ES->lookup({&MainJD}, Mangle(UnmangledName)); in lookup() 104 std::unique_ptr<ExecutionSession> ES, DataLayout DL, in SpeculativeJIT() argument 109 : ES(std::move(ES)), DL(std::move(DL)), in SpeculativeJIT() 110 MainJD(this->ES->createBareJITDylib("<main>")), LCTMgr(std::move(LCTMgr)), in SpeculativeJIT() 111 CompileLayer(*this->ES, ObjLayer, in SpeculativeJIT() 113 S(Imps, *this->ES), in SpeculativeJIT() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ObjectFileInterface.cpp | 25 void addInitSymbol(MaterializationUnit::Interface &I, ExecutionSession &ES, in addInitSymbol() argument 34 I.InitSymbol = ES.intern(InitSymString); in addInitSymbol() 41 getMachOObjectFileSymbolInfo(ExecutionSession &ES, in getMachOObjectFileSymbolInfo() argument 77 I.SymbolFlags[ES.intern(*Name)] = std::move(*SymFlags); in getMachOObjectFileSymbolInfo() 83 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 89 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo() 98 getELFObjectFileSymbolInfo(ExecutionSession &ES, in getELFObjectFileSymbolInfo() argument 135 I.SymbolFlags[ES.intern(*Name)] = std::move(*SymFlags); in getELFObjectFileSymbolInfo() 142 addInitSymbol(I, ES, Obj.getFileName()); in getELFObjectFileSymbolInfo() 152 getCOFFObjectFileSymbolInfo(ExecutionSession &ES, in getCOFFObjectFileSymbolInfo() argument [all …]
|
| H A D | COFFVCRuntimeSupport.cpp | 23 COFFVCRuntimeBootstrapper::Create(ExecutionSession &ES, in Create() argument 27 new COFFVCRuntimeBootstrapper(ES, ObjLinkingLayer, RuntimePath)); in Create() 31 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in COFFVCRuntimeBootstrapper() argument 33 : ES(ES), ObjLinkingLayer(ObjLinkingLayer) { in COFFVCRuntimeBootstrapper() 114 ES, LookupKind::Static, makeJITDylibSearchOrder(&JD), in initializeStaticVCRuntime() 115 {{ES.intern("__scrt_initialize_crt"), &jit_scrt_initialize}, in initializeStaticVCRuntime() 116 {ES.intern("__scrt_dllmain_before_initialize_c"), in initializeStaticVCRuntime() 118 {ES.intern("?__scrt_initialize_type_info@@YAXXZ"), in initializeStaticVCRuntime() 120 {ES.intern("__scrt_initialize_default_local_stdio_options"), in initializeStaticVCRuntime() 125 if (auto Res = ES.getExecutorProcessControl().runAsVoidFunction(Addr)) in initializeStaticVCRuntime() [all …]
|
| H A D | COFFPlatform.cpp | 163 COFFPlatform::Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in Create() argument 168 auto &EPC = ES.getExecutorProcessControl(); in Create() 178 RuntimeAliases = standardPlatformAliases(ES); in Create() 184 auto &HostFuncJD = ES.createBareJITDylib("$<PlatformRuntimeHostFuncJD>"); in Create() 188 {{ES.intern("__orc_rt_jit_dispatch"), in Create() 191 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create() 201 ES, ObjLinkingLayer, PlatformJD, OrcRuntimePath, in Create() 224 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument 227 auto AliasName = ES.intern(KV.first); in addAliases() 229 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases() [all …]
|
| H A D | ELFNixPlatform.cpp | 111 ELFNixPlatform::Create(ExecutionSession &ES, in Create() argument 116 auto &EPC = ES.getExecutorProcessControl(); in Create() 126 auto StandardRuntimeAliases = standardPlatformAliases(ES, PlatformJD); in Create() 138 {{ES.intern("__orc_rt_jit_dispatch"), in Create() 141 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create() 155 new ELFNixPlatform(ES, ObjLinkingLayer, PlatformJD, in Create() 191 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument 194 auto AliasName = ES.intern(KV.first); in addAliases() 196 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases() 202 ELFNixPlatform::standardPlatformAliases(ExecutionSession &ES, in standardPlatformAliases() argument [all …]
|
| H A D | LazyReexports.cpp | 20 ExecutionSession &ES, JITTargetAddress ErrorHandlerAddr, TrampolinePool *TP) in LazyCallThroughManager() argument 21 : ES(ES), ErrorHandlerAddr(ErrorHandlerAddr), TP(TP) {} in LazyCallThroughManager() 40 ES.reportError(std::move(Err)); in reportCallThroughError() 98 ES.lookup(LookupKind::Static, in resolveTrampolineLandingAddress() 106 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES, in createLocalLazyCallThroughManager() argument 116 return LocalLazyCallThroughManager::Create<OrcAArch64>(ES, in createLocalLazyCallThroughManager() 120 return LocalLazyCallThroughManager::Create<OrcI386>(ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 124 ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager() 127 return LocalLazyCallThroughManager::Create<OrcMips32Be>(ES, in createLocalLazyCallThroughManager() 131 return LocalLazyCallThroughManager::Create<OrcMips32Le>(ES, in createLocalLazyCallThroughManager() [all …]
|
| H A D | ObjectLinkingLayer.cpp | 41 static Interface scanLinkGraph(ExecutionSession &ES, LinkGraph &G) { in scanLinkGraph() argument 58 LGI.SymbolFlags[ES.intern(Sym->getName())] = Flags; in scanLinkGraph() 62 LGI.InitSymbol = makeInitSymbol(ES, G); in scanLinkGraph() 67 static SymbolStringPtr makeInitSymbol(ExecutionSession &ES, LinkGraph &G) { in makeInitSymbol() argument 71 return ES.intern(InitSymString); in makeInitSymbol() 140 auto &ES = Layer.getExecutionSession(); in lookup() local 153 LookupSet.add(ES.intern(KV.first), LookupFlags); in lookup() 175 ES.lookup(LookupKind::Static, LinkOrder, std::move(LookupSet), in lookup() 183 auto &ES = Layer.getExecutionSession(); in notifyResolved() local 191 auto InternedName = ES.intern(Sym->getName()); in notifyResolved() [all …]
|
| H A D | DebugObjectManagerPlugin.cpp | 129 ExecutionSession &ES) in DebugObject() argument 130 : MemMgr(MemMgr), JD(JD), ES(ES) {} in DebugObject() 144 ES.reportError(std::move(Err)); in ~DebugObject() 161 ExecutionSession &ES; member in llvm::orc::DebugObject 197 Create(MemoryBufferRef Buffer, JITLinkContext &Ctx, ExecutionSession &ES); 216 const JITLinkDylib *JD, ExecutionSession &ES); 223 ExecutionSession &ES) in ELFDebugObject() argument 224 : DebugObject(MemMgr, JD, ES), Buffer(std::move(Buffer)) { in ELFDebugObject() 261 const JITLinkDylib *JD, ExecutionSession &ES) { in CreateArchType() argument 266 new ELFDebugObject(CopyBuffer(Buffer, Err), MemMgr, JD, ES)); in CreateArchType() [all …]
|
| H A D | RTDyldObjectLinkingLayer.cpp | 22 auto &ES = MR.getTargetJITDylib().getExecutionSession(); in lookup() local 27 InternedSymbols.add(ES.intern(S)); in lookup() 53 ES.lookup(LookupKind::Static, LinkOrder, InternedSymbols, in lookup() 83 ExecutionSession &ES, GetMemoryManagerFunction GetMemoryManager) in RTDyldObjectLinkingLayer() argument 84 : BaseT(ES), GetMemoryManager(std::move(GetMemoryManager)) { in RTDyldObjectLinkingLayer() 85 ES.registerResourceManager(*this); in RTDyldObjectLinkingLayer() 97 auto &ES = getExecutionSession(); in emit() local 119 ES.reportError(SymType.takeError()); in emit() 127 ES.reportError(SymFlagsOrErr.takeError()); in emit() 138 ES.reportError(SymName.takeError()); in emit() [all …]
|
| H A D | Mangling.cpp | 19 MangleAndInterner::MangleAndInterner(ExecutionSession &ES, const DataLayout &DL) in MangleAndInterner() argument 20 : ES(ES), DL(DL) {} in MangleAndInterner() 28 return ES.intern(MangledName); in operator ()() 31 void IRSymbolMapper::add(ExecutionSession &ES, const ManglingOptions &MO, in add() argument 38 MangleAndInterner Mangle(ES, GVs[0]->getParent()->getDataLayout()); in add()
|
| H A D | LLJIT.cpp | 367 auto &ES = getExecutionSession(); in getInitializers() local 368 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers() 388 auto &ES = getExecutionSession(); in getDeinitializers() local 395 if (auto Err = ES.runSessionLocked([&]() -> Error { in getDeinitializers() 425 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers() 677 << " Pre-constructed ExecutionSession: " << (ES ? "Yes" : "No") in prepareForConstruction() 699 if (!ES && !EPC) { in prepareForConstruction() 726 [](ExecutionSession &ES, in prepareForConstruction() 728 auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>(ES); in prepareForConstruction() 729 if (auto EHFrameRegistrar = EPCEHFrameRegistrar::Create(ES)) in prepareForConstruction() [all …]
|
| H A D | EPCEHFrameRegistrar.cpp | 20 ExecutionSession &ES, in Create() argument 27 auto &EPC = ES.getExecutorProcessControl(); in Create() 61 ES, ExecutorAddr(RegisterEHFrameWrapperFnAddr), in Create() 66 return ES.callSPSWrapper<void(SPSExecutorAddrRange)>( in registerEHFrames() 72 return ES.callSPSWrapper<void(SPSExecutorAddrRange)>( in deregisterEHFrames()
|
| H A D | CompileOnDemandLayer.cpp | 74 PartitioningIRMaterializationUnit(ExecutionSession &ES, in PartitioningIRMaterializationUnit() argument 78 : IRMaterializationUnit(ES, MO, std::move(TSM)), Parent(Parent) {} in PartitioningIRMaterializationUnit() 116 ExecutionSession &ES, IRLayer &BaseLayer, LazyCallThroughManager &LCTMgr, in CompileOnDemandLayer() argument 118 : IRLayer(ES, BaseLayer.getManglingOptions()), BaseLayer(BaseLayer), in CompileOnDemandLayer() 133 auto &ES = getExecutionSession(); in emit() local 159 ES, *getManglingOptions(), std::move(TSM), *this))) { in emit() 160 ES.reportError(std::move(Err)); in emit() 268 auto &ES = getExecutionSession(); in emitPartition() local 323 MangleAndInterner Mangle(ES, M.getDataLayout()); in emitPartition() 325 IRSymbolMapper::add(ES, *getManglingOptions(), in emitPartition() [all …]
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
| H A D | KaleidoscopeJIT.h | 129 std::unique_ptr<ExecutionSession> ES; 148 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES, in KaleidoscopeJIT() argument 151 : ES(std::move(ES)), EPCIU(std::move(EPCIU)), DL(std::move(DL)), in KaleidoscopeJIT() 152 Mangle(*this->ES, this->DL), in KaleidoscopeJIT() 153 ObjectLayer(*this->ES, in KaleidoscopeJIT() 155 CompileLayer(*this->ES, ObjectLayer, 157 OptimizeLayer(*this->ES, CompileLayer, optimizeModule), 159 MainJD(this->ES->createBareJITDylib("<main>")) { 166 if (auto Err = ES->endSession()) in ~KaleidoscopeJIT() 167 ES->reportError(std::move(Err)); in ~KaleidoscopeJIT() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOPlatform.h | 81 Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, 85 ExecutionSession &getExecutionSession() const { return ES; } in getExecutionSession() 97 static SymbolAliasMap standardPlatformAliases(ExecutionSession &ES); 198 MachOPlatform(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, 223 ExecutionSession &ES; variable 227 SymbolStringPtr MachOHeaderStartSymbol = ES.intern("___dso_handle"); 236 ES.intern("___orc_rt_macho_platform_bootstrap")}; 238 ES.intern("___orc_rt_macho_platform_shutdown")}; 240 ES.intern("___orc_rt_macho_register_ehframe_section")}; 242 ES.intern("___orc_rt_macho_deregister_ehframe_section")}; [all …]
|
| H A D | Layer.h | 37 IRMaterializationUnit(ExecutionSession &ES, 60 static SymbolStringPtr getInitSymbol(ExecutionSession &ES, 69 IRLayer(ExecutionSession &ES, const IRSymbolMapper::ManglingOptions *&MO) in IRLayer() argument 70 : ES(ES), MO(MO) {} in IRLayer() 75 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 114 ExecutionSession &ES; variable 137 ObjectLayer(ExecutionSession &ES); 141 ExecutionSession &getExecutionSession() { return ES; } in getExecutionSession() 170 ExecutionSession &ES;
|
| H A D | EPCDebugObjectRegistrar.h | 42 EPCDebugObjectRegistrar(ExecutionSession &ES, ExecutorAddr RegisterFn) in EPCDebugObjectRegistrar() argument 43 : ES(ES), RegisterFn(RegisterFn) {} in EPCDebugObjectRegistrar() 48 ExecutionSession &ES; 60 ExecutionSession &ES,
|
| H A D | EPCEHFrameRegistrar.h | 36 Create(ExecutionSession &ES, 41 EPCEHFrameRegistrar(ExecutionSession &ES, in EPCEHFrameRegistrar() argument 44 : ES(ES), RegisterEHFrameWrapperFnAddr(RegisterEHFrameWrapperFnAddr), in EPCEHFrameRegistrar() 51 ExecutionSession &ES;
|
| H A D | EPCDynamicLibrarySearchGenerator.h | 35 EPCDynamicLibrarySearchGenerator(ExecutionSession &ES, 38 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)) {} 44 Load(ExecutionSession &ES, const char *LibraryPath, 50 GetForTargetProcess(ExecutionSession &ES, 52 return Load(ES, nullptr, std::move(Allow));
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 72 raw_ostream &ES; variable 88 PlainPrinterBase(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in PlainPrinterBase() argument 89 : OS(OS), ES(ES), Config(Config) {} in PlainPrinterBase() 113 LLVMPrinter(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in LLVMPrinter() argument 114 : PlainPrinterBase(OS, ES, Config) {} in LLVMPrinter() 122 GNUPrinter(raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config) in GNUPrinter() argument 123 : PlainPrinterBase(OS, ES, Config) {} in GNUPrinter()
|