C-Breeze
C Compiler Infrastructure

[ Project home page]

c_breeze.h File Reference

#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <list>
#include <vector>
#include <map>
#include <algorithm>
#include <functional>
#include <assert.h>
#include <stdio.h>
#include "cbz_util.h"
#include "hash_set_ex.h"
#include "coord.h"
#include "operators.h"
#include "basic_type.h"
#include "constant.h"
#include "annote.h"
#include "ast.h"
#include "visitor.h"
#include "walker.h"
#include "changer.h"
#include "dataflow.h"
#include "symbol.h"
#include "phase.h"
#include "output_context.h"

Go to the source code of this file.

Defines

#define CBZFAIL(errfmt)   CBZ::Fail( __FILE__, __LINE__, cbz_util::string_format errfmt );

Typedefs

typedef list< Node * > node_list
typedef node_list::iterator node_list_p
typedef list< exprNode * > expr_list
typedef expr_list::iterator expr_list_p
typedef list< declNode * > decl_list
typedef decl_list::iterator decl_list_p
typedef list< targetNode * > target_list
typedef target_list::iterator target_list_p
typedef list< attribNode * > attrib_list
typedef attrib_list::iterator attrib_list_p
typedef list< indexNode * > index_list
typedef index_list::iterator index_list_p
typedef list< idNode * > id_list
typedef id_list::iterator id_list_p
typedef list< stmtNode * > stmt_list
typedef stmt_list::iterator stmt_list_p
typedef list< gotoNode * > goto_list
typedef goto_list::iterator goto_list_p
typedef list< defNode * > def_list
typedef def_list::iterator def_list_p
typedef list< Annote * > annote_list
typedef annote_list::iterator annote_list_p
typedef list< unitNode * > unit_list
typedef unit_list::iterator unit_list_p
typedef vector< string > str_vec
typedef str_vec::iterator str_vec_p
typedef list< string > str_list
typedef str_list::iterator str_list_p
typedef list< textNode * > text_list
typedef text_list::iterator text_list_p
typedef list< suespecNode * > suespec_list
typedef suespec_list::iterator suespec_list_p
typedef list< blockNode * > block_list
typedef block_list::iterator block_list_p
typedef list< basicblockNode * > basicblock_list
typedef basicblock_list::iterator basicblock_list_p
typedef list< operandNode * > operand_list
typedef operand_list::iterator operand_list_p
typedef map< Node *, unsigned
int, less< Node * > > 
numbering_map

Enumerations

enum  NodeType {
  Const, Id, Binary, Unary,
  Cast, Comma, Ternary, Call,
  Initializer, Label, Switch, Case,
  If, While, Do, For,
  Goto, Continue, Break, Return,
  Block, Prim, Tdef, Ptr,
  Array, Func, Struct, Union,
  Enum, sueSpec, Decl, Attrib,
  Proc, Text, Expr, Undeclared,
  Unit, Meta, Operand, Condition,
  ThreeAddr
}
enum  ScopeState { Redecl, NoRedecl, SU, Formal }
enum  Assoc { Right, Left }


Define Documentation

#define CBZFAIL errfmt   )     CBZ::Fail( __FILE__, __LINE__, cbz_util::string_format errfmt );
 

Definition at line 383 of file c_breeze.h.


Typedef Documentation

typedef list< Annote * > annote_list
 

Definition at line 171 of file c_breeze.h.

typedef annote_list::iterator annote_list_p
 

Definition at line 172 of file c_breeze.h.

typedef list< attribNode * > attrib_list
 

Definition at line 153 of file c_breeze.h.

typedef attrib_list::iterator attrib_list_p
 

Definition at line 154 of file c_breeze.h.

typedef list< basicblockNode * > basicblock_list
 

Definition at line 192 of file c_breeze.h.

typedef basicblock_list::iterator basicblock_list_p
 

Definition at line 193 of file c_breeze.h.

typedef list< blockNode * > block_list
 

Definition at line 189 of file c_breeze.h.

