Home
last modified time | relevance | path

Searched refs:asmspec (Results 1 – 18 of 18) sorted by relevance

/openbsd-src/gnu/gcc/gcc/
H A Dtarghooks.c399 init_stack_smash_fn (tree decl, const char *asmspec) in init_stack_smash_fn() argument
422 if (asmspec) in init_stack_smash_fn()
423 set_user_assembler_name (stack_smash_fn, asmspec); in init_stack_smash_fn()
H A Dvarasm.c768 decode_reg_name (const char *asmspec) in decode_reg_name() argument
770 if (asmspec != 0) in decode_reg_name()
775 asmspec = strip_reg_name (asmspec); in decode_reg_name()
778 for (i = strlen (asmspec) - 1; i >= 0; i--) in decode_reg_name()
779 if (! ISDIGIT (asmspec[i])) in decode_reg_name()
781 if (asmspec[0] != 0 && i < 0) in decode_reg_name()
783 i = atoi (asmspec); in decode_reg_name()
792 && ! strcmp (asmspec, strip_reg_name (reg_names[i]))) in decode_reg_name()
802 && ! strcmp (asmspec, table[i].name)) in decode_reg_name()
807 if (!strcmp (asmspec, "memory")) in decode_reg_name()
[all …]
H A Dc-decl.c3362 const char *asmspec = 0; in finish_decl() local
3369 asmspec = TREE_STRING_POINTER (asmspec_tree); in finish_decl()
3516 if (asmspec) in finish_decl()
3524 set_builtin_user_assembler_name (decl, asmspec); in finish_decl()
3527 init_stack_smash_fn (decl, asmspec); in finish_decl()
3528 set_user_assembler_name (decl, asmspec); in finish_decl()
3542 set_user_assembler_name (decl, asmspec); in finish_decl()
3560 if (asmspec && C_DECL_REGISTER (decl)) in finish_decl()
H A Dc-common.h683 extern void set_builtin_user_assembler_name (tree decl, const char *asmspec);
H A Dc-common.c3409 set_builtin_user_assembler_name (tree decl, const char *asmspec) in set_builtin_user_assembler_name() argument
3414 && asmspec != 0); in set_builtin_user_assembler_name()
3417 set_user_assembler_name (builtin, asmspec); in set_builtin_user_assembler_name()
3419 init_block_move_fn (decl, asmspec); in set_builtin_user_assembler_name()
3421 init_block_clear_fn (decl, asmspec); in set_builtin_user_assembler_name()
H A Dexpr.c1396 init_block_move_fn (tree decl, const char *asmspec) in init_block_move_fn() argument
1421 if (asmspec) in init_block_move_fn()
1422 set_user_assembler_name (block_move_fn, asmspec); in init_block_move_fn()
2603 init_block_clear_fn (tree decl, const char *asmspec) in init_block_clear_fn() argument
2628 if (asmspec) in init_block_clear_fn()
2629 set_user_assembler_name (block_clear_fn, asmspec); in init_block_clear_fn()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dvarasm.c714 decode_reg_name (asmspec) in decode_reg_name() argument
715 const char *asmspec; in decode_reg_name()
717 if (asmspec != 0)
722 asmspec = strip_reg_name (asmspec);
725 for (i = strlen (asmspec) - 1; i >= 0; i--)
726 if (! ISDIGIT (asmspec[i]))
728 if (asmspec[0] != 0 && i < 0)
730 i = atoi (asmspec);
739 && ! strcmp (asmspec, strip_reg_name (reg_names[i])))
748 if (! strcmp (asmspec, table[i].name))
[all …]
H A Dc-semantics.c230 const char *asmspec = NULL; local
255 asmspec = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
257 rest_of_decl_compilation (decl, asmspec, /*top_level=*/0, /*at_end=*/0);
H A Dtoplev.c2287 rest_of_decl_compilation (decl, asmspec, top_level, at_end) in rest_of_decl_compilation() argument
2289 const char *asmspec;
2321 if (asmspec)
2322 make_decl_rtl (decl, asmspec);
2336 else if (DECL_REGISTER (decl) && asmspec != 0)
2338 if (decode_reg_name (asmspec) >= 0)
2341 make_decl_rtl (decl, asmspec);
2345 error ("invalid register name `%s' for register variable", asmspec);
H A Dc-decl.c2991 const char *asmspec = 0; local
2997 asmspec = TREE_STRING_POINTER (asmspec_tree);
3097 if (TREE_CODE (decl) == FUNCTION_DECL && asmspec)
3101 SET_DECL_ASSEMBLER_NAME (decl, get_identifier (asmspec));
3122 rest_of_decl_compilation (decl, asmspec,
3130 if (asmspec)
3149 SET_DECL_ASSEMBLER_NAME (decl, get_identifier (asmspec));
H A Dc-typeck.c5058 const char *asmspec; member
5084 const char *asmspec = 0; local
5087 asmspec = TREE_STRING_POINTER (asmspec_tree);
5090 p->asmspec = constructor_asmspec;
5105 constructor_asmspec = asmspec;
5167 constructor_asmspec = p->asmspec; in finish_init()
H A DChangeLog.48986 DECL_ASSEMBLER_NAME set for decls with an asmspec.
H A DChangeLog.715124 without asmspec. Invoke assemble_alias when needed.
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dparse.y197 parse_end_decl (decl, init, asmspec) in parse_end_decl() argument
198 tree decl, init, asmspec; in parse_end_decl()
204 cp_finish_decl (decl, init, asmspec, init ? LOOKUP_ONLYCONVERTING : 0);
208 parse_field (declarator, attributes, asmspec, init) in parse_field() argument
209 tree declarator, attributes, asmspec, init; in parse_field()
211 tree d = grokfield (declarator, current_declspecs, init, asmspec,
218 parse_field0 (declarator, specs_attrs, lookups, attributes, asmspec, init) in parse_field0() argument
219 tree declarator, specs_attrs, lookups, attributes, asmspec, init; in parse_field0()
222 return parse_field (declarator, attributes, asmspec, init);
H A Ddecl2.c877 const char *asmspec = 0; local
973 asmspec = TREE_STRING_POINTER (asmspec_tree);
1037 if (asmspec)
1048 if (asmspec)
1053 SET_DECL_ASSEMBLER_NAME (value, get_identifier (asmspec));
H A Ddecl.c8629 make_rtl_for_nonlocal_decl (decl, init, asmspec) in make_rtl_for_nonlocal_decl() argument
8632 const char *asmspec;
8640 rest_of_decl_compilation (decl, asmspec, toplev, at_eof);
8656 if (asmspec)
8658 SET_DECL_ASSEMBLER_NAME (decl, get_identifier (asmspec));
8703 if (defer_p && asmspec)
8704 make_decl_rtl (decl, asmspec);
8707 rest_of_decl_compilation (decl, asmspec, toplev, at_eof);
8847 const char *asmspec = NULL; local
8864 asmspec = TREE_STRING_POINTER (asmspec_tree);
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Ddecl2.c764 const char *asmspec = 0; in grokfield() local
831 asmspec = TREE_STRING_POINTER (asmspec_tree); in grokfield()
896 if (asmspec) in grokfield()
907 if (asmspec) in grokfield()
908 set_user_assembler_name (value, asmspec); in grokfield()
H A Ddecl.c4930 make_rtl_for_nonlocal_decl (tree decl, tree init, const char* asmspec) in make_rtl_for_nonlocal_decl() argument
4937 if (asmspec) in make_rtl_for_nonlocal_decl()
4944 set_user_assembler_name (decl, asmspec); in make_rtl_for_nonlocal_decl()
4951 set_builtin_user_assembler_name (decl, asmspec); in make_rtl_for_nonlocal_decl()
4952 set_user_assembler_name (decl, asmspec); in make_rtl_for_nonlocal_decl()
5143 const char *asmspec = NULL; in cp_finish_decl() local
5173 asmspec = TREE_STRING_POINTER (asmspec_tree); in cp_finish_decl()
5370 make_rtl_for_nonlocal_decl (decl, init, asmspec); in cp_finish_decl()