00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 #ifndef wn_stmt_INCLUDED
00046 #define wn_stmt_INCLUDED
00047
00048 #ifdef __cplusplus
00049 extern "C" {
00050 #endif
00051
00052
00053
00054 extern void WFE_Expand_Start_Cond (tree cond, int exitflag);
00055 extern void WFE_Expand_Start_Else (void);
00056 extern void WFE_Expand_End_Cond (void);
00057
00058 extern void WFE_Expand_Start_Loop (int exitflag, struct nesting *whichloop);
00059 extern void WFE_Expand_Start_Loop_Continue_Elsewhere (int exitflag, struct nesting *whichloop);
00060 extern void WFE_Expand_Loop_Continue_Here (void);
00061 extern void WFE_Expand_End_Loop (void);
00062 extern void WFE_Expand_Continue_Loop (struct nesting *whichloop);
00063 extern void WFE_Expand_Exit_Loop (struct nesting *whichloop);
00064 extern void WFE_Expand_Exit_Loop_If_False (struct nesting *whichloop, tree cond);
00065
00066 extern void WFE_Expand_Start_Case (int exit_flag, tree expr, tree type, char *printname);
00067 extern void WFE_Expand_Start_Case_Dummy (void);
00068 extern void WFE_Add_Case_Node (tree low, tree high, tree label);
00069 extern void WFE_Emit_Case_Nodes (void);
00070 extern void WFE_Expand_End_Case_Dummy (void);
00071 extern void WFE_Expand_End_Case (tree orig_index);
00072 extern void WFE_Expand_Label (tree label);
00073 extern void WFE_Expand_Goto (tree label);
00074 extern void WFE_Expand_Exit_Something (struct nesting *n,
00075 struct nesting *cond_stack,
00076 struct nesting *loop_stack,
00077 struct nesting *case_stack,
00078 LABEL_IDX *label_idx);
00079 extern void WFE_Record_Switch_Default_Label (tree label);
00080 extern void WFE_Expand_Return (tree retval);
00081 extern void WFE_Check_Undefined_Labels (void);
00082 extern void WFE_Expand_Computed_Goto (tree exp);
00083 extern void WFE_Declare_Nonlocal_Label (tree label);
00084
00085 extern void Wfe_Expand_Asm_Operands (tree, tree, tree, tree,
00086 int, const char *, int);
00087
00088 extern LABEL_IDX WFE_Get_LABEL (tree label, int def);
00089 #ifdef KEY
00090
00091
00092 extern int WFE_Emit_Side_Effects_Pending (tree* node);
00093 extern int WFE_Null_ST_References (tree* node);
00094
00095 extern void WFE_Start_Do_Loop (struct nesting *);
00096 extern void WFE_End_Do_Loop (struct nesting *);
00097 extern void WFE_Terminate_Do_Loop (struct nesting *);
00098 extern void WFE_Expand_Pragma (tree);
00099 #endif
00100
00101 #if defined(TARG_SL) || defined(TARG_MIPS)
00102 extern void WFE_Expand_Freq_Hint (tree exp);
00103 #endif
00104
00105
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109
00110 extern void WFE_Stmt_Init (void);
00111
00112 #endif