search for: hildr8xrvdq

Displaying 5 results from an estimated 5 matches for "hildr8xrvdq".

2017 Sep 23
0
Some questions regarding ORC JIT apis
...user's memory manager which is managed using a similar scheme except that the memory manager pointer lives until the JIT is torn down, or the user explicitly asks the JIT to discard it. <endquote> Also additional information from watching the talk by Lang (https://www.youtube.com/watch?v=hILdR8XRvdQ). So it seems that ORC apis essentially give me what I am looking for. I managed to port my code easily enough. On Windows 10 64-bit, with dynamic linking - I found one unexpected behaviour - the findSymbol() is unable to locate the JIT compiled function in the module if search for "exported...
2017 Sep 22
2
Some questions regarding ORC JIT apis
Hi, I am looking to port my MCJIT based implementation to ORC. I have been reading up on the ORC tutorials, but am not clear on how to do following: I would like to discard everything other than the compiled code after compiling a module. A module may have more than one function in it - so I would like to retain all the compiled functions. I am okay with eager compilation - i.e. there is no need
2020 Jun 03
2
Fwd: I cannot change value of global variable in LLVM IR using IRBuilder
...t; Maybe you’re looking for ExecutionSession::lookup? The same way the > tutorial computes the address of “main”, you can compute the runtime > address of any other externally visible symbol. > > > > See also https://llvm.org/docs/ORCv2.html , > https://www.youtube.com/watch?v=hILdR8XRvdQ . > > > > -Eli > > > > *From:* llvm-dev <llvm-dev-bounces at lists.llvm.org> *On Behalf Of *Emma > Luciano via llvm-dev > *Sent:* Wednesday, June 3, 2020 1:35 AM > *To:* llvm-dev at lists.llvm.org > *Subject:* [EXT] [llvm-dev] Fwd: I cannot change value of...
2020 Jun 03
2
Fwd: I cannot change value of global variable in LLVM IR using IRBuilder
Hi Everyone, I'm quite new to LLVM and I want to update value of global variable in LLVM IR. I created new global variable in ModulePass: bool runOnModule(llvm::Module &M) { IRBuilder<> Builder(M.getContext()); Instruction *I = &*inst_begin(M.getFunction("main")); Builder.SetInsertPoint(I); M.getOrInsertGlobal("globalKey",
2017 Sep 25
1
Some questions regarding ORC JIT apis
...ch is managed using a similar scheme except that the memory manager > pointer lives until the JIT is torn down, or the user explicitly asks > the JIT to discard it. > <endquote> > > Also additional information from watching the talk by Lang > (https://www.youtube.com/watch?v=hILdR8XRvdQ). > > So it seems that ORC apis essentially give me what I am looking for. > > I managed to port my code easily enough. On Windows 10 64-bit, with > dynamic linking - I found one unexpected behaviour - the findSymbol() > is unable to locate the JIT compiled function in the module...