Home | History | Annotate | Download | only in examples

Lines Matching refs:ctxt

26 create_code (gccjit::context ctxt)
41 gccjit::type the_type = ctxt.get_int_type <int> ();
44 gccjit::param n = ctxt.new_param (the_type, "n");
48 ctxt.new_function (GCC_JIT_FUNCTION_EXPORTED,
63 b_initial.add_assignment (sum, ctxt.zero (the_type));
66 b_initial.add_assignment (i, ctxt.zero (the_type));
84 ctxt.one (the_type));
95 gccjit::context ctxt;
99 ctxt = gccjit::context::acquire ();
103 ctxt.set_bool_option (GCC_JIT_BOOL_OPTION_DUMP_GENERATED_CODE,
107 create_code (ctxt);
110 result = ctxt.compile ();
112 ctxt.release ();