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

#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tree.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 "expr.h"
#include "optabs.h"
#include "function.h"
#include "obstack.h"
#include "toplev.h"
#include "tm_p.h"
#include "target.h"
#include "target-def.h"

Include dependency graph for mn10300.c:

Go to the source code of this file.

Defines

#define REG_SAVE_BYTES
#define TARGET_ASM_ALIGNED_HI_OP   "\t.hword\t"

Functions/Subroutines

void asm_file_start (FILE *file)
void print_operand (FILE *file, rtx x, int code)
void print_operand_address (FILE *file, rtx addr)
void mn10300_print_reg_list (FILE *file, int mask)
int can_use_return_insn ()
int mn10300_get_live_callee_saved_regs ()
void mn10300_gen_multiple_store (int mask)
void expand_prologue ()
void expand_epilogue ()
void notice_update_cc (rtx body, rtx insn)
int store_multiple_operation (rtx op, mode)
int call_address_operand (rtx op, mode)
enum reg_class secondary_reload_class (enum reg_class class, enum machine_mode mode, rtx in)
int initial_offset (int from, int to)
rtx mn10300_builtin_saveregs ()
void mn10300_va_start (int stdarg_p, tree valist, rtx nextarg)
rtx mn10300_va_arg (tree valist, tree type)
rtx function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, named)
int function_arg_partial_nregs (CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, named)
const char * output_tst (rtx operand, rtx insn)
int impossible_plus_operand (rtx op, mode)
int const_8bit_operand (rtx op, mode)
int mask_ok_for_mem_btst (int len, int bit)
int symbolic_operand (rtx op, mode)
rtx legitimize_address (rtx x, oldx, mode)
int mn10300_address_cost (rtx x, int *unsig)

Variables

struct gcc_target targetm = TARGET_INITIALIZER


Define Documentation

#define REG_SAVE_BYTES

Value:

(4 * regs_ever_live[2] \
      + 4 * regs_ever_live[3] \
            + 4 * regs_ever_live[6] \
      + 4 * regs_ever_live[7] \
      + 16 * (regs_ever_live[14] || regs_ever_live[15] \
        || regs_ever_live[16] || regs_ever_live[17]))

Definition at line 48 of file mn10300.c.

Referenced by expand_epilogue(), and initial_offset().

#define TARGET_ASM_ALIGNED_HI_OP   "\t.hword\t"

Definition at line 57 of file mn10300.c.


Function Documentation

void asm_file_start ( FILE file  ) 

Definition at line 62 of file mn10300.c.

References fprintf(), main_input_filename, optimize, output_file_directive(), and TARGET_AM33.

int call_address_operand ( rtx  op,
mode   
)

Definition at line 746 of file mn10300.c.

References GET_CODE, and REG.

int can_use_return_insn ( void   ) 

Definition at line 410 of file mn10300.c.

int const_8bit_operand ( rtx  op,
mode   
)

Definition at line 1143 of file mn10300.c.

References GET_CODE, and INTVAL.

void expand_epilogue ( void   ) 

void expand_prologue ( void   ) 

rtx function_arg ( CUMULATIVE_ARGS cum,
enum machine_mode  mode,
tree  type,
named   
)

int function_arg_partial_nregs ( CUMULATIVE_ARGS cum,
enum machine_mode  mode,
tree  type,
named   
)

Definition at line 994 of file mn10300.c.

References align, GET_MODE_SIZE, int_size_in_bytes(), nregs, NULL_TREE, size, and UNITS_PER_WORD.

int impossible_plus_operand ( rtx  op,
mode   
)

Definition at line 1125 of file mn10300.c.

References GET_CODE, PLUS, stack_pointer_rtx, and XEXP.

int initial_offset ( int  from,
int  to 
)

rtx legitimize_address ( rtx ,
oldx  ,
mode   
)

int mask_ok_for_mem_btst ( int  len,
int  bit 
)

Definition at line 1155 of file mn10300.c.

int mn10300_address_cost ( rtx  x,
int *  unsig 
)

static rtx mn10300_builtin_saveregs ( void   ) 

Definition at line 859 of file mn10300.c.

void mn10300_gen_multiple_store ( int  mask  ) 

int mn10300_get_live_callee_saved_regs ( void   ) 

Definition at line 436 of file mn10300.c.

References call_used_regs, FIRST_PSEUDO_REGISTER, i, and regs_ever_live.

Referenced by expand_prologue().

void mn10300_print_reg_list ( FILE file,
int  mask 
)

Definition at line 377 of file mn10300.c.

References abort, FIRST_EXTENDED_REGNUM, fputc(), fputs(), i, and reg_names.

rtx mn10300_va_arg ( tree  valist,
tree  type 
)

void mn10300_va_start ( int  stdarg_p,
tree  valist,
rtx  nextarg 
)

Definition at line 889 of file mn10300.c.

References expand_builtin_saveregs(), and std_expand_builtin_va_start().

void notice_update_cc ( rtx body  ,
rtx  insn 
)

const char* output_tst ( rtx  operand,
rtx  insn 
)

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

void print_operand_address ( FILE file,
rtx  addr 
)

enum reg_class secondary_reload_class ( enum reg_class  class,
enum machine_mode mode  ,
rtx  in 
)

int store_multiple_operation ( rtx  op,
mode   
)

int symbolic_operand ( rtx  op,
mode   
)

Definition at line 1179 of file mn10300.c.

References CONST, GET_CODE, and XEXP.


Variable Documentation

struct gcc_target targetm = TARGET_INITIALIZER

Definition at line 59 of file mn10300.c.


Generated on Wed Apr 8 15:23:11 2009 for Open64 by  doxygen 1.5.6