typedef block_list::iterator block_list_p
 

Definition at line 190 of file c_breeze.h.

typedef list< declNode * > decl_list
 

Definition at line 147 of file c_breeze.h.

typedef decl_list::iterator decl_list_p
 

Definition at line 148 of file c_breeze.h.

typedef list< defNode * > def_list
 

Definition at line 168 of file c_breeze.h.

typedef def_list::iterator def_list_p
 

Definition at line 169 of file c_breeze.h.

typedef list< exprNode * > expr_list
 

Definition at line 144 of file c_breeze.h.

typedef expr_list::iterator expr_list_p
 

Definition at line 145 of file c_breeze.h.

typedef list< gotoNode * > goto_list
 

Definition at line 165 of file c_breeze.h.

typedef goto_list::iterator goto_list_p
 

Definition at line 166 of file c_breeze.h.

typedef list< idNode * > id_list
 

Definition at line 159 of file c_breeze.h.

typedef id_list::iterator id_list_p
 

Definition at line 160 of file c_breeze.h.

typedef list< indexNode *> index_list
 

Definition at line 156 of file c_breeze.h.

typedef index_list::iterator index_list_p
 

Definition at line 157 of file c_breeze.h.

typedef list< Node * > node_list
 

Definition at line 141 of file c_breeze.h.

typedef node_list::iterator node_list_p
 

Definition at line 142 of file c_breeze.h.

typedef map<Node *, unsigned int, less< Node * > > numbering_map
 

Definition at line 290 of file c_breeze.h.

typedef list< operandNode * > operand_list
 

Definition at line 195 of file c_breeze.h.

typedef operand_list::iterator operand_list_p
 

Definition at line 196 of file c_breeze.h.

typedef list< stmtNode * > stmt_list
 

Definition at line 162 of file c_breeze.h.

typedef stmt_list::iterator stmt_list_p
 

Definition at line 163 of file c_breeze.h.

typedef list< string > str_list
 

Definition at line 180 of file c_breeze.h.

typedef str_list::iterator str_list_p
 

Definition at line 181 of file c_breeze.h.

typedef vector< string > str_vec
 

Definition at line 177 of file c_breeze.h.

typedef str_vec::iterator str_vec_p
 

Definition at line 178 of file c_breeze.h.

typedef list< suespecNode * > suespec_list
 

Definition at line 186 of file c_breeze.h.

typedef suespec_list::iterator suespec_list_p
 

Definition at line 187 of file c_breeze.h.

typedef list< targetNode * > target_list
 

Definition at line 150 of file c_breeze.h.

typedef target_list::iterator target_list_p
 

Definition at line 151 of file c_breeze.h.

typedef list< textNode * > text_list
 

Definition at line 183 of file c_breeze.h.

typedef text_list::iterator text_list_p
 

Definition at line 184 of file c_breeze.h.

typedef list< unitNode * > unit_list
 

Definition at line 174 of file c_breeze.h.

typedef unit_list::iterator unit_list_p
 

Definition at line 175 of file c_breeze.h.


Enumeration Type Documentation

enum Assoc
 

Enumeration values:
Right 
Left 

Definition at line 268 of file c_breeze.h.

enum NodeType
 

Enumeration values:
Const 
Id 
Binary 
Unary 
Cast 
Comma 
Ternary 
Call 
Initializer 
Label 
Switch 
Case 
If 
While 
Do 
For 
Goto 
Continue 
Break 
Return 
Block 
Prim 
Tdef 
Ptr 
Array 
Func 
Struct 
Union 
Enum 
sueSpec 
Decl 
Attrib 
Proc 
Text 
Expr 
Undeclared 
Unit 
Meta 
Operand 
Condition 
ThreeAddr 

Definition at line 208 of file c_breeze.h.

enum ScopeState
 

Enumeration values:
Redecl 
NoRedecl 
SU 
Formal 

Definition at line 257 of file c_breeze.h.


Generated on February 1, 2006
Back to the C-Breeze home page