Lines Matching defs:status

50 // Track the status of productions for a particular result
74 // Track the status of all production rule results
91 const char *valid(const char *result); // unknownValid, or status for this production
92 void set_valid(const char *result); // if not constrained, set status to knownValid
118 const char *arrayIdx, const Expr *cost, const char *rule, ProductionState &status) {
125 const Expr *previous_ub = status.cost_ub(arrayIdx);
133 const Expr *previous_lb = status.cost_lb(arrayIdx);
143 const char *validity_check = status.valid(arrayIdx);
178 status.set_cost_bounds(arrayIdx, cost, state_check, cost_check);
183 status.set_valid(arrayIdx);
213 Expr *ArchDesc::calc_cost(FILE *fp, const char *spaces, MatchList &mList, ProductionState &status) {
239 void ArchDesc::gen_match(FILE *fp, MatchList &mList, ProductionState &status, Dict &operands_chained_from) {
250 status.set_constraint(hasConstraint);
263 status.set_constraint(noConstraint);
270 const Expr *cost = calc_cost(fp, spaces6, mList, status);
272 cost_check(fp, spaces6, ArchDesc::getMachOperEnum(mList._resultStr), cost, mList._opcode, status);
275 expand_opclass( fp, spaces6, cost, mList._resultStr, status);
283 chain_rule(fp, spaces6, mList._resultStr, cost, rule, operands_chained_from, status);
294 const char *result_type, ProductionState &status) {
305 cost_check(fp, indent, ArchDesc::getMachOperEnum(oclass), cost, result_type, status);
312 const Expr *icost, const char *irule, Dict &operands_chained_from, ProductionState &status) {
342 cost_check(fp, indent, ArchDesc::getMachOperEnum(result), total_cost, reduce_rule, status);
343 chain_rule(fp, indent, result, total_cost, irule, operands_chained_from, status);
347 cost_check(fp, indent, ArchDesc::getMachOperEnum(result), total_cost, rule, status);
348 chain_rule(fp, indent, result, total_cost, rule, operands_chained_from, status);
352 expand_opclass( fp, indent, total_cost, result, status );
383 // Track status of dfa for each resulting production
385 ProductionState status(Form::arena);
432 gen_dfa_state_body(fp, minimize, status, operands_chained_from, i);
450 gen_dfa_state_body(fp, minimize, status, operands_chained_from, i);
465 // Return status, indicating a successful match.
593 void ArchDesc::gen_dfa_state_body(FILE* fp, Dict &minimize, ProductionState &status, Dict &operands_chained_from, int i) {
595 status.initialize();
619 gen_match(fp, *mList, status, operands_chained_from);
628 operands_chained_from, status);