QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
statements.c File Reference

Typedefs

typedef sblock_t *(* expr_f )(sblock_t *, expr_t *, operand_t **)
 
typedef sblock_t *(* statement_f )(sblock_t *, expr_t *)
 

Functions

operand_talias_operand (etype_t type, operand_t *op)
 
operand_tdef_operand (def_t *def, type_t *type)
 
void dump_dot_sblock (void *data, const char *fname)
 
void free_operand (operand_t *op)
 
sblock_tmake_statements (expr_t *e)
 
sblock_tnew_sblock (void)
 
statement_tnew_statement (st_type_t type, const char *opcode, expr_t *expr)
 
const char * operand_string (operand_t *op)
 
const char * optype_str (op_type_e type)
 
void print_statement (statement_t *s)
 
void sblock_add_statement (sblock_t *sblock, statement_t *statement)
 
sblock_tstatement_get_target (statement_t *s)
 
sblock_t ** statement_get_targetlist (statement_t *s)
 
int statement_is_call (statement_t *s)
 
int statement_is_cond (statement_t *s)
 
int statement_is_goto (statement_t *s)
 
int statement_is_jumpb (statement_t *s)
 
int statement_is_return (statement_t *s)
 
void statements_count_temps (sblock_t *sblock)
 
operand_ttemp_operand (type_t *type)
 
operand_tvalue_operand (ex_value_t *value)
 

Typedef Documentation

typedef sblock_t*(* expr_f)(sblock_t *, expr_t *, operand_t **)
typedef sblock_t*(* statement_f)(sblock_t *, expr_t *)

Function Documentation

operand_t* alias_operand ( etype_t  type,
operand_t op 
)
operand_t* def_operand ( def_t def,
type_t type 
)
void dump_dot_sblock ( void *  data,
const char *  fname 
)
void free_operand ( operand_t op)
sblock_t* make_statements ( expr_t e)
sblock_t* new_sblock ( void  )
statement_t* new_statement ( st_type_t  type,
const char *  opcode,
expr_t expr 
)
const char* operand_string ( operand_t op)
const char* optype_str ( op_type_e  type)
void print_statement ( statement_t s)
void sblock_add_statement ( sblock_t sblock,
statement_t statement 
)
sblock_t* statement_get_target ( statement_t s)
sblock_t** statement_get_targetlist ( statement_t s)
int statement_is_call ( statement_t s)
int statement_is_cond ( statement_t s)
int statement_is_goto ( statement_t s)
int statement_is_jumpb ( statement_t s)
int statement_is_return ( statement_t s)
void statements_count_temps ( sblock_t sblock)
operand_t* temp_operand ( type_t type)
operand_t* value_operand ( ex_value_t value)