search for: execeng

Displaying 7 results from an estimated 7 matches for "execeng".

2010 Jan 09
4
[LLVMdev] Using a function from another module
Hi all, I'm trying to use a function defined in one LLVM module from another module (in the JIT) but for some reason it's not working out. My sequence of activity is roughly like this: 1) Create moduleA 2) Create moduleB with "func()" 3) execEng = ExecutionEngine::create( new ExistingModuleProvider(moduleB)); 4) execute "func()" (this works fine) 4) add "func()" to moduleA as a declaration (no code blocks) with External linkage. 5) execEng->addModuleProvider(new ExistingModuleProvider(moduleA));...
2010 Jan 10
0
[LLVMdev] Using a function from another module
...> > I'm trying to use a function defined in one LLVM module from another module > (in the JIT) but for some reason it's not working out. My sequence of > activity is roughly like this: > > 1) Create moduleA > 2) Create moduleB with "func()" > 3) execEng = ExecutionEngine::create( > new ExistingModuleProvider(moduleB)); > 4) execute "func()" (this works fine) > 4) add "func()" to moduleA as a declaration (no code blocks) with External > linkage. > 5) execEng->addModuleProvider(new ExistingMo...
2010 Jan 10
2
[LLVMdev] Using a function from another module
...rying to use a function defined in one LLVM module from another module >> (in the JIT) but for some reason it's not working out.  My sequence of >> activity is roughly like this: >> >>   1) Create moduleA >>   2) Create moduleB with "func()" >>   3) execEng = ExecutionEngine::create( >>          new ExistingModuleProvider(moduleB)); >>   4) execute "func()" (this works fine) >>   4) add "func()" to moduleA as a declaration (no code blocks) with External >>      linkage. >>   5) execEng->addModulePro...
2010 Feb 03
0
[LLVMdev] Interpreter with multiple modules.
...trying to use a function defined in one LLVM module from another module >> (in the JIT) but for some reason it's not working out. My sequence of >> activity is roughly like this: >> >> 1) Create moduleA >> 2) Create moduleB with "func()" >> 3) execEng = ExecutionEngine::create( >> new ExistingModuleProvider(moduleB)); >> 4) execute "func()" (this works fine) >> 4) add "func()" to moduleA as a declaration (no code blocks) with External >> linkage. >> 5) execEng->addModuleProvider...
2010 Feb 03
3
[LLVMdev] Interpreter with multiple modules.
On 3 February 2010 14:13, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote: > I have not used the C api or the interpreter, but via JIT one can use > ExecutionEngine::addGlobalMapping(...) after the function decl in the > foreign module. See if there is an equivalent in the C API, which will > probably work for the interpreter given that this method is declared in >
2010 Jan 10
0
[LLVMdev] Using a function from another module
...efined in one LLVM module from another module >>> (in the JIT) but for some reason it's not working out. My sequence of >>> activity is roughly like this: >>> >>> 1) Create moduleA >>> 2) Create moduleB with "func()" >>> 3) execEng = ExecutionEngine::create( >>> new ExistingModuleProvider(moduleB)); >>> 4) execute "func()" (this works fine) >>> 4) add "func()" to moduleA as a declaration (no code blocks) with External >>> linkage. >>> 5) exec...
2010 Jan 11
0
[LLVMdev] Using a function from another module
...Hi all, > > I'm trying to use a function defined in one LLVM module from another module > (in the JIT) but for some reason it's not working out.  My sequence of > activity is roughly like this: > >  1) Create moduleA >  2) Create moduleB with "func()" >  3) execEng = ExecutionEngine::create( >         new ExistingModuleProvider(moduleB)); >  4) execute "func()" (this works fine) >  4) add "func()" to moduleA as a declaration (no code blocks) with External >     linkage. >  5) execEng->addModuleProvider(new ExistingModuleP...