Displaying 3 results from an estimated 3 matches for "module_ir".
Did you mean:
module_dir
2014 Sep 01
2
[LLVMdev] Problem linking and JITing code through C++-API
.../ Compile the program.
sprite::compiler::LibrarySTab stab;
sprite::compiler::compile(lib, stab);
// Declare the main function.
namespace tgt = sprite::backend;
auto & module_stab = stab.modules.at(topmodule);
auto & compiler = *module_stab.compiler;
tgt::scope _ = module_stab.module_ir;
tgt::extern_(
tgt::types::int_(32)(), "main", {}
, [&]{
// Construct the root expression (just the "main" symbol).
tgt::value root_p = compiler.node_alloc();
sprite::curry::Qname const main_{topmodule, "main"};
root_p =...
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
...> sprite::compiler::compile(lib, stab);
>
> // Declare the main function.
>
> namespace tgt = sprite::backend;
>
> auto & module_stab = stab.modules.at(topmodule);
>
> auto & compiler = *module_stab.compiler;
>
> tgt::scope _ = module_stab.module_ir;
>
> tgt::extern_(
>
> tgt::types::int_(32)(), "main", {}
>
> , [&]{
>
> // Construct the root expression (just the "main" symbol).
>
> tgt::value root_p = compiler.node_alloc();
>
> sprite::curry:...
2014 Sep 08
2
[LLVMdev] Problem linking and JITing code through C++-API
...; >
> > // Declare the main function.
> >
> > namespace tgt = sprite::backend;
> >
> > auto & module_stab = stab.modules.at(topmodule);
> >
> > auto & compiler = *module_stab.compiler;
> >
> > tgt::scope _ = module_stab.module_ir;
> >
> > tgt::extern_(
> >
> > tgt::types::int_(32)(), "main", {}
> >
> > , [&]{
> >
> > // Construct the root expression (just the "main" symbol).
> >
> > tgt::value root_p = compil...