osprey/kg++fe/gnu/config/fr30/fr30.c File Reference

#include "config.h"
#include "system.h"
#include "rtl.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
#include "insn-config.h"
#include "conditions.h"
#include "output.h"
#include "insn-attr.h"
#include "flags.h"
#include "recog.h"
#include "tree.h"
#include "expr.h"
#include "obstack.h"
#include "except.h"
#include "function.h"
#include "tm_p.h"
#include "target.h"
#include "target-def.h"

Include dependency graph for fr30.c:

Go to the source code of this file.

Data Types

type  fr30_frame_info

Defines

#define FRAME_POINTER_MASK   (1 << (FRAME_POINTER_REGNUM))
#define RETURN_POINTER_MASK   (1 << (RETURN_POINTER_REGNUM))
#define MUST_SAVE_REGISTER(regno)
#define MUST_SAVE_FRAME_POINTER   (regs_ever_live [FRAME_POINTER_REGNUM] || frame_pointer_needed)
#define MUST_SAVE_RETURN_POINTER   (regs_ever_live [RETURN_POINTER_REGNUM] || current_function_profile)
#define TARGET_ASM_ALIGNED_HI_OP   "\t.hword\t"
#define TARGET_ASM_ALIGNED_SI_OP   "\t.word\t"
#define Mmode   enum machine_mode

Functions/Subroutines

static rtx fr30_pass_by_reference PARAMS ((tree, tree))
unsigned int fr30_compute_frame_size (int from_reg, int to_reg)
void fr30_expand_prologue ()
void fr30_expand_epilogue ()
void fr30_setup_incoming_varargs (CUMULATIVE_ARGS arg_regs_used_so_far, int int_mode, type, int *pretend_size)
void fr30_print_operand_address (FILE *stream, rtx address)
void fr30_print_operand (FILE *file, rtx x, int code)
int fr30_num_arg_regs (int int_mode, tree type)
int fr30_function_arg_partial_nregs (CUMULATIVE_ARGS cum, int int_mode, tree type, int named)
static rtx fr30_pass_by_reference (tree valist, tree type)
static rtx fr30_pass_by_value (tree valist, tree type)
rtx fr30_va_arg (tree valist, tree type)
int stack_add_operand (rtx operand, mode)
int add_immediate_operand (rtx operand, mode)
int high_register_operand (rtx operand, mode)
int low_register_operand (rtx operand, mode)
int call_operand (rtx operand, mode)
int di_operand (rtx op, Mmode mode)
int nonimmediate_di_operand (rtx op, Mmode mode)
int fr30_check_multiple_regs (rtx *operands, int num_operands, int descending)
rtx fr30_move_double (rtx *operands)

Variables

struct rtx_def * fr30_compare_op0
struct rtx_def * fr30_compare_op1
static struct fr30_frame_info current_frame_info
static struct fr30_frame_info zero_frame_info
struct gcc_target targetm = TARGET_INITIALIZER


Define Documentation

#define FRAME_POINTER_MASK   (1 << (FRAME_POINTER_REGNUM))

Definition at line 124 of file fr30.c.

#define Mmode   enum machine_mode

Definition at line 799 of file fr30.c.

#define MUST_SAVE_FRAME_POINTER   (regs_ever_live [FRAME_POINTER_REGNUM] || frame_pointer_needed)

Definition at line 136 of file fr30.c.

Referenced by fr30_compute_frame_size(), and m32r_compute_frame_size().

#define MUST_SAVE_REGISTER ( regno   ) 

Value:

(   (regno) != RETURN_POINTER_REGNUM \
   && (regno) != FRAME_POINTER_REGNUM  \
   &&   regs_ever_live [regno]         \
   && ! call_used_regs [regno]         )

Definition at line 130 of file fr30.c.

#define MUST_SAVE_RETURN_POINTER   (regs_ever_live [RETURN_POINTER_REGNUM] || current_function_profile)

Definition at line 137 of file fr30.c.

Referenced by fr30_compute_frame_size().

