Lines Matching refs:rule
339 uint32_t rule = ir_rule(ctx, ref);
346 switch (rule & IR_RULE_MASK) {
416 if (rule == IR_SHIFT_CONST
421 } else if (rule == IR_SHIFT
429 } else if (rule == IR_SHIFT && insn->op == IR_ROL) {
1107 static void ir_match_insn2(ir_ctx *ctx, ir_ref ref, uint32_t rule)
5559 uint32_t *rule, insn_flags;
5578 for (i = bb->start, insn = ctx->ir_base + i, rule = ctx->rules + i; i <= bb->end;) {
5579 switch (ctx->rules ? *rule : insn->op) {
5594 && *rule != IR_CMP_AND_BRANCH_INT
5595 && *rule != IR_CMP_AND_BRANCH_FP
5596 && *rule != IR_GUARD_CMP_INT
5597 && *rule != IR_GUARD_CMP_FP) {
5725 rule += n;
5845 uint32_t *rule;
5937 rule = ctx->rules + i;
5940 if (!((*rule) & (IR_FUSED|IR_SKIPPED)))
5941 switch ((*rule) & IR_RULE_MASK) {
6160 IR_ASSERT(0 && "NIY rule/instruction");
6170 rule += n;