unsigned int pred_expr_hash (struct pred_expr *);
bool pred_expr_equal(struct pred_expr *, struct pred_expr *);
typedef HashSet<struct pred_expr *, uintptr_t, 0, model_malloc, model_calloc, model_free, pred_expr_hash, pred_expr_equal> PredExprSet;
unsigned int pred_expr_hash (struct pred_expr *);
bool pred_expr_equal(struct pred_expr *, struct pred_expr *);
typedef HashSet<struct pred_expr *, uintptr_t, 0, model_malloc, model_calloc, model_free, pred_expr_hash, pred_expr_equal> PredExprSet;
void add_predicate_expr(token_t token, FuncInst * func_inst, bool value);
void add_child(Predicate * child);
void add_predicate_expr(token_t token, FuncInst * func_inst, bool value);
void add_child(Predicate * child);
- void set_parent(Predicate * parent_pred) { parent = parent_pred; }
- void set_exit(Predicate * exit_pred) { exit = exit_pred; }
+ void set_parent(Predicate * parent_pred);
+ void set_exit(Predicate * exit_pred);
ModelVector<Predicate *> * get_children() { return &children; }
Predicate * get_parent() { return parent; }
Predicate * get_exit() { return exit; }
PredSet * get_backedges() { return &backedges; }
ModelVector<Predicate *> * get_children() { return &children; }
Predicate * get_parent() { return parent; }
Predicate * get_exit() { return exit; }
PredSet * get_backedges() { return &backedges; }
bool is_entry_predicate() { return entry_predicate; }
void set_entry_predicate() { entry_predicate = true; }
bool is_entry_predicate() { return entry_predicate; }
void set_entry_predicate() { entry_predicate = true; }
ConcretePredicate * evaluate(inst_act_map_t * inst_act_map, thread_id_t tid);
uint32_t get_expl_count() { return exploration_count; }
ConcretePredicate * evaluate(inst_act_map_t * inst_act_map, thread_id_t tid);
uint32_t get_expl_count() { return exploration_count; }
uint32_t get_store_visible_count() { return store_visible_count; }
uint32_t get_total_checking_count() { return total_checking_count; }
void incr_expl_count() { exploration_count++; }
uint32_t get_store_visible_count() { return store_visible_count; }
uint32_t get_total_checking_count() { return total_checking_count; }
void incr_expl_count() { exploration_count++; }
void incr_store_visible_count() { store_visible_count++; }
void incr_total_checking_count() { total_checking_count++; }
void incr_store_visible_count() { store_visible_count++; }
void incr_total_checking_count() { total_checking_count++; }
uint32_t store_visible_count;
uint32_t total_checking_count; /* The number of times the store visibility is checked */
uint32_t store_visible_count;
uint32_t total_checking_count; /* The number of times the store visibility is checked */