Home
last modified time | relevance | path

Searched refs:orc (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h56 virtual JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
58 virtual Error removeModule(orc::VModuleKey K) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
65 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
70 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
79 class GenericLayerImpl<orc::LegacyRTDyldObjectLinkingLayer> : public GenericLayer { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
81 using LayerT = orc::LegacyRTDyldObjectLinkingLayer; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
85 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
90 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
108 using CompileCallbackMgr = orc::JITCompileCallbackManager;
109 using ObjLayerT = orc::LegacyRTDyldObjectLinkingLayer;
[all …]
DIndirectionUtils.cpp20 using namespace llvm::orc;
24 class CompileCallbackMaterializationUnit : public orc::MaterializationUnit {
56 namespace orc { namespace
128 typedef orc::LocalJITCompileCallbackManager<orc::OrcAArch64> CCMgrT; in createLocalCompileCallbackManager()
133 typedef orc::LocalJITCompileCallbackManager<orc::OrcI386> CCMgrT; in createLocalCompileCallbackManager()
138 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Be> CCMgrT; in createLocalCompileCallbackManager()
142 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Le> CCMgrT; in createLocalCompileCallbackManager()
148 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips64> CCMgrT; in createLocalCompileCallbackManager()
154 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_Win32> CCMgrT; in createLocalCompileCallbackManager()
157 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_SysV> CCMgrT; in createLocalCompileCallbackManager()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp19 using namespace llvm::orc;
23 class CompileCallbackMaterializationUnit : public orc::MaterializationUnit {
55 namespace orc { namespace
126 typedef orc::LocalJITCompileCallbackManager<orc::OrcAArch64> CCMgrT; in createLocalCompileCallbackManager()
131 typedef orc::LocalJITCompileCallbackManager<orc::OrcI386> CCMgrT; in createLocalCompileCallbackManager()
136 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Be> CCMgrT; in createLocalCompileCallbackManager()
140 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Le> CCMgrT; in createLocalCompileCallbackManager()
146 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips64> CCMgrT; in createLocalCompileCallbackManager()
152 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_Win32> CCMgrT; in createLocalCompileCallbackManager()
155 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_SysV> CCMgrT; in createLocalCompileCallbackManager()
[all …]
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.h37 class LLVMJITLinkObjectLinkingLayer : public orc::ObjectLinkingLayer {
39 using orc::ObjectLinkingLayer::add;
44 Error add(orc::ResourceTrackerSP RT,
51 using LLVMJITLinkChannel = orc::rpc::FDRawByteChannel;
53 orc::rpc::MultiThreadedRPCEndpoint<LLVMJITLinkChannel>;
55 orc::OrcRPCTPCJITLinkMemoryManager<LLVMJITLinkRPCEndpoint>;
57 orc::OrcRPCTPCMemoryAccess<LLVMJITLinkRPCEndpoint>;
60 : public orc::OrcRPCTargetProcessControlBase<LLVMJITLinkRPCEndpoint> {
62 using BaseT = orc::OrcRPCTargetProcessControlBase<LLVMJITLinkRPCEndpoint>;
71 orc::OrcRPCTPCMemoryAccess<LLVMJITLinkRemoteTargetProcessControl>;
[all …]
/external/llvm/tools/lli/
DOrcLazyJIT.h32 typedef orc::JITCompileCallbackManager CompileCallbackMgr;
33 typedef orc::ObjectLinkingLayer<> ObjLayerT;
34 typedef orc::IRCompileLayer<ObjLayerT> CompileLayerT;
37 typedef orc::IRTransformLayer<CompileLayerT, TransformFtor> IRDumpLayerT;
38 typedef orc::CompileOnDemandLayer<IRDumpLayerT, CompileCallbackMgr> CODLayerT;
50 CompileLayer(ObjectLayer, orc::SimpleCompiler(*this->TM)), in OrcLazyJIT()
73 for (auto Ctor : orc::getConstructors(*M)) in addModule()
75 for (auto Dtor : orc::getDestructors(*M)) in addModule()
83 orc::createLambdaResolver( in addModule()
110 orc::CtorDtorRunner<CODLayerT> CtorRunner(std::move(CtorNames), H); in addModule()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h32 typedef orc::JITCompileCallbackManager CompileCallbackMgr; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
33 typedef orc::ObjectLinkingLayer<> ObjLayerT; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
34 typedef orc::IRCompileLayer<ObjLayerT> CompileLayerT; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
35 typedef orc::CompileOnDemandLayer<CompileLayerT, CompileCallbackMgr> in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
47 virtual orc::JITSymbol findSymbolIn(const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
57 orc::JITSymbol findSymbolIn(const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
87 CompileLayer(ObjectLayer, orc::SimpleCompiler(TM)), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
112 static PtrTy fromTargetAddress(orc::TargetAddress Addr) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
116 orc::TargetAddress in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
120 CCInfo.setCompileAction([=]() -> orc::TargetAddress { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
[all …]
DIndirectionUtils.cpp20 namespace orc { namespace
32 typedef orc::LocalJITCompileCallbackManager<orc::OrcI386> CCMgrT; in createLocalCompileCallbackManager()
38 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_Win32> CCMgrT; in createLocalCompileCallbackManager()
41 typedef orc::LocalJITCompileCallbackManager<orc::OrcX86_64_SysV> CCMgrT; in createLocalCompileCallbackManager()
56 orc::LocalIndirectStubsManager<orc::OrcI386>>(); in createLocalIndirectStubsManagerBuilder()
63 orc::LocalIndirectStubsManager<orc::OrcX86_64_Win32>>(); in createLocalIndirectStubsManagerBuilder()
68 orc::LocalIndirectStubsManager<orc::OrcX86_64_SysV>>(); in createLocalIndirectStubsManagerBuilder()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h22 namespace orc {
175 struct DenseMapInfo<orc::SymbolStringPtr> {
177 static orc::SymbolStringPtr getEmptyKey() {
178 return orc::SymbolStringPtr::getEmptyVal();
181 static orc::SymbolStringPtr getTombstoneKey() {
182 return orc::SymbolStringPtr::getTombstoneVal();
185 static unsigned getHashValue(const orc::SymbolStringPtr &V) {
186 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
189 static bool isEqual(const orc::SymbolStringPtr &LHS,
190 const orc::SymbolStringPtr &RHS) {
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsimple_orc_jit.h48 using ObjLayerT = llvm::orc::RTDyldObjectLinkingLayer;
49 using CompileLayerT = llvm::orc::IRCompileLayer;
57 std::unique_ptr<llvm::orc::TargetProcessControl> target_process_control,
58 std::unique_ptr<llvm::orc::ExecutionSession> execution_session,
82 llvm::Error AddModule(llvm::orc::ThreadSafeModule module);
112 std::unique_ptr<llvm::orc::TargetProcessControl> target_process_control_;
113 std::unique_ptr<llvm::orc::ExecutionSession> execution_session_;
116 llvm::orc::JITDylib* main_jit_dylib_;
Dsimple_orc_jit.cc88 std::unique_ptr<llvm::orc::TargetProcessControl> target_process_control, in SimpleOrcJIT()
89 std::unique_ptr<llvm::orc::ExecutionSession> execution_session, in SimpleOrcJIT()
119 class RuntimeSymbolGenerator : public llvm::orc::DefinitionGenerator {
125 llvm::orc::LookupState&, llvm::orc::LookupKind, in tryToGenerate()
126 llvm::orc::JITDylib& jit_dylib, llvm::orc::JITDylibLookupFlags, in tryToGenerate()
127 const llvm::orc::SymbolLookupSet& names) override { in tryToGenerate()
128 llvm::orc::SymbolMap new_defs; in tryToGenerate()
166 auto SSP = std::make_shared<llvm::orc::SymbolStringPool>(); in Create()
168 llvm::orc::SelfTargetProcessControl::Create(std::move(SSP)); in Create()
173 auto execution_session = std::make_unique<llvm::orc::ExecutionSession>(); in Create()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h22 namespace orc {
180 struct DenseMapInfo<orc::SymbolStringPtr> {
182 static orc::SymbolStringPtr getEmptyKey() {
183 return orc::SymbolStringPtr::getEmptyVal();
186 static orc::SymbolStringPtr getTombstoneKey() {
187 return orc::SymbolStringPtr::getTombstoneVal();
190 static unsigned getHashValue(const orc::SymbolStringPtr &V) {
191 return DenseMapInfo<orc::SymbolStringPtr::PoolEntryPtr>::getHashValue(V.S);
194 static bool isEqual(const orc::SymbolStringPtr &LHS,
195 const orc::SymbolStringPtr &RHS) {
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h33 namespace orc {
92 class SimpleMaterializationUnit : public orc::MaterializationUnit {
95 std::function<void(std::unique_ptr<orc::MaterializationResponsibility>)>;
97 std::function<void(const orc::JITDylib &, orc::SymbolStringPtr)>;
101 orc::SymbolFlagsMap SymbolFlags, MaterializeFunction Materialize,
102 orc::SymbolStringPtr InitSym = nullptr,
117 materialize(std::unique_ptr<orc::MaterializationResponsibility> R) override { in materialize()
121 void discard(const orc::JITDylib &JD, in discard()
122 const orc::SymbolStringPtr &Name) override { in discard()
161 SupportsIndirection = !!orc::createLocalCompileCallbackManager(TT, ES, 0); in OrcExecutionTest()
[all …]
DOrcTestCommon.cpp17 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::FooAddr;
18 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BarAddr;
19 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BazAddr;
20 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::QuxAddr;
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
DRPCError.cpp20 char llvm::orc::rpc::RPCFatalError::ID = 0;
21 char llvm::orc::rpc::ConnectionClosed::ID = 0;
22 char llvm::orc::rpc::ResponseAbandoned::ID = 0;
23 char llvm::orc::rpc::CouldNotNegotiate::ID = 0;
26 namespace orc { namespace
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OrcError/
DRPCError.cpp20 char llvm::orc::rpc::RPCFatalError::ID = 0;
21 char llvm::orc::rpc::ConnectionClosed::ID = 0;
22 char llvm::orc::rpc::ResponseAbandoned::ID = 0;
23 char llvm::orc::rpc::CouldNotNegotiate::ID = 0;
26 namespace orc { namespace
/external/llvm-project/llvm/tools/lli/
Dlli.cpp673 std::unique_ptr<orc::rpc::FDRawByteChannel> C = launchRemote(); in main()
680 llvm::orc::ExecutionSession ES; in main()
682 typedef orc::remote::OrcRemoteTargetClient MyRemote; in main()
775 Expected<orc::ThreadSafeModule>
776 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule()
791 return orc::ThreadSafeModule(std::move(M), std::move(TSCtx)); in loadModule()
798 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcLazyJIT()
812 orc::LLLazyJITBuilder Builder; in runOrcLazyJIT()
815 TT ? orc::JITTargetMachineBuilder(*TT) in runOrcLazyJIT()
816 : ExitOnErr(orc::JITTargetMachineBuilder::detectHost())); in runOrcLazyJIT()
[all …]
/external/swiftshader/src/Reactor/
DLLVMJIT.cpp133 llvm::orc::JITTargetMachineBuilder getTargetMachineBuilder(rr::Optimization::Level optLevel) const;
138 …JITGlobals(llvm::orc::JITTargetMachineBuilder &&jitTargetMachineBuilder, llvm::DataLayout &&dataLa…
142 const llvm::orc::JITTargetMachineBuilder jitTargetMachineBuilder;
165 …llvm::orc::JITTargetMachineBuilder jitTargetMachineBuilder(llvm::Triple(LLVM_DEFAULT_TARGET_TRIPLE… in get()
203 llvm::orc::JITTargetMachineBuilder JITGlobals::getTargetMachineBuilder(rr::Optimization::Level optL… in getTargetMachineBuilder()
205 llvm::orc::JITTargetMachineBuilder out = jitTargetMachineBuilder; in getTargetMachineBuilder()
221 JITGlobals::JITGlobals(llvm::orc::JITTargetMachineBuilder &&jitTargetMachineBuilder, llvm::DataLayo… in JITGlobals()
377 class ExternalSymbolGenerator : public llvm::orc::DefinitionGenerator
379 class ExternalSymbolGenerator : public llvm::orc::JITDylib::DefinitionGenerator
564 llvm::orc::LookupState &state, in tryToGenerate()
[all …]
/external/llvm-project/mlir/lib/ExecutionEngine/
DExecutionEngine.cpp50 using llvm::orc::DynamicLibrarySearchGenerator;
51 using llvm::orc::ExecutionSession;
52 using llvm::orc::IRCompileLayer;
53 using llvm::orc::JITTargetMachineBuilder;
54 using llvm::orc::MangleAndInterner;
55 using llvm::orc::RTDyldObjectLinkingLayer;
56 using llvm::orc::SymbolMap;
57 using llvm::orc::ThreadSafeModule;
58 using llvm::orc::TMOwningSimpleCompiler;
108 absoluteSymbols(symbolMap(llvm::orc::MangleAndInterner( in registerSymbols()
[all …]
/external/ppp/pppd/
Dipxcp.c1001 int orc; /* Individual option return code */ local
1016 orc = CONFACK; /* Assume success */
1022 orc = CONFREJ; /* Reject bad CI */
1040 orc = CONFREJ;
1058 orc = CONFNAK;
1068 orc = CONFNAK;
1073 orc = CONFREJ;
1083 orc = CONFREJ;
1094 orc = CONFNAK;
1104 orc = CONFACK;
[all …]
Dlcp.c1517 int orc; /* Individual option return code */ local
1535 orc = CONFACK; /* Assume success */
1541 orc = CONFREJ; /* Reject bad CI */
1556 orc = CONFREJ; /* Reject CI */
1567 orc = CONFNAK; /* Nak CI */
1580 orc = CONFREJ;
1590 orc = CONFNAK;
1607 orc = CONFREJ;
1628 orc = CONFREJ;
1632 orc = CONFNAK; /* NAK it and suggest CHAP or EAP */
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DCompileOnDemandLayerTest.cpp15 using namespace llvm::orc;
19 class DummyCallbackManager : public orc::JITCompileCallbackManager {
27 class DummyStubsManager : public orc::IndirectStubsManager {
64 llvm::orc::CompileOnDemandLayer<MockBaseLayerT> COD( in TEST()
/external/llvm-project/llvm/test/ExecutionEngine/OrcLazy/
Dbasic-whole-module-partitions.ll1 ; RUN: lli -jit-kind=orc-lazy -orc-lazy-debug=funcs-to-stdout \
3 ; RUN: lli -jit-kind=orc-lazy -per-module-lazy -orc-lazy-debug=funcs-to-stdout \
Dglobal-ctors-and-dtors.ll3 ; RUN: lli -jit-kind=orc-lazy -orc-lazy-debug=funcs-to-stdout -extra-module %s \
8 ; RUN: lli -jit-kind=orc-lazy -orc-lazy-debug=funcs-to-stdout \
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DRegisterEHFrames.h22 namespace orc {
35 extern "C" llvm::orc::tpctypes::CWrapperFunctionResult
38 extern "C" llvm::orc::tpctypes::CWrapperFunctionResult
/external/llvm-project/mlir/include/mlir/ExecutionEngine/
DJitRunner.h28 namespace orc {
50 llvm::function_ref<llvm::orc::SymbolMap(llvm::orc::MangleAndInterner)>

12345678910>>...17