Lines Matching defs:ProductionState
73 //------------------------------ProductionState--------------------------------
76 class ProductionState {
83 ProductionState(Arena *arena) : _production(cmpstr, hashstr, arena) { initialize(); };
84 ~ProductionState() { };
106 ProductionState( ) : _production(cmpstr, hashstr, Form::arena) { assert( false, "NotImplemented"); };
107 ProductionState( const ProductionState & ) : _production(cmpstr, hashstr, Form::arena) { assert( false, "NotImplemented"); }; // Deep-copy
118 const char *arrayIdx, const Expr *cost, const char *rule, ProductionState &status) {
180 // Update ProductionState
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) {
294 const char *result_type, ProductionState &status) {
312 const Expr *icost, const char *irule, Dict &operands_chained_from, ProductionState &status) {
385 ProductionState status(Form::arena);
593 void ArchDesc::gen_dfa_state_body(FILE* fp, Dict &minimize, ProductionState &status, Dict &operands_chained_from, int i) {
941 //------------------------------ProductionState--------------------------------
942 void ProductionState::initialize() {
958 Production *ProductionState::getProduction(const char *result) {
968 void ProductionState::set_constraint(const char *constraint) {
972 const char *ProductionState::valid(const char *result) {
976 void ProductionState::set_valid(const char *result) {
989 Expr *ProductionState::cost_lb(const char *result) {
993 Expr *ProductionState::cost_ub(const char *result) {
997 void ProductionState::set_cost_bounds(const char *result, const Expr *cost, bool has_state_check, bool has_cost_check) {
1039 void ProductionState::print() {