osprey/kgccfe/wfe_stmt.cxx File Reference

#include <stdint.h>
#include "defs.h"
#include "glob.h"
#include "config.h"
#include "wn.h"
#include "wn_util.h"
#include "gnu_config.h"
#include "gnu/system.h"
#include "srcpos.h"
#include "gnu/flags.h"
#include "gnu/tree.h"
#include "insn-config.h"
#include "ir_reader.h"
#include "tree_symtab.h"
#include "wfe_misc.h"
#include "wfe_expr.h"
#include "wfe_stmt.h"
#include "targ_sim.h"
#include <ctype.h>

Include dependency graph for wfe_stmt.cxx:

Go to the source code of this file.

Data Types

type  loop_info_t
type  case_info_t
type  switch_info_t
type  label_info_t

Defines

#define __STDC_LIMIT_MACROS
#define ENLARGE(x)   (x + (x >> 1))
#define MAX_NON_PLUS_CONSTRAINT_CHARS   7

Typedefs

typedef struct loop_info_t LOOP_INFO
typedef struct case_info_t CASE_INFO
typedef struct switch_info_t SWITCH_INFO
typedef struct label_info_t LABEL_INFO

Enumerations

enum  LOOP_CONTINUE_INFO {
  CONTINUE_NONE, CONTINUE_ELSEWHERE, CONTINUE_HERE, CONTINUE_ELSEWHERE_HERE,
  CONTINUE_HERE_ELSEWHERE
}

Functions/Subroutines

int decode_reg_name (char *)
void WFE_Stmt_Init (void)
void WFE_Expand_Start_Cond (tree cond, int exitflag)
void WFE_Expand_Start_Else (void)
void WFE_Expand_End_Cond (void)
void WFE_Expand_Start_Loop (int exitflag, struct nesting *whichloop)
void WFE_Expand_Start_Loop_Continue_Elsewhere (int exitflag, struct nesting *whichloop)
void WFE_Expand_Loop_Continue_Here (void)
void WFE_Expand_End_Loop (void)
void WFE_Expand_Continue_Loop (struct nesting *whichloop)
void WFE_Expand_Exit_Loop (struct nesting *whichloop)
void WFE_Expand_Exit_Loop_If_False (struct nesting *whichloop, tree cond)
void WFE_Expand_Start_Case (int exit_flag, tree expr, tree type, char *printname)
void WFE_Expand_Start_Case_Dummy (void)
void WFE_Add_Case_Node (tree low, tree high, tree label)
void WFE_Emit_Case_Nodes (void)
void WFE_Expand_End_Case_Dummy (void)
void WFE_Expand_End_Case (tree orig_index)

Variables

static BOOLif_else_info_stack
static INT32 if_else_info_i
static INT32 if_else_info_max
static LOOP_INFOloop_info_stack
static INT32 loop_info_i
static INT32 loop_info_max
static CASE_INFOcase_info_stack
static INT32 case_info_i
static INT32 case_info_max
static SWITCH_INFOswitch_info_stack
static INT32 switch_info_i
static INT32 switch_info_max
static LABEL_INFOundefined_labels_stack
static INT32 undefined_labels_i
static INT32 undefined_labels_max


Define Documentation

#define __STDC_LIMIT_MACROS

Definition at line 41 of file wfe_stmt.cxx.

#define ENLARGE (  )     (x + (x >> 1))

Definition at line 70 of file wfe_stmt.cxx.

#define MAX_NON_PLUS_CONSTRAINT_CHARS   7


Typedef Documentation


Enumeration Type Documentation

Enumerator:
CONTINUE_NONE 
CONTINUE_ELSEWHERE 
CONTINUE_HERE 
CONTINUE_ELSEWHERE_HERE 
CONTINUE_HERE_ELSEWHERE 

Definition at line 76 of file wfe_stmt.cxx.


Function Documentation

int decode_reg_name ( char *   ) 

void WFE_Add_Case_Node ( tree  low,
tree  high,
tree  label 
)

void WFE_Emit_Case_Nodes ( void   ) 

Definition at line 443 of file wfe_stmt.cxx.

void WFE_Expand_Continue_Loop ( struct nesting *  whichloop  ) 

void WFE_Expand_End_Case ( tree  orig_index  ) 

void WFE_Expand_End_Case_Dummy ( void   ) 

Definition at line 448 of file wfe_stmt.cxx.

Referenced by expand_end_case_dummy().

void WFE_Expand_End_Cond ( void   ) 

Definition at line 184 of file wfe_stmt.cxx.

References FALSE, FmtAssert, if_else_info_i, if_else_info_stack, and WFE_Stmt_Pop().

Referenced by expand_end_cond(), and WFE_Expand_Expr().

void WFE_Expand_End_Loop ( void   ) 

void WFE_Expand_Exit_Loop ( struct nesting *  whichloop  ) 

Definition at line 325 of file wfe_stmt.cxx.

References Fail_FmtAssertion().

Referenced by expand_exit_loop().

void WFE_Expand_Exit_Loop_If_False ( struct nesting *  whichloop,
tree  cond 
)

void WFE_Expand_Loop_Continue_Here ( void   ) 

void WFE_Expand_Start_Case ( int  exit_flag,
tree  expr,
tree  type,
char *  printname 
)

void WFE_Expand_Start_Case_Dummy ( void   ) 

Definition at line 399 of file wfe_stmt.cxx.

Referenced by expand_start_case_dummy().

void WFE_Expand_Start_Cond ( tree  cond,
int  exitflag 
)

void WFE_Expand_Start_Else ( void   ) 

Definition at line 175 of file wfe_stmt.cxx.

References FmtAssert, if_else_info_i, if_else_info_stack, TRUE, and WFE_Stmt_Pop().

Referenced by expand_start_else(), and WFE_Expand_Expr().

void WFE_Expand_Start_Loop ( int  exitflag,
struct nesting *  whichloop 
)

void WFE_Expand_Start_Loop_Continue_Elsewhere ( int  exitflag,
struct nesting *  whichloop 
)

void WFE_Stmt_Init ( void   ) 


Variable Documentation

INT32 case_info_i [static]

Definition at line 112 of file wfe_stmt.cxx.

INT32 case_info_max [static]

Definition at line 113 of file wfe_stmt.cxx.

Definition at line 111 of file wfe_stmt.cxx.

Definition at line 73 of file wfe_stmt.cxx.

Definition at line 74 of file wfe_stmt.cxx.

Definition at line 72 of file wfe_stmt.cxx.

INT32 loop_info_i [static]

INT32 loop_info_max [static]

Definition at line 95 of file wfe_stmt.cxx.

Referenced by WFE_Expand_Start_Loop(), and WFE_Stmt_Init().

Definition at line 93 of file wfe_stmt.cxx.

INT32 switch_info_i [static]

Definition at line 116 of file wfe_stmt.cxx.

Definition at line 117 of file wfe_stmt.cxx.

Definition at line 115 of file wfe_stmt.cxx.

Definition at line 126 of file wfe_stmt.cxx.

Definition at line 127 of file wfe_stmt.cxx.

Definition at line 125 of file wfe_stmt.cxx.


Generated on Wed Apr 8 15:48:59 2009 for Open64 by  doxygen 1.5.6