📄 alpha.c
字号:
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 3;
}
}
/* stmt: ASGNI2(addr,reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 16;
}
break;
case 2102: /* ASGNU2 */
_label(LEFT_CHILD(a));
_label(RIGHT_CHILD(a));
if ( /* stmt: ASGNU2(VREGP,reg) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 4;
}
}
/* stmt: ASGNU2(addr,reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 17;
}
break;
case 2117: /* INDIRI2 */
_label(LEFT_CHILD(a));
if ( /* reg: INDIRI2(VREGP) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
if (mayrecalc(a)) {
struct _state *q = a->syms[RX]->u.t.cse->x.state;
if (q->cost[_stmt_NT] == 0) {
p->cost[_stmt_NT] = 0;
p->rule._stmt = q->rule._stmt;
}
if (q->cost[_reg_NT] == 0) {
p->cost[_reg_NT] = 0;
p->rule._reg = q->rule._reg;
}
if (q->cost[_con_NT] == 0) {
p->cost[_con_NT] = 0;
p->rule._con = q->rule._con;
}
if (q->cost[_acon_NT] == 0) {
p->cost[_acon_NT] = 0;
p->rule._acon = q->rule._acon;
}
if (q->cost[_addr_NT] == 0) {
p->cost[_addr_NT] = 0;
p->rule._addr = q->rule._addr;
}
if (q->cost[_rc_NT] == 0) {
p->cost[_rc_NT] = 0;
p->rule._rc = q->rule._rc;
}
if (q->cost[_rc6_NT] == 0) {
p->cost[_rc6_NT] = 0;
p->rule._rc6 = q->rule._rc6;
}
if (q->cost[_ar_NT] == 0) {
p->cost[_ar_NT] = 0;
p->rule._ar = q->rule._ar;
}
}
c = 0;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 3;
_closure_reg(a, c + 0);
}
}
/* reg: INDIRI2(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 24;
_closure_reg(a, c + 0);
}
break;
case 2118: /* INDIRU2 */
_label(LEFT_CHILD(a));
if ( /* reg: INDIRU2(VREGP) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
if (mayrecalc(a)) {
struct _state *q = a->syms[RX]->u.t.cse->x.state;
if (q->cost[_stmt_NT] == 0) {
p->cost[_stmt_NT] = 0;
p->rule._stmt = q->rule._stmt;
}
if (q->cost[_reg_NT] == 0) {
p->cost[_reg_NT] = 0;
p->rule._reg = q->rule._reg;
}
if (q->cost[_con_NT] == 0) {
p->cost[_con_NT] = 0;
p->rule._con = q->rule._con;
}
if (q->cost[_acon_NT] == 0) {
p->cost[_acon_NT] = 0;
p->rule._acon = q->rule._acon;
}
if (q->cost[_addr_NT] == 0) {
p->cost[_addr_NT] = 0;
p->rule._addr = q->rule._addr;
}
if (q->cost[_rc_NT] == 0) {
p->cost[_rc_NT] = 0;
p->rule._rc = q->rule._rc;
}
if (q->cost[_rc6_NT] == 0) {
p->cost[_rc6_NT] = 0;
p->rule._rc6 = q->rule._rc6;
}
if (q->cost[_ar_NT] == 0) {
p->cost[_ar_NT] = 0;
p->rule._ar = q->rule._ar;
}
}
c = 0;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 4;
_closure_reg(a, c + 0);
}
}
/* reg: INDIRU2(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 29;
_closure_reg(a, c + 0);
}
break;
case 2181: /* CVII2 */
break;
case 2182: /* CVIU2 */
break;
case 2229: /* CVUI2 */
break;
case 2230: /* CVUU2 */
break;
case 2277: /* LOADI2 */
_label(LEFT_CHILD(a));
/* reg: LOADI2(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + (move(a));
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 99;
_closure_reg(a, c + 0);
}
break;
case 2278: /* LOADU2 */
_label(LEFT_CHILD(a));
/* reg: LOADU2(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + (move(a));
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 104;
_closure_reg(a, c + 0);
}
break;
case 4113: /* CNSTF4 */
break;
case 4117: /* CNSTI4 */
/* con: CNSTI4 */
if (0 + 0 < p->cost[_con_NT]) {
p->cost[_con_NT] = 0 + 0;
p->rule._con = 5;
_closure_con(a, 0 + 0);
}
/* reg: CNSTI4 */
c = (range(a, 0, 0));
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 16;
_closure_reg(a, c + 0);
}
/* rc6: CNSTI4 */
c = (range(a,0,63));
if (c + 0 < p->cost[_rc6_NT]) {
p->cost[_rc6_NT] = c + 0;
p->rule._rc6 = 1;
}
break;
case 4118: /* CNSTU4 */
/* con: CNSTU4 */
if (0 + 0 < p->cost[_con_NT]) {
p->cost[_con_NT] = 0 + 0;
p->rule._con = 6;
_closure_con(a, 0 + 0);
}
/* reg: CNSTU4 */
c = (range(a, 0, 0));
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 20;
_closure_reg(a, c + 0);
}
break;
case 4119: /* CNSTP4 */
/* con: CNSTP4 */
if (0 + 0 < p->cost[_con_NT]) {
p->cost[_con_NT] = 0 + 0;
p->rule._con = 7;
_closure_con(a, 0 + 0);
}
break;
case 4129: /* ARGF4 */
_label(LEFT_CHILD(a));
/* stmt: ARGF4(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 73;
}
break;
case 4133: /* ARGI4 */
_label(LEFT_CHILD(a));
/* stmt: ARGI4(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 75;
}
break;
case 4134: /* ARGU4 */
_label(LEFT_CHILD(a));
/* stmt: ARGU4(reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 78;
}
break;
case 4135: /* ARGP4 */
break;
case 4145: /* ASGNF4 */
_label(LEFT_CHILD(a));
_label(RIGHT_CHILD(a));
if ( /* stmt: ASGNF4(VREGP,reg) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 5;
}
}
/* stmt: ASGNF4(addr,reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 23;
}
break;
case 4149: /* ASGNI4 */
_label(LEFT_CHILD(a));
_label(RIGHT_CHILD(a));
if ( /* stmt: ASGNI4(VREGP,reg) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 6;
}
}
/* stmt: ASGNI4(addr,reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 18;
}
break;
case 4150: /* ASGNU4 */
_label(LEFT_CHILD(a));
_label(RIGHT_CHILD(a));
if ( /* stmt: ASGNU4(VREGP,reg) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 8;
}
}
/* stmt: ASGNU4(addr,reg) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 1;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 19;
}
break;
case 4151: /* ASGNP4 */
_label(LEFT_CHILD(a));
_label(RIGHT_CHILD(a));
if ( /* stmt: ASGNP4(VREGP,reg) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
c = ((struct _state *)(RIGHT_CHILD(a)->x.state))->cost[_reg_NT] + 0;
if (c + 0 < p->cost[_stmt_NT]) {
p->cost[_stmt_NT] = c + 0;
p->rule._stmt = 7;
}
}
break;
case 4161: /* INDIRF4 */
_label(LEFT_CHILD(a));
if ( /* reg: INDIRF4(VREGP) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
if (mayrecalc(a)) {
struct _state *q = a->syms[RX]->u.t.cse->x.state;
if (q->cost[_stmt_NT] == 0) {
p->cost[_stmt_NT] = 0;
p->rule._stmt = q->rule._stmt;
}
if (q->cost[_reg_NT] == 0) {
p->cost[_reg_NT] = 0;
p->rule._reg = q->rule._reg;
}
if (q->cost[_con_NT] == 0) {
p->cost[_con_NT] = 0;
p->rule._con = q->rule._con;
}
if (q->cost[_acon_NT] == 0) {
p->cost[_acon_NT] = 0;
p->rule._acon = q->rule._acon;
}
if (q->cost[_addr_NT] == 0) {
p->cost[_addr_NT] = 0;
p->rule._addr = q->rule._addr;
}
if (q->cost[_rc_NT] == 0) {
p->cost[_rc_NT] = 0;
p->rule._rc = q->rule._rc;
}
if (q->cost[_rc6_NT] == 0) {
p->cost[_rc6_NT] = 0;
p->rule._rc6 = q->rule._rc6;
}
if (q->cost[_ar_NT] == 0) {
p->cost[_ar_NT] = 0;
p->rule._ar = q->rule._ar;
}
}
c = 0;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 5;
_closure_reg(a, c + 0);
}
}
/* reg: INDIRF4(addr) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + 1;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 48;
_closure_reg(a, c + 0);
}
break;
case 4165: /* INDIRI4 */
_label(LEFT_CHILD(a));
if ( /* reg: INDIRI4(VREGP) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
if (mayrecalc(a)) {
struct _state *q = a->syms[RX]->u.t.cse->x.state;
if (q->cost[_stmt_NT] == 0) {
p->cost[_stmt_NT] = 0;
p->rule._stmt = q->rule._stmt;
}
if (q->cost[_reg_NT] == 0) {
p->cost[_reg_NT] = 0;
p->rule._reg = q->rule._reg;
}
if (q->cost[_con_NT] == 0) {
p->cost[_con_NT] = 0;
p->rule._con = q->rule._con;
}
if (q->cost[_acon_NT] == 0) {
p->cost[_acon_NT] = 0;
p->rule._acon = q->rule._acon;
}
if (q->cost[_addr_NT] == 0) {
p->cost[_addr_NT] = 0;
p->rule._addr = q->rule._addr;
}
if (q->cost[_rc_NT] == 0) {
p->cost[_rc_NT] = 0;
p->rule._rc = q->rule._rc;
}
if (q->cost[_rc6_NT] == 0) {
p->cost[_rc6_NT] = 0;
p->rule._rc6 = q->rule._rc6;
}
if (q->cost[_ar_NT] == 0) {
p->cost[_ar_NT] = 0;
p->rule._ar = q->rule._ar;
}
}
c = 0;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 6;
_closure_reg(a, c + 0);
}
}
/* reg: INDIRI4(addr) */
c = ((struct _state *)(LEFT_CHILD(a)->x.state))->cost[_addr_NT] + 1;
if (c + 0 < p->cost[_reg_NT]) {
p->cost[_reg_NT] = c + 0;
p->rule._reg = 25;
_closure_reg(a, c + 0);
}
break;
case 4166: /* INDIRU4 */
_label(LEFT_CHILD(a));
if ( /* reg: INDIRU4(VREGP) */
LEFT_CHILD(a)->op == 711 /* VREGP */
) {
if (mayrecalc(a)) {
struct _state *q = a->syms[RX]->u.t.cse->x.state;
if (q->cost[_stmt_NT] == 0) {
p->cost[_stmt_NT] = 0;
p->rule._stmt = q->rule._stmt;
}
if (q->cost[_reg_NT] == 0) {
p->cost[_reg_NT] = 0;
p->rule._reg = q->rule._reg;
}
if (q->cost[_con_NT] == 0) {
p->cost[_con_NT] = 0;
p->rule._con = q->rule._con;
}
if (q->cost[_acon_NT] == 0) {
p->cost[_acon_NT] = 0;
p->rule._acon = q->rule._acon;
}
if (q->cost[_addr_NT] == 0) {
p->cost[_addr_NT] = 0;
p->rule._addr = q
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -