Displaying 3 results from an estimated 3 matches for "threadsafecontext".
2019 May 10
2
ORC - which example code?
...rstand it will be the supported API going forward, I noticed that in
the first chapter of the updated Kaleidoscope tutorial, there is sample
code that starts like this:
ExecutionSession ES;
RTDyldObjectLinkingLayer ObjectLayer;
IRCompileLayer CompileLayer;
DataLayout DL;
MangleAndInterner Mangle;
ThreadSafeContext Ctx;
But in https://llvm.org/devmtg/2016-11/Slides/Hames-ORC.pdf there is sample
code that looks like this:
ObjectLinkingLayer LinkLayer;
SimpleCompiler Compiler(TargetMachine());
IRCompileLayer<…> CompileLayer(LinkLayer, Compiler);
Related but significantly different.
Which version is no...
2020 Jan 29
3
Question about LLVM LLJIT Compile time
Hi,
We are using the new LLJIT class in our compiler. We have not been
successful using the parallel JIT feature. When we tried it previously on
multiple modules, our compile-time increased significantly. I don't know if
we are using it incorrectly, or that we miss out on optimizations we get
when running on a single merged module, but it hasn't worked for us yet. We
are pretty far behind
2019 Aug 08
6
New ORC v2 LLJIT - global variables
We are trying to switch to the new orc v2 lljit engine at my work with
hopes of parallel jitting. We are switching from the ExecutionEngine w/
OrcMCJitReplacement. We are having a hard time with global variables. We
have found a way to create/emit new globals during jitting by using the old
ExecutionEngine::getOrEmitGlobalVariable. Is there an easier way to do this
with the new jit engine? We were