Mercurial > hg > CbC > CbC_gcc
comparison gcc/output.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Declarations for insn-output.c and other code to write to asm_out_file. | 1 /* Declarations for insn-output.c and other code to write to asm_out_file. |
2 These functions are defined in final.c, and varasm.c. | 2 These functions are defined in final.c, and varasm.c. |
3 Copyright (C) 1987-2017 Free Software Foundation, Inc. | 3 Copyright (C) 1987-2018 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
8 the terms of the GNU General Public License as published by the Free | 8 the terms of the GNU General Public License as published by the Free |
94 Defined in final.c. */ | 94 Defined in final.c. */ |
95 extern int insn_current_reference_address (rtx_insn *); | 95 extern int insn_current_reference_address (rtx_insn *); |
96 | 96 |
97 /* Find the alignment associated with a CODE_LABEL. | 97 /* Find the alignment associated with a CODE_LABEL. |
98 Defined in final.c. */ | 98 Defined in final.c. */ |
99 extern int label_to_alignment (rtx); | 99 extern align_flags label_to_alignment (rtx); |
100 | |
101 /* Find the alignment maximum skip associated with a CODE_LABEL. | |
102 Defined in final.c. */ | |
103 extern int label_to_max_skip (rtx); | |
104 | 100 |
105 /* Output a LABEL_REF, or a bare CODE_LABEL, as an assembler symbol. */ | 101 /* Output a LABEL_REF, or a bare CODE_LABEL, as an assembler symbol. */ |
106 extern void output_asm_label (rtx); | 102 extern void output_asm_label (rtx); |
107 | 103 |
108 /* Marks SYMBOL_REFs in x as referenced through use of assemble_external. */ | 104 /* Marks SYMBOL_REFs in x as referenced through use of assemble_external. */ |
147 /* Scan IN_RTX and its subexpressions, and renumber all regs into those | 143 /* Scan IN_RTX and its subexpressions, and renumber all regs into those |
148 available in leaf functions. */ | 144 available in leaf functions. */ |
149 extern void leaf_renumber_regs_insn (rtx); | 145 extern void leaf_renumber_regs_insn (rtx); |
150 | 146 |
151 /* Locate the proper template for the given insn-code. */ | 147 /* Locate the proper template for the given insn-code. */ |
152 extern const char *get_insn_template (int, rtx); | 148 extern const char *get_insn_template (int, rtx_insn *); |
153 | 149 |
154 /* Functions in varasm.c. */ | 150 /* Functions in varasm.c. */ |
155 | 151 |
156 /* Emit any pending weak declarations. */ | 152 /* Emit any pending weak declarations. */ |
157 extern void weak_finish (void); | 153 extern void weak_finish (void); |
305 sequence is being output, so it can be used as a test in the | 301 sequence is being output, so it can be used as a test in the |
306 insn output code. | 302 insn output code. |
307 | 303 |
308 This variable is defined in final.c. */ | 304 This variable is defined in final.c. */ |
309 extern rtx_sequence *final_sequence; | 305 extern rtx_sequence *final_sequence; |
310 | |
311 /* The line number of the beginning of the current function. Various | |
312 md code needs this so that it can output relative linenumbers. */ | |
313 | |
314 extern int sdb_begin_function_line; | |
315 | 306 |
316 /* File in which assembler code is being written. */ | 307 /* File in which assembler code is being written. */ |
317 | 308 |
318 #ifdef BUFSIZ | 309 #ifdef BUFSIZ |
319 extern FILE *asm_out_file; | 310 extern FILE *asm_out_file; |
555 extern void output_file_directive (FILE *, const char *); | 546 extern void output_file_directive (FILE *, const char *); |
556 | 547 |
557 extern unsigned int default_section_type_flags (tree, const char *, int); | 548 extern unsigned int default_section_type_flags (tree, const char *, int); |
558 | 549 |
559 extern bool have_global_bss_p (void); | 550 extern bool have_global_bss_p (void); |
560 extern bool bss_initializer_p (const_tree); | 551 extern bool bss_initializer_p (const_tree, bool = false); |
561 | 552 |
562 extern void default_no_named_section (const char *, unsigned int, tree); | 553 extern void default_no_named_section (const char *, unsigned int, tree); |
563 extern void default_elf_asm_named_section (const char *, unsigned int, tree); | 554 extern void default_elf_asm_named_section (const char *, unsigned int, tree); |
564 extern enum section_category categorize_decl_for_section (const_tree, int); | 555 extern enum section_category categorize_decl_for_section (const_tree, int); |
565 extern void default_coff_asm_named_section (const char *, unsigned int, tree); | 556 extern void default_coff_asm_named_section (const char *, unsigned int, tree); |