diff options
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 146 |
1 files changed, 73 insertions, 73 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index b5d629b4e21..648f9b8a601 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -321,8 +321,8 @@ struct GTY((desc("0"), tag("0"), 1 in a CALL_INSN if it is a sibling call. 1 in a SET that is for a return. In a CODE_LABEL, part of the two-bit alternate entry field. - 1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.c. - 1 in a VALUE is SP_BASED_VALUE_P in cselib.c. + 1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.cc. + 1 in a VALUE is SP_BASED_VALUE_P in cselib.cc. 1 in a SUBREG generated by LRA for reload insns. 1 in a REG if this is a static chain register. Dumped as "/j" in RTL dumps. */ @@ -331,7 +331,7 @@ struct GTY((desc("0"), tag("0"), 1 in a MEM if it cannot trap. 1 in a CALL_INSN logically equivalent to ECF_LOOPING_CONST_OR_PURE and DECL_LOOPING_CONST_OR_PURE_P. - 1 in a VALUE is SP_DERIVED_VALUE_P in cselib.c. + 1 in a VALUE is SP_DERIVED_VALUE_P in cselib.cc. Dumped as "/c" in RTL dumps. */ unsigned int call : 1; /* 1 in a REG, MEM, or CONCAT if the value is set at most once, anywhere. @@ -341,8 +341,8 @@ struct GTY((desc("0"), tag("0"), 1 in a CALL_INSN logically equivalent to ECF_CONST and TREE_READONLY. 1 in a NOTE, or EXPR_LIST for a const call. 1 in a JUMP_INSN of an annulling branch. - 1 in a CONCAT is VAL_EXPR_IS_CLOBBERED in var-tracking.c. - 1 in a preserved VALUE is PRESERVED_VALUE_P in cselib.c. + 1 in a CONCAT is VAL_EXPR_IS_CLOBBERED in var-tracking.cc. + 1 in a preserved VALUE is PRESERVED_VALUE_P in cselib.cc. 1 in a clobber temporarily created for LRA. Dumped as "/u" in RTL dumps. */ unsigned int unchanging : 1; @@ -357,7 +357,7 @@ struct GTY((desc("0"), tag("0"), In a SYMBOL_REF, this flag is used for machine-specific purposes. In a PREFETCH, this flag indicates that it should be considered a scheduling barrier. - 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.c. + 1 in a CONCAT is VAL_NEEDS_RESOLUTION in var-tracking.cc. Dumped as "/v" in RTL dumps. */ unsigned int volatil : 1; /* 1 in a REG if the register is used only in exit code a loop. @@ -381,8 +381,8 @@ struct GTY((desc("0"), tag("0"), in `leaf_renumber_regs_insn'. 1 in a SYMBOL_REF, means that emit_library_call has used it as the function. - 1 in a CONCAT is VAL_HOLDS_TRACK_EXPR in var-tracking.c. - 1 in a VALUE or DEBUG_EXPR is VALUE_RECURSED_INTO in var-tracking.c. */ + 1 in a CONCAT is VAL_HOLDS_TRACK_EXPR in var-tracking.cc. + 1 in a VALUE or DEBUG_EXPR is VALUE_RECURSED_INTO in var-tracking.cc. */ unsigned int used : 1; /* 1 in an INSN or a SET if this rtx is related to the call frame, either changing how we compute the frame address or saving and @@ -390,14 +390,14 @@ struct GTY((desc("0"), tag("0"), 1 in a REG or MEM if it is a pointer. 1 in a SYMBOL_REF if it addresses something in the per-function constant string pool. - 1 in a VALUE is VALUE_CHANGED in var-tracking.c. + 1 in a VALUE is VALUE_CHANGED in var-tracking.cc. Dumped as "/f" in RTL dumps. */ unsigned frame_related : 1; /* 1 in a REG or PARALLEL that is the current function's return value. 1 in a SYMBOL_REF for a weak symbol. 1 in a CALL_INSN logically equivalent to ECF_PURE and DECL_PURE_P. - 1 in a CONCAT is VAL_EXPR_HAS_REVERSE in var-tracking.c. - 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.c. + 1 in a CONCAT is VAL_EXPR_HAS_REVERSE in var-tracking.cc. + 1 in a VALUE or DEBUG_EXPR is NO_LOC_P in var-tracking.cc. Dumped as "/i" in RTL dumps. */ unsigned return_val : 1; @@ -1808,7 +1808,7 @@ extern const char * const note_insn_name[NOTE_INSN_MAX]; in the input source code. */ #define LABEL_NAME(RTX) XCSTR (RTX, 6, CODE_LABEL) -/* In jump.c, each label contains a count of the number +/* In jump.cc, each label contains a count of the number of LABEL_REFs that point at it, so unused labels can be deleted. */ #define LABEL_NUSES(RTX) XCINT (RTX, 4, CODE_LABEL) @@ -1862,7 +1862,7 @@ enum label_kind #define LABEL_ALT_ENTRY_P(LABEL) (LABEL_KIND (LABEL) != LABEL_NORMAL) -/* In jump.c, each JUMP_INSN can point to a label that it can jump to, +/* In jump.cc, each JUMP_INSN can point to a label that it can jump to, so that if the JUMP_INSN is deleted, the label's LABEL_NUSES can be decremented and possibly the label can be deleted. */ #define JUMP_LABEL(INSN) XCEXP (INSN, 7, JUMP_INSN) @@ -2046,7 +2046,7 @@ const_vector_encoded_nelts (const_rtx x) #define SUBREG_REG(RTX) XCEXP (RTX, 0, SUBREG) #define SUBREG_BYTE(RTX) XCSUBREG (RTX, 1, SUBREG) -/* in rtlanal.c */ +/* in rtlanal.cc */ /* Return the right cost to give to an operation to make the cost of the corresponding register-to-register instruction N times that of a fast register-to-register instruction. */ @@ -2711,7 +2711,7 @@ do { \ (RTL_FLAG_CHECK1 ("CONSTANT_POOL_ADDRESS_P", (RTX), SYMBOL_REF)->unchanging) /* 1 if RTX is a symbol_ref that addresses a value in the file's - tree constant pool. This information is private to varasm.c. */ + tree constant pool. This information is private to varasm.cc. */ #define TREE_CONSTANT_POOL_ADDRESS_P(RTX) \ (RTL_FLAG_CHECK1 ("TREE_CONSTANT_POOL_ADDRESS_P", \ (RTX), SYMBOL_REF)->frame_related) @@ -2962,13 +2962,13 @@ get_full_set_src_cost (rtx x, machine_mode mode, struct full_rtx_costs *c) && IN_RANGE ((SIZE), 1, (unsigned HOST_WIDE_INT) (RANGE) \ - (unsigned HOST_WIDE_INT)(POS))) -/* In explow.c */ +/* In explow.cc */ extern HOST_WIDE_INT trunc_int_for_mode (HOST_WIDE_INT, machine_mode); extern poly_int64 trunc_int_for_mode (poly_int64, machine_mode); extern rtx plus_constant (machine_mode, rtx, poly_int64, bool = false); extern HOST_WIDE_INT get_stack_check_protect (void); -/* In rtl.c */ +/* In rtl.cc */ extern rtx rtx_alloc (RTX_CODE CXX_MEM_STAT_INFO); inline rtx rtx_init (rtx rt, RTX_CODE code) @@ -2993,10 +2993,10 @@ extern rtx copy_rtx (rtx); extern enum rtx_code classify_insn (rtx); extern void dump_rtx_statistics (void); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx copy_rtx_if_shared (rtx); -/* In rtl.c */ +/* In rtl.cc */ extern unsigned int rtx_size (const_rtx); extern rtx shallow_copy_rtx (const_rtx CXX_MEM_STAT_INFO); extern int rtx_equal_p (const_rtx, const_rtx); @@ -3056,7 +3056,7 @@ unwrap_const_vec_duplicate (T x) return x; } -/* In emit-rtl.c. */ +/* In emit-rtl.cc. */ extern wide_int const_vector_int_elt (const_rtx, unsigned int); extern rtx const_vector_elt (const_rtx, unsigned int); extern bool const_vec_series_p_1 (const_rtx, rtx *, rtx *); @@ -3133,7 +3133,7 @@ subreg_promoted_mode (rtx x) return as_a <scalar_int_mode> (GET_MODE (SUBREG_REG (x))); } -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtvec gen_rtvec_v (int, rtx *); extern rtvec gen_rtvec_v (int, rtx_insn **); extern rtx gen_reg_rtx (machine_mode); @@ -3143,15 +3143,15 @@ extern rtx gen_reg_rtx_and_attrs (rtx); extern rtx_code_label *gen_label_rtx (void); extern rtx gen_lowpart_common (machine_mode, rtx); -/* In cse.c */ +/* In cse.cc */ extern rtx gen_lowpart_if_possible (machine_mode, rtx); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx gen_highpart (machine_mode, rtx); extern rtx gen_highpart_mode (machine_mode, machine_mode, rtx); extern rtx operand_subword (rtx, poly_uint64, int, machine_mode); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx operand_subword_force (rtx, poly_uint64, machine_mode); extern int subreg_lowpart_p (const_rtx); extern poly_uint64 subreg_size_lowpart_offset (poly_uint64, poly_uint64); @@ -3286,10 +3286,10 @@ extern rtx immed_double_const (HOST_WIDE_INT, HOST_WIDE_INT, #endif extern rtx immed_wide_int_const (const poly_wide_int_ref &, machine_mode); -/* In varasm.c */ +/* In varasm.cc */ extern rtx force_const_mem (machine_mode, rtx); -/* In varasm.c */ +/* In varasm.cc */ struct function; extern rtx get_pool_constant (const_rtx); @@ -3298,7 +3298,7 @@ extern fixed_size_mode get_pool_mode (const_rtx); extern rtx simplify_subtraction (rtx); extern void decide_function_section (tree); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx_insn *emit_insn_before (rtx, rtx_insn *); extern rtx_insn *emit_insn_before_noloc (rtx, rtx_insn *, basic_block); extern rtx_insn *emit_insn_before_setloc (rtx, rtx_insn *, location_t); @@ -3364,14 +3364,14 @@ extern rtx_insn *prev_active_insn (rtx_insn *); extern rtx_insn *next_active_insn (rtx_insn *); extern int active_insn_p (const rtx_insn *); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern int insn_line (const rtx_insn *); extern const char * insn_file (const rtx_insn *); extern tree insn_scope (const rtx_insn *); extern expanded_location insn_location (const rtx_insn *); extern location_t prologue_location, epilogue_location; -/* In jump.c */ +/* In jump.cc */ extern enum rtx_code reverse_condition (enum rtx_code); extern enum rtx_code reverse_condition_maybe_unordered (enum rtx_code); extern enum rtx_code swap_condition (enum rtx_code); @@ -3388,19 +3388,19 @@ unsigned_condition_p (enum rtx_code code) return unsigned_condition (code) == code; } -/* In jump.c */ +/* In jump.cc */ extern rtx_insn *delete_related_insns (rtx); -/* In recog.c */ +/* In recog.cc */ extern rtx *find_constant_term_loc (rtx *); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx_insn *try_split (rtx, rtx_insn *, int); -/* In insn-recog.c (generated by genrecog). */ +/* In insn-recog.cc (generated by genrecog). */ extern rtx_insn *split_insns (rtx, rtx_insn *); -/* In simplify-rtx.c */ +/* In simplify-rtx.cc */ /* A class that records the context in which a simplification is being mode. */ @@ -3566,18 +3566,18 @@ extern bool val_signbit_known_set_p (machine_mode, extern bool val_signbit_known_clear_p (machine_mode, unsigned HOST_WIDE_INT); -/* In reginfo.c */ +/* In reginfo.cc */ extern machine_mode choose_hard_reg_mode (unsigned int, unsigned int, const predefined_function_abi *); extern const HARD_REG_SET &simplifiable_subregs (const subreg_shape &); -/* In emit-rtl.c */ +/* In emit-rtl.cc */ extern rtx set_for_reg_notes (rtx); extern rtx set_unique_reg_note (rtx, enum reg_note, rtx); extern rtx set_dst_reg_note (rtx, enum reg_note, rtx, rtx); extern void set_insn_deleted (rtx_insn *); -/* Functions in rtlanal.c */ +/* Functions in rtlanal.cc */ extern rtx single_set_2 (const rtx_insn *, const_rtx); extern rtx simple_regno_set (rtx, unsigned int); @@ -3750,7 +3750,7 @@ extern void subreg_get_info (unsigned int, machine_mode, poly_uint64, machine_mode, struct subreg_info *); -/* lists.c */ +/* lists.cc */ extern void free_EXPR_LIST_list (rtx_expr_list **); extern void free_INSN_LIST_list (rtx_insn_list **); @@ -3766,7 +3766,7 @@ extern rtx_insn *remove_free_INSN_LIST_node (rtx_insn_list **); extern rtx remove_free_EXPR_LIST_node (rtx_expr_list **); -/* reginfo.c */ +/* reginfo.cc */ /* Resize reg info. */ extern bool resize_reg_info (void); @@ -3775,7 +3775,7 @@ extern void free_reg_info (void); extern void init_subregs_of_mode (void); extern void finish_subregs_of_mode (void); -/* recog.c */ +/* recog.cc */ extern rtx extract_asm_operands (rtx); extern int asm_noperands (const_rtx); extern const char *decode_asm_operands (rtx, rtx *, rtx **, const char **, @@ -3971,7 +3971,7 @@ get_mem_attrs (const_rtx x) /* There are some RTL codes that require special attention; the generation functions included above do the raw handling. If you - add to this list, modify special_rtx in gengenrtl.c as well. */ + add to this list, modify special_rtx in gengenrtl.cc as well. */ extern rtx_expr_list *gen_rtx_EXPR_LIST (machine_mode, rtx, rtx); extern rtx_insn_list *gen_rtx_INSN_LIST (machine_mode, rtx, rtx); @@ -4089,7 +4089,7 @@ extern rtx output_constant_def (tree, int); extern rtx lookup_constant_def (tree); /* Nonzero after end of reload pass. - Set to 1 or 0 by reload1.c. */ + Set to 1 or 0 by reload1.cc. */ extern int reload_completed; @@ -4111,7 +4111,7 @@ extern int lra_in_progress; #ifdef STACK_REGS /* Nonzero after end of regstack pass. - Set to 1 or 0 by reg-stack.c. */ + Set to 1 or 0 by reg-stack.cc. */ extern int regstack_completed; #endif @@ -4129,15 +4129,15 @@ extern int cse_not_expected; extern int rtx_to_tree_code (enum rtx_code); -/* In cse.c */ +/* In cse.cc */ extern int delete_trivially_dead_insns (rtx_insn *, int); extern int exp_equiv_p (const_rtx, const_rtx, int, bool); extern unsigned hash_rtx (const_rtx x, machine_mode, int *, int *, bool); -/* In dse.c */ +/* In dse.cc */ extern bool check_for_inc_dec (rtx_insn *insn); -/* In jump.c */ +/* In jump.cc */ extern int comparison_dominates_p (enum rtx_code, enum rtx_code); extern bool jump_to_label_p (const rtx_insn *); extern int condjump_p (const rtx_insn *); @@ -4166,7 +4166,7 @@ extern enum rtx_code reversed_comparison_code_parts (enum rtx_code, const_rtx, extern void delete_for_peephole (rtx_insn *, rtx_insn *); extern int condjump_in_parallel_p (const rtx_insn *); -/* In emit-rtl.c. */ +/* In emit-rtl.cc. */ extern int max_reg_num (void); extern int max_label_num (void); extern int get_first_label_num (void); @@ -4204,23 +4204,23 @@ extern rtx gen_tmp_stack_mem (machine_mode, rtx); extern bool validate_subreg (machine_mode, machine_mode, const_rtx, poly_uint64); -/* In combine.c */ +/* In combine.cc */ extern unsigned int extended_count (const_rtx, machine_mode, int); extern rtx remove_death (unsigned int, rtx_insn *); extern void dump_combine_stats (FILE *); extern void dump_combine_total_stats (FILE *); extern rtx make_compound_operation (rtx, enum rtx_code); -/* In sched-rgn.c. */ +/* In sched-rgn.cc. */ extern void schedule_insns (void); -/* In sched-ebb.c. */ +/* In sched-ebb.cc. */ extern void schedule_ebbs (void); -/* In sel-sched-dump.c. */ +/* In sel-sched-dump.cc. */ extern void sel_sched_fix_param (const char *param, const char *val); -/* In print-rtl.c */ +/* In print-rtl.cc */ extern const char *print_rtx_head; extern void debug (const rtx_def &ref); extern void debug (const rtx_def *ptr); @@ -4235,7 +4235,7 @@ extern int print_rtl_single (FILE *, const_rtx); extern int print_rtl_single_with_indent (FILE *, const_rtx, int); extern void print_inline_rtx (FILE *, const_rtx, int); -/* In stmt.c */ +/* In stmt.cc */ extern void expand_null_return (void); extern void expand_naked_return (void); extern void emit_jump (rtx); @@ -4255,33 +4255,33 @@ enum memop_ret RETURN_END_MINUS_ONE }; -/* In expr.c */ +/* In expr.cc */ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT, unsigned int, memop_ret); extern poly_int64 find_args_size_adjust (rtx_insn *); extern poly_int64 fixup_args_size_notes (rtx_insn *, rtx_insn *, poly_int64); -/* In expmed.c */ +/* In expmed.cc */ extern void init_expmed (void); extern void expand_inc (rtx, rtx); extern void expand_dec (rtx, rtx); -/* In lower-subreg.c */ +/* In lower-subreg.cc */ extern void init_lower_subreg (void); -/* In gcse.c */ +/* In gcse.cc */ extern bool can_copy_p (machine_mode); extern bool can_assign_to_reg_without_clobbers_p (rtx, machine_mode); extern rtx_insn *prepare_copy_insn (rtx, rtx); -/* In cprop.c */ +/* In cprop.cc */ extern rtx fis_get_condition (rtx_insn *); -/* In ira.c */ +/* In ira.cc */ extern HARD_REG_SET eliminable_regset; extern void mark_elimination (int, int); -/* In reginfo.c */ +/* In reginfo.cc */ extern int reg_classes_intersect_p (reg_class_t, reg_class_t); extern int reg_class_subset_p (reg_class_t, reg_class_t); extern void globalize_reg (tree, int); @@ -4296,10 +4296,10 @@ extern void reg_scan (rtx_insn *, unsigned int); extern void fix_register (const char *, int, int); extern const HARD_REG_SET *valid_mode_changes_for_regno (unsigned int); -/* In reload1.c */ +/* In reload1.cc */ extern int function_invariant_p (const_rtx); -/* In calls.c */ +/* In calls.cc */ enum libcall_type { LCT_NORMAL = 0, @@ -4443,17 +4443,17 @@ emit_library_call_value (rtx fun, rtx value, libcall_type fn_type, return emit_library_call_value_1 (1, fun, value, fn_type, outmode, 4, args); } -/* In varasm.c */ +/* In varasm.cc */ extern void init_varasm_once (void); extern rtx make_debug_expr_from_rtl (const_rtx); -/* In read-rtl.c */ +/* In read-rtl.cc */ #ifdef GENERATOR_FILE extern bool read_rtx (const char *, vec<rtx> *); #endif -/* In alias.c */ +/* In alias.cc */ extern rtx canon_rtx (rtx); extern int true_dependence (const_rtx, machine_mode, const_rtx); extern rtx get_addr (rtx); @@ -4483,22 +4483,22 @@ extern rtx extract_mem_from_operand (rtx); extern int stack_regs_mentioned (const_rtx insn); #endif -/* In toplev.c */ +/* In toplev.cc */ extern GTY(()) rtx stack_limit_rtx; -/* In var-tracking.c */ +/* In var-tracking.cc */ extern unsigned int variable_tracking_main (void); extern void delete_vta_debug_insns (bool); -/* In stor-layout.c. */ +/* In stor-layout.cc. */ extern void get_mode_bounds (scalar_int_mode, int, scalar_int_mode, rtx *, rtx *); -/* In loop-iv.c */ +/* In loop-iv.cc */ extern rtx canon_condition (rtx); extern void simplify_using_condition (rtx, rtx *, bitmap); -/* In final.c */ +/* In final.cc */ extern unsigned int compute_alignments (void); extern void update_alignments (vec<rtx> &); extern int asm_str_count (const char *templ); @@ -4531,7 +4531,7 @@ extern void set_curr_insn_location (location_t); extern location_t curr_insn_location (void); extern void set_insn_locations (rtx_insn *, location_t); -/* rtl-error.c */ +/* rtl-error.cc */ extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *) ATTRIBUTE_NORETURN ATTRIBUTE_COLD; extern void _fatal_insn (const char *, const_rtx, const char *, int, const char *) @@ -4542,7 +4542,7 @@ extern void _fatal_insn (const char *, const_rtx, const char *, int, const char #define fatal_insn_not_found(insn) \ _fatal_insn_not_found (insn, __FILE__, __LINE__, __FUNCTION__) -/* reginfo.c */ +/* reginfo.cc */ extern tree GTY(()) global_regs_decl[FIRST_PSEUDO_REGISTER]; /* Information about the function that is propagated by the RTL backend. @@ -4605,7 +4605,7 @@ word_register_operation_p (const_rtx x) } } -/* gtype-desc.c. */ +/* gtype-desc.cc. */ extern void gt_ggc_mx (rtx &); extern void gt_pch_nx (rtx &); extern void gt_pch_nx (rtx &, gt_pointer_operator, void *); |