search for: jitcontext

Displaying 4 results from an estimated 4 matches for "jitcontext".

Did you mean: getcontext
2015 Aug 13
4
Linking existing functions from JITed code
...pear to be maintained any longer (the kaleidoscope examples have not worked for some time with MCJIT). I’m using just the basic ORC CompileLayer directly. So, I’ve essentially copied the ExecutionEngine::addGlobalMapping related function to my JIT context, and I create a lambda resolver as such: JITContext::addModule(…) { auto Resolver = createLambdaResolver( [&](const std::string &name) { // look up first in JIT'ed code if (auto sym = findMangledSymbol(name)) { return RuntimeDyld::SymbolInfo(sym.getAddress(), sym.getFlags()); return RuntimeDyld::SymbolInfo(nullptr); } // look up in ad...
2015 Aug 13
2
Linking existing functions from JITed code
...worked for some time with >> MCJIT). >> >> I’m using just the basic ORC CompileLayer directly. >> >> So, I’ve essentially copied the ExecutionEngine::addGlobalMapping related >> function to my JIT context, and I create a lambda resolver as such: >> >> JITContext::addModule(…) { >> >> auto Resolver = createLambdaResolver( >> [&](const std::string &name) { >> >> // look up first in JIT'ed code >> if (auto sym = findMangledSymbol(name)) { >> return RuntimeDyld::SymbolInfo(sym.getAddress(), >> sym.get...
2015 Aug 20
2
Linking existing functions from JITed code
...t;> MCJIT). >>> >>> I’m using just the basic ORC CompileLayer directly. >>> >>> So, I’ve essentially copied the ExecutionEngine::addGlobalMapping >>> related function to my JIT context, and I create a lambda resolver as such: >>> >>> JITContext::addModule(…) { >>> >>> auto Resolver = createLambdaResolver( >>> [&](const std::string &name) { >>> >>> // look up first in JIT'ed code >>> if (auto sym = findMangledSymbol(name)) { >>> return RuntimeDyld::SymbolInfo(sym.ge...
2015 Aug 20
2
Linking existing functions from JITed code
...some time with MCJIT). >>> >>> I’m using just the basic ORC CompileLayer directly. >>> >>> So, I’ve essentially copied the ExecutionEngine::addGlobalMapping related function to my JIT context, and I create a lambda resolver as such: >>> >>> JITContext::addModule(…) { >>> >>> auto Resolver = createLambdaResolver( >>> [&](const std::string &name) { >>> >>> // look up first in JIT'ed code >>> if (auto sym = findMangledSymbol(name)) { >>> return RuntimeDyld::SymbolInf...