GCC Middle and Back End API Reference
|
Public Types | |
enum | simplify_kind { SIMPLIFY , MATCH } |
Public Member Functions | |
simplify (simplify_kind kind_, unsigned id_, operand *match_, operand *result_, vec< vec< user_id * > > for_vec_, cid_map_t *capture_ids_) | |
Data Fields | |
simplify_kind | kind |
unsigned | id |
operand * | match |
class operand * | result |
vec< vec< user_id * > > | for_vec |
vec< std::pair< user_id *, id_base * > > | for_subst_vec |
cid_map_t * | capture_ids |
int | capture_max |
The main class of a pattern and its transform. This is used to represent both (simplify ...) and (match ...) kinds. The AST duplicates all outer 'if' and 'for' expressions here so each simplify can exist in isolation.
|
inline |
cid_map_t* simplify::capture_ids |
Referenced by lower_commutative(), lower_cond(), lower_for(), and lower_opt().
int simplify::capture_max |
Referenced by capture_info::capture_info(), decision_tree::insert(), and decision_tree::print_node().
Referenced by decision_tree::gen(), lower_cond(), and lower_for().
Referenced by lower_commutative(), lower_cond(), and lower_opt().
unsigned simplify::id |
Referenced by decision_tree::insert(), lower_commutative(), lower_cond(), lower_for(), and lower_opt().
simplify_kind simplify::kind |
Referenced by capture_info::capture_info(), emit_logging_call(), lower_commutative(), lower_cond(), lower_for(), and lower_opt().
operand* simplify::match |
class operand* simplify::result |
Referenced by capture_info::capture_info(), decision_tree::gen(), lower_commutative(), lower_cond(), lower_for(), and lower_opt().