Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
CBZ Class Reference#include <c_breeze.h>
List of all members.
|
Static Public Member Functions |
void | set_file (const char *name, int line, bool is_new_file) |
bool | is_file_included () |
void | char_to_text (char *array, unsigned char value) |
void | Fail (const string file, int line, const string msg) |
void | SyntaxError (string s) |
void | Warning (int level, string s) |
void | SyntaxError (Coord c, string s) |
void | Warning (int level, Coord c, string s) |
void | WarnAboutPrecedence (unsigned int op_id, exprNode *the_expr) |
void | Error (Coord c, string s) |
string | get_temp_id_str () |
idNode * | get_temp_id () |
idNode * | get_temp_var (blockNode *containing_block, typeNode *type) |
Static Public Attributes |
unit_list | Program |
str_vec | Files |
string | input_suffix = ".c" |
string | output_suffix = ".p.c" |
string | preproc |
string | default_preproc = "/usr/bin/gcc-2.95 -x c -E -D__C_BREEZE__ -U__GNUC__ " |
string | gcc_preproc = "/usr/bin/gcc -x c -E -D__C_BREEZE__ -D__QI__=1 -D__HI__=1 -D__SI__=1 -D__DI__=1 -D__word__=1 -D__extension__='' -D__const='' -D__restrict='' -D__printf__='' -D__builtin_va_list='long int'" |
string | ansi_preproc = "/usr/bin/gcc -E -ansi -x c" |
float | VersionNumber |
string | VersionDate |
string | Executable |
arch_info | ArchInfo |
int | WarningLevel = 4 |
str_list * | cpp_flags |
unitNode * | current_unit |
int | current_file |
int | current_line |
int | current_offset |
text_list | pragmas |
string | PhaseName |
bool | QuietlyIgnore = false |
bool | DebugLex = false |
bool | PrintSymTables = false |
bool | TrackInsertSymbol = false |
bool | PrintLineOffset = false |
bool | IgnoreLineDirectives = false |
bool | ANSIOnly = false |
bool | FormatReadably = false |
bool | Preprocess = true |
bool | ShowPreprocess = false |
bool | GCCisms = false |
bool | NoRegAlloc = false |
bool | OldStyleFunctionDefinition |
Static Private Attributes |
unsigned int | next_temp_id_seed = 0 |
Member Function Documentation
void CBZ::char_to_text |
( |
char * |
array, |
|
|
unsigned char |
value |
|
) |
[static] |
|
void CBZ::Error |
( |
Coord |
c, |
|
|
string |
s |
|
) |
[static] |
|
void CBZ::Fail |
( |
const string |
file, |
|
|
int |
line, |
|
|
const string |
msg |
|
) |
[static] |
|
idNode * CBZ::get_temp_id |
( |
|
) |
[static] |
|
string CBZ::get_temp_id_str |
( |
|
) |
[static] |
|
bool CBZ::is_file_included |
( |
|
) |
[static] |
|
void CBZ::set_file |
( |
const char * |
name, |
|
|
int |
line, |
|
|
bool |
is_new_file |
|
) |
[static] |
|
void CBZ::SyntaxError |
( |
Coord |
c, |
|
|
string |
s |
|
) |
[static] |
|
void CBZ::SyntaxError |
( |
string |
s |
) |
[static] |
|
|
Definition at line 201 of file c_breeze.cc.
References current_file, current_line, current_unit, Files, and unitNode::inc_errors().
Referenced by funcNode::add_parameter_types(), basic_type::alignment(), semcheck_expr_visitor::at_binary(), id_lookup_walker::at_binary(), set_container_walker::at_break(), semcheck_expr_visitor::at_call(), set_container_walker::at_case(), set_container_walker::at_continue(), goto_label_walker::at_goto(), goto_label_walker::at_label(), sue_complete_walker::at_suespec(), semcheck_expr_visitor::check_binary(), semcheck_expr_visitor::check_unary(), id_lookup_walker::conflict(), unitNode::exit_scope(), scope_walker::exit_scope(), typeNode::finish(), basic_type::merge_in(), Labels_table::notify_exit_scope(), procNode::procNode(), basic_type::size(), and suespecNode::update(). |
void CBZ::WarnAboutPrecedence |
( |
unsigned int |
op_id, |
|
|
exprNode * |
the_expr |
|
) |
[static] |
|
void CBZ::Warning |
( |
int |
level, |
|
|
Coord |
c, |
|
|
string |
s |
|
) |
[static] |
|
void CBZ::Warning |
( |
int |
level, |
|
|
string |
s |
|
) |
[static] |
|
|
Definition at line 207 of file c_breeze.cc.
References current_file, current_line, current_unit, Files, unitNode::inc_warnings(), and WarningLevel.
Referenced by funcNode::add_parameter_types(), procNode::define(), typeNode::finish(), NodeInfo::getNode(), basic_type::merge_in(), Externals_table::notify_exit_scope(), Labels_table::notify_exit_scope(), Identifiers_table::notify_exit_scope(), set_file(), Tags_table::shadow(), Identifiers_table::shadow(), and WarnAboutPrecedence(). |
Member Data Documentation
string CBZ::ansi_preproc = "/usr/bin/gcc -E -ansi -x c" [static]
|
|
bool CBZ::ANSIOnly = false [static]
|
|
|
Definition at line 87 of file c_breeze.cc.
Referenced by procNode::alloc_stack_local(), briggs_reg_alloc::allocate(), storage_alloc::assign_arg_register(), briggs_reg_alloc::assignRegisters(), lir_gen_walker::at_proc(), briggs_reg_alloc::buildAdjMatrix(), LIR::Call(), lir_flow_walker::computeRegisterLiveness(), asm_gen_walker::computeStackFrameSize(), asm_gen_walker::createTempForRegSave(), asm_gen_walker::doCalleeSave(), asm_gen_walker::doCallerSave(), asm_gen_walker::emit(), lir_gen_walker::gen_call(), Symbol::getLirVt(), Register::getRegFp(), Register::getRegRetValFixed(), Register::getRegRetValFloat(), Register::getRegSp(), briggs_reg_alloc::interfere(), dummy_reg_alloc::is_real_reg(), lir_gen_walker::load_const(), briggs_reg_alloc::makeDuChains(), briggs_reg_alloc::makeWebs(), briggs_reg_alloc::modifyCode(), process_flags(), storage_alloc::reset(), asmGenWalkerPhase::run(), regAllocPhase::run(), lirGenWalkerPhase::run(), dummy_reg_alloc::setup_rregs(), reg_or_const::to_string(), and Register::to_string(). |
int CBZ::current_file [static]
|
|
int CBZ::current_line [static]
|
|
int CBZ::current_offset [static]
|
|
bool CBZ::DebugLex = false [static]
|
|
string CBZ::default_preproc = "/usr/bin/gcc-2.95 -x c -E -D__C_BREEZE__ -U__GNUC__ " [static]
|
|
string CBZ::Executable [static]
|
|
bool CBZ::FormatReadably = false [static]
|
|
string CBZ::gcc_preproc = "/usr/bin/gcc -x c -E -D__C_BREEZE__ -D__QI__=1 -D__HI__=1 -D__SI__=1 -D__DI__=1 -D__word__=1 -D__extension__='' -D__const='' -D__restrict='' -D__printf__='' -D__builtin_va_list='long int'" [static]
|
|
bool CBZ::GCCisms = false [static]
|
|
bool CBZ::IgnoreLineDirectives = false [static]
|
|
string CBZ::input_suffix = ".c" [static]
|
|
unsigned int CBZ::next_temp_id_seed = 0 [static, private]
|
|
bool CBZ::NoRegAlloc = false [static]
|
|
bool CBZ::OldStyleFunctionDefinition [static]
|
|
string CBZ::output_suffix = ".p.c" [static]
|
|
string CBZ::PhaseName [static]
|
|
string CBZ::preproc [static]
|
|
bool CBZ::Preprocess = true [static]
|
|
bool CBZ::PrintLineOffset = false [static]
|
|
bool CBZ::PrintSymTables = false [static]
|
|
|
Definition at line 47 of file c_breeze.cc.
Referenced by UnificationBasedPtr::analyze_all(), reachingDefinitionsWalker::analyze_all(), NodeLocator::at_stmt(), copyPropChanger::change(), constantFoldingChanger::change(), constantPropChanger::change(), TreeChecker::check(), gcWalker::collect(), findmain(), NodeInfo::getCoord(), function_inline::inline_functions(), Linker::link(), main(), name_mangle_walker::mangle(), process_flags(), NodeInfo::readCall(), NodeInfo::readProc(), NodeInfo::readsuef(), vcgCCGPhase::run(), vcgASTPhase::run(), P::run(), dfpreds_phase::run(), ssa_phase::run(), pointers_phase::run(), TreeCheckerPhase::run(), DeadPhase::run(), asmGenWalkerPhase::run(), regAllocPhase::run(), lirFlowWalkerPhase::run(), lirGenWalkerPhase::run(), CfgPhase::run(), DismantleChangerPhase::run(), DismantleControlChangerPhase::run(), output_c_phase::run(), print_ast_phase::run(), LiveTest::run(), and fi::run(). |
bool CBZ::QuietlyIgnore = false [static]
|
|
bool CBZ::ShowPreprocess = false [static]
|
|
bool CBZ::TrackInsertSymbol = false [static]
|
|
string CBZ::VersionDate [static]
|
|
float CBZ::VersionNumber [static]
|
|
int CBZ::WarningLevel = 4 [static]
|
|
The documentation for this class was generated from the following files:
|