osprey/common/targ_info/generate/isa_operands_gen.h File Reference

#include "targ_isa_registers.h"
#include "targ_isa_lits.h"
#include "targ_isa_enums.h"

Include dependency graph for isa_operands_gen.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct operand_value_typeOPERAND_VALUE_TYPE
typedef struct operand_use_typeOPERAND_USE_TYPE

Enumerations

enum  RTYPE { PCREL, SIGNED, UNSIGNED, UNKNOWN }
enum  FP_TYPE { FP32_INT, FP64_INT, INVALID }

Functions/Subroutines

void ISA_Operands_Begin (const char *archname)
OPERAND_VALUE_TYPE ISA_Reg_Opnd_Type_Create (const char *name, ISA_REGISTER_CLASS register_class, ISA_REGISTER_SUBCLASS sub_class, int size, RTYPE rtype, FP_TYPE is_fp_int)
OPERAND_VALUE_TYPE ISA_Lit_Opnd_Type_Create (const char *name, int size, RTYPE rtype, ISA_LIT_CLASS lc)
OPERAND_VALUE_TYPE ISA_Enum_Opnd_Type_Create (const char *name, int size, RTYPE rtype, ISA_ENUM_CLASS ec)
OPERAND_USE_TYPE Create_Operand_Use (const char *name)
void Instruction_Group (const char *name,...)
void Operand (int operand_index, OPERAND_VALUE_TYPE operand_type, OPERAND_USE_TYPE operand_use=0)
void Relocatable (int operand_index)
void Result (int result_index, OPERAND_VALUE_TYPE result_type)
void ISA_Operands_End (void)


Typedef Documentation

Definition at line 150 of file isa_operands_gen.h.

Definition at line 136 of file isa_operands_gen.h.


Enumeration Type Documentation

enum FP_TYPE

Enumerator:
FP32_INT 
FP64_INT 
INVALID 

Definition at line 148 of file isa_operands_gen.h.

enum RTYPE

Enumerator:
PCREL 
SIGNED 
UNSIGNED 
UNKNOWN 

Definition at line 141 of file isa_operands_gen.h.


Function Documentation

OPERAND_USE_TYPE Create_Operand_Use ( const char *  name  ) 

Definition at line 381 of file isa_operands_gen.cxx.

References all_use_types, operand_use_type::index, max_uses, operand_use_type::name, and result.

Referenced by main().

void Instruction_Group ( const char *  name,
  ... 
)

OPERAND_VALUE_TYPE ISA_Enum_Opnd_Type_Create ( const char *  name,
int  size,
RTYPE  rtype,
ISA_ENUM_CLASS  ec 
)

OPERAND_VALUE_TYPE ISA_Lit_Opnd_Type_Create ( const char *  name,
int  size,
RTYPE  rtype,
ISA_LIT_CLASS  lc 
)

void ISA_Operands_Begin ( const char *  archname  ) 

Definition at line 262 of file isa_operands_gen.cxx.

References op_groups.

Referenced by main().

void ISA_Operands_End ( void   ) 

OPERAND_VALUE_TYPE ISA_Reg_Opnd_Type_Create ( const char *  name,
ISA_REGISTER_CLASS  register_class,
ISA_REGISTER_SUBCLASS  sub_class,
int  size,
RTYPE  rtype,
FP_TYPE  is_fp_int 
)

void Operand ( int  operand_index,
OPERAND_VALUE_TYPE  operand_type,
OPERAND_USE_TYPE  operand_use = 0 
)

void Relocatable ( int  operand_index  ) 

Definition at line 462 of file isa_operands_gen.cxx.

References exit(), EXIT_FAILURE, fprintf(), operands_group::name, and operands_group::relocatable_opnd.

Referenced by main().

void Result ( int  result_index,
OPERAND_VALUE_TYPE  result_type 
)


Generated on Wed Apr 8 14:42:03 2009 for Open64 by  doxygen 1.5.6