File tree 7 files changed +0
-47
lines changed
7 files changed +0
-47
lines changed Original file line number Diff line number Diff line change @@ -227,22 +227,6 @@ static GTY(()) tree ix86_builtins[(int) IX86_BUILTIN_MAX + 1];
227
227
228
228
struct builtin_isa ix86_builtins_isa[(int ) IX86_BUILTIN_MAX];
229
229
230
- void
231
- ix86_cleanup_builtins (void )
232
- {
233
- for (int i = 0 ; i < IX86_BT_LAST_CPTR + 1 ; i++)
234
- ix86_builtin_type_tab[i] = NULL ;
235
-
236
- for (int i = 0 ; i < IX86_BUILTIN_MAX ; i++)
237
- {
238
- ix86_builtins[i] = NULL ;
239
- ix86_builtins_isa[i].set_and_not_built_p = true ;
240
- }
241
-
242
- for (int i = 0 ; i < IX86_BT_LAST_ALIAS + 1 ; i++)
243
- ix86_builtin_func_type_tab[i] = NULL ;
244
- }
245
-
246
230
tree get_ix86_builtin (enum ix86_builtins c)
247
231
{
248
232
return ix86_builtins[c];
Original file line number Diff line number Diff line change @@ -318,7 +318,6 @@ extern builtin_isa ix86_builtins_isa[(int) IX86_BUILTIN_MAX];
318
318
tree ix86_builtin_vectorized_function (unsigned int fn , tree type_out ,
319
319
tree type_in );
320
320
void ix86_init_builtins (void );
321
- void ix86_cleanup_builtins (void );
322
321
tree ix86_vectorize_builtin_gather (const_tree mem_vectype ,
323
322
const_tree index_type , int scale );
324
323
tree ix86_builtin_decl (unsigned code , bool );
Original file line number Diff line number Diff line change @@ -26538,8 +26538,6 @@ static const scoped_attribute_specs *const ix86_attribute_table[] =
26538
26538
26539
26539
#undef TARGET_INIT_BUILTINS
26540
26540
#define TARGET_INIT_BUILTINS ix86_init_builtins
26541
- #undef TARGET_CLEANUP_BUILTINS
26542
- #define TARGET_CLEANUP_BUILTINS ix86_cleanup_builtins
26543
26541
#undef TARGET_BUILTIN_DECL
26544
26542
#define TARGET_BUILTIN_DECL ix86_builtin_decl
26545
26543
#undef TARGET_EXPAND_BUILTIN
Original file line number Diff line number Diff line change @@ -12112,13 +12112,6 @@ only language front ends that use those two functions will call
12112
12112
@samp{TARGET_INIT_BUILTINS}.
12113
12113
@end deftypefn
12114
12114
12115
- @deftypefn {Target Hook} void TARGET_CLEANUP_BUILTINS (void)
12116
- Define this hook if you have any machine-specific built-in functions
12117
- that need to be cleaned up. It should be a function that performs the
12118
- necessary cleanup so that a second compilation in the same process via
12119
- the jit frontend will not fail.
12120
- @end deftypefn
12121
-
12122
12115
@deftypefn {Target Hook} tree TARGET_BUILTIN_DECL (unsigned @var{code}, bool @var{initialize_p})
12123
12116
Define this hook if you have any machine-specific built-in functions
12124
12117
that need to be defined. It should be a function that returns the
Original file line number Diff line number Diff line change @@ -7868,8 +7868,6 @@ to by @var{ce_info}.
7868
7868
7869
7869
@hook TARGET_INIT_BUILTINS
7870
7870
7871
- @hook TARGET_CLEANUP_BUILTINS
7872
-
7873
7871
@hook TARGET_BUILTIN_DECL
7874
7872
7875
7873
@hook TARGET_EXPAND_BUILTIN
Original file line number Diff line number Diff line change @@ -1088,12 +1088,6 @@ jit_langhook_init (void)
1088
1088
return true ;
1089
1089
}
1090
1090
1091
- void
1092
- jit_langhook_finish (void )
1093
- {
1094
- targetm.cleanup_builtins ();
1095
- }
1096
-
1097
1091
static void
1098
1092
jit_langhook_parse_file (void )
1099
1093
{
@@ -1461,9 +1455,6 @@ jit_langhook_eh_personality (void)
1461
1455
#undef LANG_HOOKS_INIT
1462
1456
#define LANG_HOOKS_INIT jit_langhook_init
1463
1457
1464
- #undef LANG_HOOKS_FINISH
1465
- #define LANG_HOOKS_FINISH jit_langhook_finish
1466
-
1467
1458
#undef LANG_HOOKS_PARSE_FILE
1468
1459
#define LANG_HOOKS_PARSE_FILE jit_langhook_parse_file
1469
1460
Original file line number Diff line number Diff line change @@ -2450,16 +2450,6 @@ only language front ends that use those two functions will call\n\
2450
2450
void, (void),
2451
2451
hook_void_void)
2452
2452
2453
- /* Clean up target-specific built-in functions. */
2454
- DEFHOOK
2455
- (cleanup_builtins,
2456
- "Define this hook if you have any machine-specific built-in functions\n\
2457
- that need to be cleaned up. It should be a function that performs the\n\
2458
- necessary cleanup so that a second compilation in the same process via\n\
2459
- the jit frontend will not fail.",
2460
- void, (void),
2461
- hook_void_void)
2462
-
2463
2453
/* Initialize (if INITIALIZE_P is true) and return the target-specific
2464
2454
built-in function decl for CODE.
2465
2455
Return NULL if that is not possible. Return error_mark_node if CODE
You can’t perform that action at this time.
0 commit comments