Displaying 3 results from an estimated 3 matches for "root_p".
2014 Sep 01
2
[LLVMdev] Problem linking and JITing code through C++-API
...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 = construct(compiler, root_p, {main_, {}});
// Evaluate and then print the root expression.
compiler.rt.normalize(root_p);
compiler.rt.printexpr(root_p, "\n&q...
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
..._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 = construct(compiler, root_p, {main_, {}});
>
> // Evaluate and then print the root expression.
>
> compiler.rt.normalize(root_p);
>...
2014 Sep 08
2
[LLVMdev] Problem linking and JITing code through C++-API
..._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 = construct(compiler, root_p, {main_, {}});
> >
> > // Evaluate and then print the root expression.
> >
> >...