diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-05-22 15:43:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-05-22 15:43:43 (GMT) |
commit | 7577eadd4e871d467f747c4927a1b1984d6a7606 (patch) | |
tree | e72a2fd5c1619e60402a678b0559079ed267eab0 /tools/d2c/rules/manager.h | |
parent | 33aa90b022e7d711a733ca7eb62c0b285f974317 (diff) |
Extended the compiler to transform all the new ARMv7 encoding definitions.
Diffstat (limited to 'tools/d2c/rules/manager.h')
-rw-r--r-- | tools/d2c/rules/manager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/d2c/rules/manager.h b/tools/d2c/rules/manager.h index 7106c32..347b330 100644 --- a/tools/d2c/rules/manager.h +++ b/tools/d2c/rules/manager.h @@ -56,6 +56,9 @@ typedef enum _CondOpType typedef struct _cond_expr cond_expr; +/* Crée une expression conditionnelle reposant sur une variable. */ +cond_expr *build_named_cond_expression(char *); + /* Crée une expression conditionnelle simple. */ cond_expr *build_simple_cond_expression(char *, CondCompType, char *, bool); @@ -87,7 +90,7 @@ typedef struct _rule_action /* CAT_SEE */ char *details; /* Eventuel complément d'info. */ - /* CAT_CALL */ + /* CAT_CALL / CAT_CHECKED_CALL */ struct { char *callee; /* Fonction appelée */ @@ -112,6 +115,9 @@ void delete_decoding_rules(decoding_rules *); /* Ajoute une règle complète à la définition d'un codage. */ void register_conditional_rule(decoding_rules *, cond_expr *, const rule_action *); +/* Marque les éléments de règles effectivement utilisés. */ +bool mark_decoding_rules(const decoding_rules *, const coding_bits *, const conv_list *); + /* Traduit en code les éventuelles règles présentes. */ bool write_decoding_rules(decoding_rules *, bool, CondActionType, int, const char *, const char *, const coding_bits *, const conv_list *, const pre_processor *, bool *); |