Lines Matching refs:jit
30 #include "jit-recording.h"
31 #include "jit-result.h"
34 of the gcc::jit::recording classes. */
36 struct gcc_jit_context : public gcc::jit::recording::context
43 struct gcc_jit_result : public gcc::jit::result
47 struct gcc_jit_object : public gcc::jit::recording::memento
51 struct gcc_jit_location : public gcc::jit::recording::location
55 struct gcc_jit_type : public gcc::jit::recording::type
59 struct gcc_jit_struct : public gcc::jit::recording::struct_
63 struct gcc_jit_function_type : public gcc::jit::recording::function_type
67 struct gcc_jit_vector_type : public gcc::jit::recording::vector_type
71 struct gcc_jit_field : public gcc::jit::recording::field
75 struct gcc_jit_bitfield : public gcc::jit::recording::bitfield
79 struct gcc_jit_function : public gcc::jit::recording::function
83 struct gcc_jit_block : public gcc::jit::recording::block
87 struct gcc_jit_rvalue : public gcc::jit::recording::rvalue
91 struct gcc_jit_lvalue : public gcc::jit::recording::lvalue
95 struct gcc_jit_param : public gcc::jit::recording::param
99 struct gcc_jit_case : public gcc::jit::recording::case_
107 struct gcc_jit_extended_asm : public gcc::jit::recording::extended_asm
315 jit_error (gcc::jit::recording::context *ctxt,
316 gcc::jit::recording::location *loc,
321 jit_error (gcc::jit::recording::context *ctxt,
322 gcc::jit::recording::location *loc,
345 gcc::jit::recording::type::accepts_writes_from virtual function on
349 compatible_types (gcc::jit::recording::type *ltype,
350 gcc::jit::recording::type *rtype)
371 gcc::jit::recording::context in jit-recording.cc. */
383 gcc::jit::recording::context in jit-recording.cc. */
398 gcc::jit::recording::context in jit-recording.cc. */
414 gcc::jit::recording::context::new_location
415 method in jit-recording.cc. */
431 gcc::jit::recording::memento::as_object method (a location is a
432 memento), in jit-recording.h. */
445 gcc::jit::recording::memento::as_object method (a type is a
446 memento), in jit-recording.h. */
459 gcc::jit::recording::context::get_type method, in
460 jit-recording.cc */
481 gcc::jit::recording::context::get_int_type method,
482 in jit-recording.cc. */
498 gcc::jit::recording::type::get_pointer method, in
499 jit-recording.cc */
512 gcc::jit::recording::type::get_const method, in
513 jit-recording.cc. */
526 gcc::jit::recording::type::get_volatile method, in
527 jit-recording.cc. */
540 gcc::jit::recording::type::get_size method, in
541 jit-recording.cc. */
556 gcc::jit
557 jit-recording.cc. */
570 gcc::jit::recording::type::is_bool method, in
571 jit-recording.cc. */
584 gcc::jit::recording::type::is_pointer method, in
585 jit-recording.cc. */
598 gcc::jit::recording::type::is_int method, in
599 jit-recording.cc. */
612 gcc::jit::recording::type::is_vector method, in
613 jit-recording.cc. */
619 gcc::jit::recording::vector_type *vector_type = type->is_vector ();
626 gcc::jit::recording::type::is_struct method, in
627 jit-recording.cc. */
633 gcc::jit::recording::struct_ *struct_type = type->is_struct ();
640 gcc::jit::recording::vector_type::get_num_units method, in
641 jit-recording.cc. */
653 gcc::jit::recording::vector_type::get_element_type method, in
654 jit-recording.cc. */
666 gcc::jit::recording::type::unqualified method, in
667 jit-recording.cc. */
680 gcc::jit::recording::type::dyn_cast_function_type method, in
681 jit-recording.cc. */
687 gcc::jit::recording::type *func_ptr_type = type->dereference ();
699 gcc::jit::recording::function_type::get_return_type method, in
700 jit-recording.cc. */
712 gcc::jit::recording::function_type::get_param_types method, in
713 jit-recording.cc. */
725 gcc::jit::recording::function_type::get_param_types method, in
726 jit-recording.cc. */
734 gcc::jit::recording::context *ctxt = function_type->m_ctxt;
747 gcc::jit::recording::context::new_array_type method, in
748 jit-recording.cc. */
772 gcc::jit::recording::context::new_field method, in
773 jit-recording.cc. */
804 gcc::jit::recording::context::new_bitfield method, in
805 jit-recording.cc. */
840 gcc::jit::recording::memento::as_object method (a field is a
841 memento), in jit-recording.h. */
854 gcc::jit::recording::context::new_struct_type method,
856 gcc::jit::recording::compound_type *, both in jit-recording.cc */
882 gcc::jit::recording::struct_ *result =
886 (gcc::jit::recording::field **)fields);
893 gcc::jit::recording::context::new_struct_type method in
894 jit-recording.cc. */
912 gcc::jit::recording::struct_::as_object method in
913 jit-recording.h. */
926 gcc::jit::recording::compound_type::set_fields method in
927 jit-recording.cc. */
936 gcc::jit::recording::context *ctxt = struct_type->m_ctxt;
962 (gcc::jit::recording::field **)fields);
969 gcc::jit::recording::fields::get_field method in
970 jit-recording.cc. */
991 gcc::jit::recording::struct_::get_fields method in
992 jit-recording.h. */
1004 gcc::jit::recording::context::new_union_type method,
1006 gcc::jit::recording::compound_type *, both in jit-recording.cc */
1032 gcc::jit::recording::union_ *result =
1036 (gcc::jit::recording::field **)fields);
1043 gcc::jit::recording::context::new_function_ptr_type method,
1044 in jit-recording.cc */
1076 (gcc::jit::recording::type **)param_types,
1085 gcc::jit::recording::context::new_param method, in jit-recording.cc */
1108 gcc::jit::recording::memento::as_object method (a param is a memento),
1109 in jit-recording.h. */
1122 gcc::jit::recording::param::as_lvalue method in jit-recording.h. */
1135 gcc::jit::recording::lvalue::as_rvalue method (a param is an rvalue),
1136 in jit-recording.h. */
1149 gcc::jit::recording::context::new_function method, in
1150 jit-recording.cc. */
1222 (gcc::jit::recording::param **)params,
1230 gcc::jit::recording::context::get_builtin_function method, in
1231 jit-recording.cc. */
1247 gcc::jit::recording::memento::as_object method (a function is a
1248 memento), in jit-recording.h. */
1261 gcc::jit::recording::function::get_param method, in
1262 jit-recording.h. */
1268 gcc::jit::recording::context *ctxt = func->m_ctxt;
1285 gcc::jit::recording::function::get_params method, in
1286 jit-recording.h.
1293 gcc::jit::recording::context *ctxt = func->m_ctxt;
1301 gcc::jit::recording::function::get_return_type method, in
1302 jit-recording.h. */
1314 gcc::jit::recording::function::dump_to_dot method, in
1315 jit-recording.cc. */
1322 gcc::jit::recording::context *ctxt = func->m_ctxt;
1332 gcc::jit::recording::function::new_block method, in
1333 jit-recording.cc. */
1352 gcc::jit::recording::memento::as_object method (a block is a
1353 memento), in jit-recording.h. */
1366 gcc::jit::recording::block::get_function method, in
1367 jit-recording.h. */
1380 gcc::jit::recording::context::new_global method, in
1381 jit-recording.cc. */
1424 using namespace gcc::jit::recording;
1436 gcc::jit::recording::fields *fields_struct = ct->get_fields ();
1470 gcc::jit::recording::rvalue *rv = values[i];
1473 gcc::jit::recording::type *rv_type = rv ? rv->get_type () : nullptr;
1479 gcc::jit::recording::field *f = fields[i];
1488 static_cast<gcc::jit::recording::type*>(type),
1521 !rv || gcc::jit::types_kinda_same (rv_type,
1538 gcc::jit::types_kinda_same (rv_type,
1564 reinterpret_cast<gcc::jit::recording::field**>(fields),
1565 reinterpret_cast<gcc::jit::recording::rvalue**>(values));
1575 using namespace gcc::jit::recording;
1587 gcc::jit::recording::fields *fields_union = ct->get_fields ();
1603 gcc::jit::recording::type *rv_type = value->get_type ();
1614 static_cast<gcc::jit::recording::type*>(type),
1622 gcc::jit::types_kinda_same (rv_type,
1636 gcc::jit::types_kinda_same (rv_type,
1651 reinterpret_cast<gcc::jit::recording::field**>(field ? &field : NULL),
1652 reinterpret_cast<gcc::jit::recording::rvalue**>(&value));
1662 using namespace gcc::jit::recording;
1682 gcc::jit::recording::array_type *arr_type =
1683 reinterpret_cast<gcc::jit::recording::array_type*>(type);
1695 gcc::jit::recording::type *type0 = NULL;
1713 gcc::jit::types_kinda_same (type0,
1727 gcc::jit::recording::type *el_type =
1731 gcc::jit::types_kinda_same (type0, el_type),
1745 reinterpret_cast<gcc::jit::recording::rvalue**>(values));
1756 gcc::jit::recording::context *ctxt = global->get_context ();
1766 gcc::jit::recording::global *gbl =
1767 reinterpret_cast<gcc::jit::recording::global *> (global);
1775 RETURN_NULL_IF_FAIL_PRINTF4 (gcc::jit::types_kinda_same (
1788 gcc::jit::GLOBAL_VAR_FLAGS_WILL_BE_RVAL_INIT |
1789 gcc::jit::GLOBAL_VAR_FLAGS_WILL_BE_BLOB_INIT),
1796 gbl->set_flags (gcc::jit::GLOBAL_VAR_FLAGS_WILL_BE_RVAL_INIT);
1806 gcc::jit::recording::global::set_initializer method, in
1807 jit-recording.cc. */
1820 gcc::jit::recording::type *lval_type = global->get_type ();
1829 * static_cast <gcc::jit::recording::array_type *> (lval_type)->num_elements ();
1840 gcc::jit::recording::global *gbl =
1841 reinterpret_cast<gcc::jit::recording::global *> (global);
1843 gcc::jit::GLOBAL_VAR_FLAGS_WILL_BE_RVAL_INIT),
1851 gbl->set_flags (gcc::jit::GLOBAL_VAR_FLAGS_WILL_BE_BLOB_INIT);
1859 gcc::jit::recording::memento::as_object method (an lvalue is a
1860 memento), in jit-recording.h. */
1873 gcc::jit::recording::lvalue::as_rvalue method in jit-recording.h. */
1886 gcc::jit::recording::memento::as_object method (an rvalue is a
1887 memento), in jit-recording.h. */
1900 gcc::jit::recording::rvalue::get_type method, in
1901 jit-recording.h. */
1912 type i.e. it satisfies gcc::jit::type::is_numeric (), such as the
1927 gcc::jit::recording::context::new_rvalue_from_const <int> method in
1928 jit-recording.cc. */
1946 gcc::jit::recording::context::new_rvalue_from_const <long> method
1947 in jit-recording.cc. */
1999 gcc::jit::recording::context::new_rvalue_from_const <double> method in
2000 jit-recording.cc. */
2018 gcc::jit::recording::context::new_rvalue_from_const <void *> method
2019 in jit-recording.cc. */
2064 gcc::jit::recording::context::new_string_literal method in
2065 jit-recording.cc. */
2081 gcc::jit::recording::context::new_unary_op method in
2082 jit-recording.cc. */
2105 gcc::jit::unary_op_reproducer_strings[op],
2127 gcc::jit::recording::context::new_binary_op method in
2128 jit-recording.cc. */
2162 gcc::jit::binary_op_reproducer_strings[op],
2172 gcc::jit::recording::context::new_comparison method in
2173 jit-recording.cc. */
2208 gcc::jit::recording::context::new_call method in
2209 jit-recording.cc. */
2245 gcc::jit::recording::param *param = func->get_param (i);
2275 (gcc::jit::recording::rvalue **)args);
2281 gcc::jit::recording::context::new_call_through_ptr method in
2282 jit-recording.cc. */
2297 gcc::jit::recording::type *ptr_type = fn_ptr->get_type ()->dereference ();
2305 gcc::jit::recording::function_type *fn_type =
2335 gcc::jit::recording::type *param_type = fn_type->get_param_types ()[i];
2365 (gcc::jit::recording::rvalue **)args));
2378 is_valid_cast (gcc::jit::recording::type *src_type,
2401 gcc::jit::recording::type *deref_src_type = src_type->is_pointer ();
2402 gcc::jit::recording::type *deref_dst_type = dst_type->is_pointer ();
2412 gcc::jit::recording::context::new_cast method in jit-recording.cc. */
2439 gcc::jit::recording::context::new_bitcast method in jit-recording.c. */
2461 gcc::jit::recording::context::new_array_access method in
2462 jit-recording.cc. */
2494 gcc::jit::recording::memento::get_context method in
2495 jit-recording.h. */
2508 gcc::jit::recording::memento::get_debug_string method in
2509 jit-recording.cc. */
2522 gcc::jit::recording::lvalue::access_field method in
2523 jit-recording.cc. */
2531 gcc::jit::recording::context *ctxt = struct_->m_ctxt;
2538 gcc::jit::recording::type *underlying_type =
2554 gcc::jit::recording::rvalue::access_field method in
2555 jit-recording.cc. */
2563 gcc::jit::recording::context *ctxt = struct_->m_ctxt;
2570 gcc::jit::recording::type *underlying_type =
2586 gcc::jit::recording::rvalue::deference_field method in
2587 jit-recording.cc. */
2598 gcc::jit::recording::type *underlying_type =
2624 gcc::jit::recording::rvalue::deference method in
2625 jit-recording.cc. */
2635 gcc::jit::recording::type *underlying_type =
2658 gcc::jit::recording::lvalue::get_address method in jit-recording.cc. */
2674 gcc::jit::recording::lvalue::set_tls_model method in jit-recording.cc. */
2692 gcc::jit::recording::lvalue::set_link_section method in jit-recording.cc. */
2705 gcc::jit::recording::lvalue::get_alignment method in jit-recording.cc. */
2717 gcc::jit::recording::lvalue::set_alignment method in jit-recording.cc. */
2732 gcc::jit::recording::lvalue::set_register_name method in jit-recording.cc. */
2746 gcc::jit::recording::function::new_local method in jit-recording.cc. */
2755 gcc::jit::recording::context *ctxt = func->m_ctxt;
2781 gcc::jit::recording::block::add_eval method in jit-recording.cc. */
2789 gcc::jit::recording::context *ctxt = block->get_context ();
2794 gcc::jit::recording::statement *stmt = block->add_eval (loc, rvalue);
2807 gcc::jit::recording::block::add_assignment method in
2808 jit-recording.cc. */
2817 gcc::jit::recording::context *ctxt = block->get_context ();
2833 gcc::jit::recording::statement *stmt = block->add_assignment (loc, lvalue, rvalue);
2847 gcc::jit::recording::block::add_assignment_op method in
2848 jit-recording.cc. */
2858 gcc::jit::recording::context *ctxt = block->get_context ();
2879 gcc::jit::recording::statement *stmt = block->add_assignment_op (loc, lvalue, op, rvalue);
2896 gcc::jit::recording::type *actual_type = boolval->get_type ();
2897 gcc::jit::recording::type *bool_type =
2905 gcc::jit::recording::block::end_with_conditional method in
2906 jit-recording.cc. */
2916 gcc::jit::recording::context *ctxt = block->get_context ();
2948 gcc::jit::recording::statement *stmt = block->end_with_conditional (loc, boolval, on_true, on_false);
2961 gcc::jit::recording::block::add_comment method in
2962 jit-recording.cc. */
2970 gcc::jit::recording::context *ctxt = block->get_context ();
2981 gcc::jit::recording::block::end_with_jump method in
2982 jit-recording.cc. */
2990 gcc::jit::recording::context *ctxt = block->get_context ();
3011 gcc::jit::recording::block::end_with_return method in
3012 jit-recording.cc. */
3020 gcc::jit::recording::context *ctxt = block->get_context ();
3023 gcc::jit::recording::function *func = block->get_function ();
3037 gcc::jit::recording::statement *stmt = block->end_with_return (loc, rvalue);
3050 gcc::jit::recording::block::end_with_return method in
3051 jit-recording.cc. */
3058 gcc::jit::recording::context *ctxt = block->get_context ();
3061 gcc::jit::recording::function *func = block->get_function ();
3076 gcc::jit::recording::context::new_case method in
3077 jit-recording.cc. */
3129 gcc::jit::recording::memento::as_object method (a case is a
3130 memento), in jit-recording.h. */
3144 valid_dest_for_switch (gcc::jit::recording::context *ctxt,
3147 gcc::jit
3148 gcc::jit::recording::block *dest_block,
3156 gcc::jit::recording::function *switch_fn = switch_block->get_function ();
3157 gcc::jit::recording::function *dest_fn = dest_block->get_function ();
3179 valid_case_for_switch (gcc::jit::recording::context *ctxt,
3203 gcc::jit::recording::type *expr_type = expr->get_type ();
3243 api_call_validator (gcc::jit::recording::context *ctxt,
3252 gcc::jit::recording::context *m_ctxt;
3263 case_range_validator (gcc::jit::recording::context *ctxt,
3272 case_compare (gcc::jit::recording::rvalue *k1,
3273 gcc::jit::recording::rvalue *k2);
3276 get_wide_int (gcc::jit::recording::rvalue *k);
3279 typed_splay_tree <gcc::jit::recording::rvalue *, gcc_jit_case *> m_cases;
3284 case_range_validator::case_range_validator (gcc::jit::recording::context *ctxt,
3373 case_range_validator::case_compare (gcc::jit::recording::rvalue * k1,
3374 gcc::jit::recording::rvalue * k2)
3384 case_range_validator::get_wide_int (gcc::jit::recording::rvalue *k)
3395 gcc::jit::recording::block::end_with_switch method in
3396 jit-recording.cc. */
3407 gcc::jit::recording::context *ctxt = block->get_context ();
3412 gcc::jit::recording::type *expr_type = expr->get_type ();
3446 (gcc::jit::recording::case_ **)cases);
3456 gcc::jit::recording::context::set_str_option method in
3457 jit-recording.cc. */
3475 gcc::jit::recording::context::set_int_option method in
3476 jit-recording.cc. */
3493 gcc::jit::recording::context::set_bool_option method in
3494 jit-recording.cc. */
3511 gcc::jit::recording::context::set_inner_bool_option method in
3512 jit-recording.cc. */
3521 gcc::jit::INNER_BOOL_OPTION_ALLOW_UNREACHABLE_BLOCKS,
3528 gcc::jit::recording::context::set_inner_bool_option method in
3529 jit-recording.cc. */
3538 gcc::jit::INNER_BOOL_OPTION_PRINT_ERRORS_TO_STDERR,
3545 gcc::jit::recording::context::set_inner_bool_option method in
3546 jit-recording.cc. */
3555 gcc::jit::INNER_BOOL_OPTION_USE_EXTERNAL_DRIVER,
3562 gcc::jit::recording::context::add_command_line_option method in
3563 jit-recording.cc. */
3581 gcc::jit::recording::context::add_driver_option method in
3582 jit-recording.cc. */
3600 gcc::jit::recording::context::enable_dump method in
3601 jit-recording.cc. */
3619 gcc::jit::recording::context::compile method in
3620 jit-recording.cc. */
3642 gcc::jit::recording::context::compile_to_file method in
3643 jit-recording.cc. */
3671 gcc::jit::recording::context::dump_to_file method in
3672 jit-recording.cc. */
3698 gcc::jit::logger *logger;
3700 logger = new gcc::jit::logger (logfile, flags, verbosity);
3709 gcc::jit::recording::context::dump_reproducer_to_file method in
3710 jit-recording.cc. */
3725 gcc::jit::recording::context::get_first_error method in
3726 jit-recording.cc. */
3740 gcc::jit::recording::context::get_last_error method in
3741 jit-recording.cc. */
3754 gcc::jit::result::get_code method in jit-result.cc. */
3774 gcc::jit::result::get_global method in jit-result.cc. */
3793 destructor for gcc::jit::result in jit-result.cc. */
3911 gcc::jit::base_call::set_require_tail_call setter in jit-recording.h. */
3921 gcc::jit::recording::base_call *call = rvalue->dyn_cast_base_call ();
3931 gcc::jit::recording::type::get_aligned method, in
3932 jit-recording.cc. */
3940 gcc::jit::recording::context *ctxt = type->m_ctxt;
3956 gcc::jit::recording::type::get_vector method, in
3957 jit-recording.cc. */
3964 gcc::jit::recording::context *ctxt = type->m_ctxt;
3984 gcc::jit::recording::function::get_address method, in
3985 jit-recording.cc. */
3993 gcc::jit::recording::context *ctxt = fn->m_ctxt;
4004 gcc::jit::recording::context::new_rvalue_from_vector method, in
4005 jit-recording.cc. */
4021 gcc::jit::recording::vector_type *as_vec_type
4036 gcc::jit::recording::type *element_type
4056 (gcc::jit::recording::rvalue **)elements);
4110 gcc::jit::recording::block::add_extended_asm, in
4111 jit-recording.cc. */
4119 gcc::jit::recording::context *ctxt = block->get_context ();
4130 gcc::jit::recording::block::end_with_extended_asm_goto, in
4131 jit-recording.cc. */
4142 gcc::jit::recording::context *ctxt = block->get_context ();
4154 num_goto_blocks, (gcc::jit::recording::block **)goto_blocks,
4161 gcc::jit::recording::memento::as_object method (an extended_asm is a
4162 memento), in jit-recording.h. */
4175 gcc::jit::recording::extended_asm::set_volatile_flag, in
4176 jit-recording.cc. */
4189 gcc::jit::recording::extended_asm::set_inline_flag, in
4190 jit-recording.cc. */
4203 gcc::jit::recording::extended_asm::add_output_operand, in
4204 jit-recording.cc. */
4213 gcc::jit::recording::context *ctxt = ext_asm->get_context ();
4215 gcc::jit::recording::location *loc = ext_asm->get_loc ();
4227 gcc::jit::recording::extended_asm::add_input_operand, in
4228 jit-recording.cc. */
4237 gcc::jit::recording::context *ctxt = ext_asm->get_context ();
4239 gcc::jit::recording::location *loc = ext_asm->get_loc ();
4249 gcc::jit::recording::extended_asm::add_clobber, in
4250 jit-recording.cc. */
4257 gcc::jit::recording::context *ctxt = ext_asm->get_context ();
4259 gcc::jit::recording::location *loc = ext_asm->get_loc ();
4267 gcc::jit::recording::context::add_top_level_asm, in
4268 jit-recording.cc. */