#define RETURN_POINTER_MASK   (1 << (RETURN_POINTER_REGNUM))

Definition at line 125 of file fr30.c.

#define TARGET_ASM_ALIGNED_HI_OP   "\t.hword\t"

Definition at line 145 of file fr30.c.

#define TARGET_ASM_ALIGNED_SI_OP   "\t.word\t"

Definition at line 147 of file fr30.c.


Function Documentation

int add_immediate_operand ( rtx  operand,
mode   
)

Definition at line 819 of file fr30.c.

References GET_CODE, INTVAL, and REG.

int call_operand ( rtx  operand,
mode   
)

Definition at line 855 of file fr30.c.

References GET_CODE, MEM, REG, and XEXP.

int di_operand ( rtx  op,
Mmode  mode 
)

Definition at line 866 of file fr30.c.

References FALSE, GET_CODE, GET_MODE, MEM, memory_address_p(), register_operand(), SUBREG_REG, TRUE, and XEXP.

int fr30_check_multiple_regs ( rtx operands,
int  num_operands,
int  descending 
)

Definition at line 917 of file fr30.c.

References CONDITION_CODE_REGNUM, GET_CODE, REG, and REGNO.

unsigned int fr30_compute_frame_size ( int  from_reg,
int  to_reg 
)

Definition at line 155 of file fr30.c.

Referenced by fr30_expand_prologue().

void fr30_expand_epilogue ( void   ) 

Definition at line 348 of file fr30.c.

void fr30_expand_prologue ( void   ) 

Definition at line 220 of file fr30.c.

int fr30_function_arg_partial_nregs ( CUMULATIVE_ARGS  cum,
int  int_mode,
tree  type,
int  named 
)

Definition at line 694 of file fr30.c.

References fr30_num_arg_regs(), and FR30_NUM_ARG_REGS.

rtx fr30_move_double ( rtx operands  ) 

int fr30_num_arg_regs ( int  int_mode,
tree  type 
)

static rtx fr30_pass_by_reference ( tree  valist,
tree  type 
) [static]

static rtx fr30_pass_by_value ( tree  valist,
tree  type 
) [static]

void fr30_print_operand ( FILE file,
rtx  x,
int  code 
)

void fr30_print_operand_address ( FILE stream,
rtx  address 
)

Definition at line 443 of file fr30.c.

References debug_rtx(), fprintf(), GET_CODE, output_addr_const(), and output_operand_lossage().

void fr30_setup_incoming_varargs ( CUMULATIVE_ARGS  arg_regs_used_so_far,
int  int_mode,
type  ,
int *  pretend_size 
)

Definition at line 407 of file fr30.c.

References abort, fr30_num_arg_regs(), FR30_NUM_ARG_REGS, mode, size, and UNITS_PER_WORD.

rtx fr30_va_arg ( tree  valist,
tree  type 
)

int high_register_operand ( rtx  operand,
mode   
)

Definition at line 832 of file fr30.c.

References GET_CODE, REG, and REGNO.

int low_register_operand ( rtx  operand,
mode   
)

Definition at line 844 of file fr30.c.

References GET_CODE, REG, and REGNO.

int nonimmediate_di_operand ( rtx  op,
Mmode  mode 
)

Definition at line 895 of file fr30.c.

References FALSE, GET_CODE, GET_MODE, MEM, memory_address_p(), register_operand(), SUBREG_REG, TRUE, and XEXP.

static rtx fr30_pass_by_reference PARAMS ( (tree, tree  )  [static]

int stack_add_operand ( rtx  operand,
mode   
)

Definition at line 805 of file fr30.c.

References GET_CODE, and INTVAL.


Variable Documentation

Definition at line 116 of file fr30.c.

Definition at line 52 of file fr30.c.

Definition at line 53 of file fr30.c.

struct gcc_target targetm = TARGET_INITIALIZER

Definition at line 149 of file fr30.c.

Definition at line 119 of file fr30.c.


Generated on Wed Apr 8 15:19:30 2009 for Open64 by  doxygen 1.5.6