X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Freload.h;h=05ee881bcf9e79b6c155dfd3d62bd864338a1f66;hb=2cd45f0e6826ddcc92216a508104b2802eddece3;hp=c9df112b2d02490b5bd8eb7091a4e6e91d07ea35;hpb=6f76a8788eebd50b78213f086166889167f0fcb2;p=gcc.git diff --git a/gcc/reload.h b/gcc/reload.h index c9df112b2d0..05ee881bcf9 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -243,23 +243,21 @@ typedef struct reg_equivs } reg_equivs_t; #define reg_equiv_constant(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->constant + (*reg_equivs)[(ELT)].constant #define reg_equiv_invariant(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->invariant + (*reg_equivs)[(ELT)].invariant #define reg_equiv_memory_loc(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->memory_loc + (*reg_equivs)[(ELT)].memory_loc #define reg_equiv_address(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->address + (*reg_equivs)[(ELT)].address #define reg_equiv_mem(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->mem + (*reg_equivs)[(ELT)].mem #define reg_equiv_alt_mem_list(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->alt_mem_list + (*reg_equivs)[(ELT)].alt_mem_list #define reg_equiv_init(ELT) \ - VEC_index (reg_equivs_t, reg_equivs, (ELT))->init + (*reg_equivs)[(ELT)].init -DEF_VEC_O(reg_equivs_t); -DEF_VEC_ALLOC_O(reg_equivs_t, gc); -extern VEC(reg_equivs_t,gc) *reg_equivs; +extern vec *reg_equivs; /* All the "earlyclobber" operands of the current insn are recorded here. */ @@ -411,16 +409,13 @@ extern int push_reload (rtx, rtx, rtx *, rtx *, enum reg_class, enum machine_mode, enum machine_mode, int, int, int, enum reload_type); -/* Functions in postreload.c: */ -extern void reload_cse_regs (rtx); - /* Functions in reload1.c: */ /* Initialize the reload pass once per compilation. */ extern void init_reload (void); /* The reload pass itself. */ -extern int reload (rtx, int); +extern bool reload (rtx, int); /* Mark the slots in regs_ever_live for the hard regs used by pseudo-reg number REGNO. */ @@ -463,9 +458,5 @@ extern void debug_reload (void); reloading to/from a register that is wider than a word. */ extern rtx reload_adjust_reg_for_mode (rtx, enum machine_mode); -/* Ideally this function would be in ira.c or reload, but due to dependencies - on integrate.h, it's part of integrate.c. */ -extern void allocate_initial_values (VEC (reg_equivs_t, gc) *); - /* Allocate or grow the reg_equiv tables, initializing new entries to 0. */ extern void grow_reg_equivs (void);