|
GCC Middle and Back End API Reference
|


Public Types | |
| enum | id_kind { CODE , FN , PREDICATE , USER , C_CODE_ID , NULL_ID } |
| typedef id_base * | value_type |
| typedef id_base * | compare_type |
Public Member Functions | |
| c_code_id (const char *id_, location_t loc) | |
| ~c_code_id () | |
| void | gen_checking (FILE *, int) |
Static Public Member Functions | |
| static id_base * | get_c_code_id (const char *) |
| static hashval_t | hash (const id_base *) |
| static hashval_t | hash (const value_type &) |
| static int | equal (const id_base *, const id_base *) |
| static bool | equal (const value_type &existing, const compare_type &candidate) |
| static void | mark_deleted (id_base *&) |
| static void | mark_empty (id_base *&) |
| static bool | is_deleted (id_base *) |
| static bool | is_empty (id_base *) |
| static void | remove (id_base *&) |
Data Fields | |
| vec< id_base * > | possible_values {vNULL} |
| bool | m_cmp = false |
| bool | m_code_only = false |
| bool | m_fn_only = false |
| bool | used = false |
| location_t | m_loc |
| enum id_base::id_kind | kind |
| hashval_t | hashval |
| int | nargs |
| const char * | id |
Static Public Attributes | |
| static const bool | empty_zero_p |
|
inherited |
|
inherited |
|
inherited |
|
inline |
References id_base::C_CODE_ID, id_base::id_base(), and m_loc.
|
inline |
References id_base::id.
|
inlinestaticinherited |
| void c_code_id::gen_checking | ( | FILE * | f, |
| int | indent ) |
Generates the checking code to make sure that the value of the identifier is only one of the possible values. F is where the printed to. INDENT is the initial indentation of the code.
References fprintf_indent().
Referenced by dt_simplify::gen_1().
|
static |
References id_base::id_base().
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
Remove doing nothing.
|
staticinherited |
|
inherited |
Referenced by add_function(), equal(), hash(), id_base(), parser::parse_c_with_ids(), parser::parse_for(), and parser::parse_operator_list().
|
inherited |
|
inherited |
Referenced by function_operation_p(), expr::gen_transform(), id_base(), and same_case_p().
Referenced by parser::parse_c_with_ids().
Referenced by dt_simplify::gen_1(), expr::gen_transform(), and parser::parse_c_with_ids().
Referenced by parser::parse_c_with_ids().
| location_t c_code_id::m_loc |
Referenced by c_code_id().
|
inherited |
Referenced by parser::parse_c_with_ids().