C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DismantleUtil Class Reference

#include <dismantle.h>

List of all members.

Static Public Member Functions

void init (void)
stmtNodeempty_stmt (void)
blockNodeempty_block (void)
char * new_id (const char *s="")
exprNodeNot (exprNode *)
declNodenew_temp_decl (typeNode *, Coord)
labelNodenew_label (Coord)

Static Public Attributes

op_id_map not_relop


Member Function Documentation

blockNode* DismantleUtil::empty_block void    [inline, static]
 

Definition at line 55 of file dismantle.h.

References empty_stmt(), and blockNode::stmts().

Referenced by SelectionDismantle::at_if(), and new_label().

stmtNode* DismantleUtil::empty_stmt void    [inline, static]
 

Definition at line 52 of file dismantle.h.

Referenced by empty_block().

void DismantleUtil::init void    [static]
 

Definition at line 49 of file dismantle.cc.

References Operator::EQ, Operator::GE, Operator::LE, Operator::NE, and not_relop.

Referenced by Dismantle::at_unit().

char* DismantleUtil::new_id const char *    s = "" [inline, static]
 

Definition at line 61 of file dismantle.h.

Referenced by new_label(), and StaticToGlobalDismantle::rename_decl().

labelNode * DismantleUtil::new_label Coord    [static]
 

Definition at line 98 of file dismantle.cc.

References empty_block(), and new_id().

Referenced by LoopDismantle::at_do(), LoopDismantle::at_for(), SelectionDismantle::at_if(), ReturnDismantle::at_proc(), cfg_changer::at_proc(), SelectionDismantle::at_switch(), and LoopDismantle::at_while().

declNode * DismantleUtil::new_temp_decl typeNode  ,
Coord   
[static]
 

Definition at line 77 of file dismantle.cc.

References ref_clone_changer::clone(), declNode::decl_location(), typeNode::is_pointer(), and typeNode::type().

Referenced by ExpressionDismantle::at_binary(), SelectionDismantle::at_binary(), ExpressionDismantle::at_call(), SelectionDismantle::at_if(), ReturnDismantle::at_proc(), SelectionDismantle::at_switch(), TernaryDismantle::at_ternary(), ExpressionDismantle::at_unary(), and SelectionDismantle::comparison_operand().

exprNode * DismantleUtil::Not exprNode   [static]
 

Definition at line 60 of file dismantle.cc.

References Binary, Node::coord(), unaryNode::expr(), Operator::id(), not_relop, unaryNode::op(), binaryNode::op(), Node::typ(), exprNode::type(), and Unary.

Referenced by LoopDismantle::at_do(), and LoopDismantle::at_while().


Member Data Documentation

op_id_map DismantleUtil::not_relop [static]
 

Definition at line 47 of file dismantle.cc.

Referenced by init(), and Not().


The documentation for this class was generated from the following files:

Generated on August 27, 2003
Back to the C-Breeze home page