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  

cbz_util Namespace Reference


Functions

string string_format (const char *pFormat,...)
void string_replace (string &str, const string &toFind, const string &toReplaceWith)
void string_to_lower (string &str)
template<typename T> void vector_copy (const vector< T > &copyFrom, vector< T > &copyTo)
template<typename T> bool list_find (const list< T > &toSearch, const T &toFind)


Function Documentation

template<typename T>
bool list_find const list< T > &    toSearch,
const T &    toFind
 

Definition at line 81 of file cbz_util.h.

Referenced by lir_flow_walker::computeRegisterLiveness(), and briggs_reg_alloc::makeDuChains().

string cbz_util::string_format const char *    pFormat,
...   
 

Definition at line 45 of file cbz_util.cc.

Referenced by arch_info::make_template_replacements(), Register::to_string(), and LirInst::to_string().

void cbz_util::string_replace string &    str,
const string &    toFind,
const string &    toReplaceWith
 

Definition at line 66 of file cbz_util.cc.

Referenced by arch_info::make_template_replacements(), reg_or_const::to_string(), and LirInst::to_string().

void cbz_util::string_to_lower string &    str
 

Definition at line 78 of file cbz_util.cc.

Referenced by arch_info_parser::parse(), arch_info_parser::parse_bool_item(), arch_info_parser::parse_Lir2Asm_item(), arch_info_parser::parse_vartype_item(), and arch_info_parser::thing_to_parse::thing_to_parse().

template<typename T>
void vector_copy const vector< T > &    copyFrom,
vector< T > &    copyTo
[static]
 

Definition at line 67 of file cbz_util.h.

Referenced by arch_info::get_code_for_instruction(), arch_info::get_instruction_kill_regs(), and arch_info_parser::parse_Lir2Asm_item().


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