Searched refs:ctxt (Results 1 - 25 of 255) sorted by relevance

1234567891011

/haiku-buildtools/gcc/gcc/testsuite/jit.dg/
H A Dtest-error-index-not-a-numeric-type.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
15 gcc_jit_context_new_string_literal (ctxt,
19 ctxt, NULL,
25 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
30 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-missing-return.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
20 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
22 (void)gcc_jit_context_new_function (ctxt, NULL,
31 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
36 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-new-function-bad-kind.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
12 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
16 ctxt,
30 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
37 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-null-passed-to-api.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
12 gcc_jit_context_new_function (ctxt, NULL,
21 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
28 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
30 CHECK_STRING_VALUE (gcc_jit_context_get_last_error (ctxt),
H A Dtest-error-value-not-a-numeric-type.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
15 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
17 (void)gcc_jit_context_new_rvalue_from_double (ctxt, void_type, 42.0);
21 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
26 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-fibonacci.c10 create_code (gcc_jit_context *ctxt, void *user_data) argument
34 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
39 ctxt,
41 ctxt, __FILE__, FIRST_LINE + 1, 35),
45 gcc_jit_context_new_function (ctxt,
47 ctxt, __FILE__, FIRST_LINE, 17),
63 gcc_jit_context_new_location (ctxt, __FILE__, FIRST_LINE + 3, 19),
65 ctxt,
66 gcc_jit_context_new_location (ctxt, __FILE__, FIRST_LINE + 3, 25),
70 ctxt,
126 verify_code(gcc_jit_context *ctxt, gcc_jit_result *result) argument
[all...]
H A Dtest-error-param-sharing.c20 create_code (gcc_jit_context *ctxt, void *user_data) argument
26 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
28 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
32 gcc_jit_context_new_param (ctxt, NULL, int_type, "i");
35 gcc_jit_context_new_function (ctxt, NULL,
41 gcc_jit_context_new_function (ctxt, NULL,
50 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
55 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-call-through-ptr-with-mismatching-args.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
22 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
24 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID_PTR);
26 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
30 gcc_jit_context_new_function_ptr_type (ctxt, NULL,
36 gcc_jit_context_new_param (ctxt, NULL, fn_ptr_type, "some_fn_ptr");
39 gcc_jit_context_new_function (ctxt, NULL,
47 gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 42);
53 ctxt,
62 verify_code (gcc_jit_context *ctxt, gcc_jit_resul argument
[all...]
H A Dtest-error-call-with-mismatching-args.c20 create_code (gcc_jit_context *ctxt, void *user_data) argument
34 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
36 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID_PTR);
38 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
42 gcc_jit_context_new_param (ctxt, NULL, void_ptr_type, "ptr");
44 gcc_jit_context_new_function (ctxt, NULL,
53 gcc_jit_context_new_function (ctxt, NULL,
61 gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 42);
66 gcc_jit_context_new_call (ctxt,
75 verify_code (gcc_jit_context *ctxt, gcc_jit_resul argument
[all...]
H A Dtest-combination.c16 create_code (gcc_jit_context *ctxt, void * user_data) argument
19 testcases[i].m_hook_to_create_code (ctxt, user_data);
23 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
26 testcases[i].m_hook_to_verify_code (ctxt, result);
H A Dtest-error-get-type-bad-enum.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
12 gcc_jit_context_get_type (ctxt, 42);
16 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
23 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-new-binary-op-bad-op.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
13 ctxt,
26 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
33 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-new-unary-op-bad-op.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
13 ctxt,
25 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
32 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-pr63969-missing-driver.c13 create_code (gcc_jit_context *ctxt, void *user_data) argument
22 gcc_jit_context_set_str_option (ctxt, GCC_JIT_STR_OPTION_PROGNAME, NULL);
31 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
36 CHECK_STRING_STARTS_WITH (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-unrecognized-dump.c11 create_code (gcc_jit_context *ctxt, void *user_data) argument
13 gcc_jit_context_enable_dump (ctxt,
19 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
24 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-dereference-read-of-non-pointer.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
20 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
22 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
26 gcc_jit_context_new_param (ctxt, NULL, int_type, "i");
28 gcc_jit_context_new_function (ctxt, NULL,
46 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
51 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-param-reuse.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
15 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
17 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
21 gcc_jit_context_new_param (ctxt, NULL, int_type, "i");
28 gcc_jit_context_new_function (ctxt, NULL,
37 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
42 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-error-return-within-void-function.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
22 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
24 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
27 gcc_jit_context_new_function (ctxt, NULL,
38 gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 42));
42 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
49 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
H A Dtest-compile-to-dynamic-library.c12 create_code (gcc_jit_context *ctxt, void *user_data) argument
23 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
25 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CONST_CHAR_PTR);
27 gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "name");
29 gcc_jit_context_new_function (ctxt, NULL,
37 gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "format");
39 gcc_jit_context_new_function (ctxt, NULL,
42 ctxt, GCC_JIT_TYPE_INT),
47 args[0] = gcc_jit_context_new_string_literal (ctxt, "hello from %s\n");
58 gcc_jit_context_new_call (ctxt,
[all...]
H A Dtest-error-call-through-ptr-with-non-function.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
22 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
24 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID_PTR);
26 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
30 gcc_jit_context_new_param (ctxt, NULL, void_ptr_type, "some_ptr");
33 gcc_jit_context_new_function (ctxt, NULL,
40 gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 42);
47 ctxt,
56 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
61 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
[all...]
H A Dtest-error-param-used-from-other-function.c9 create_code (gcc_jit_context *ctxt, void *user_data) argument
27 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
29 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
32 gcc_jit_context_new_param (ctxt, NULL, int_type, "i");
34 gcc_jit_context_new_function (ctxt, NULL,
41 gcc_jit_context_new_function (ctxt, NULL,
54 ctxt, NULL,
58 gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 2)));
62 verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) argument
67 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
[all...]
H A Dtest-error-array-as-pointer.c14 create_code (gcc_jit_context *ctxt, void *user_data) argument
24 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
26 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CONST_CHAR_PTR);
28 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CHAR);
32 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
34 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_SIZE_T);
36 gcc_jit_context_new_array_type (ctxt, NULL, char_type, BUFFER_SIZE);
40 gcc_jit_context_new_param (ctxt, NULL, char_ptr_type, "s");
42 gcc_jit_context_new_param (ctxt, NULL, size_t_type, "n");
44 gcc_jit_context_new_param (ctxt, NUL
92 verify_code(gcc_jit_context *ctxt, gcc_jit_result *result) argument
[all...]
/haiku-buildtools/gcc/gcc/jit/docs/examples/
H A Dtut01-hello-world.c26 create_code (gcc_jit_context *ctxt) argument
36 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
38 gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CONST_CHAR_PTR);
40 gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "name");
42 gcc_jit_context_new_function (ctxt, NULL,
50 gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "format");
52 gcc_jit_context_new_function (ctxt, NULL,
55 ctxt, GCC_JIT_TYPE_INT),
60 args[0] = gcc_jit_context_new_string_literal (ctxt, "hello %s\n");
67 gcc_jit_context_new_call (ctxt,
77 gcc_jit_context *ctxt; local
[all...]
H A Dtut01-hello-world.cc26 create_code (gccjit::context ctxt) argument
35 gccjit::type void_type = ctxt.get_type (GCC_JIT_TYPE_VOID);
37 ctxt.get_type (GCC_JIT_TYPE_CONST_CHAR_PTR);
39 ctxt.new_param (const_char_ptr_type, "name");
43 ctxt.new_function (GCC_JIT_FUNCTION_EXPORTED,
49 ctxt.new_param (const_char_ptr_type, "format");
53 ctxt.new_function (GCC_JIT_FUNCTION_IMPORTED,
54 ctxt.get_type (GCC_JIT_TYPE_INT),
59 block.add_eval (ctxt.new_call (printf_func,
60 ctxt
68 gccjit::context ctxt; local
[all...]
/haiku-buildtools/gcc/gcc/
H A Dtree-pass.h123 gimple_opt_pass (const pass_data& data, gcc::context *ctxt) argument
124 : opt_pass (data, ctxt)
133 rtl_opt_pass (const pass_data& data, gcc::context *ctxt) argument
134 : opt_pass (data, ctxt)
175 ipa_opt_pass_d (const pass_data& data, gcc::context *ctxt, argument
185 : opt_pass (data, ctxt),
204 simple_ipa_opt_pass (const pass_data& data, gcc::context *ctxt) argument
205 : opt_pass (data, ctxt)
336 extern simple_ipa_opt_pass *make_pass_ipa_chkp_versioning (gcc::context *ctxt);
337 extern simple_ipa_opt_pass *make_pass_ipa_chkp_early_produce_thunks (gcc::context *ctxt);
[all...]

Completed in 72 milliseconds

1234567891011