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) {
1105 static void ir_match_insn2(ir_ctx *ctx, ir_ref ref, uint32_t rule)
5541 uint32_t *rule, insn_flags;
5560 for (i = bb->start, insn = ctx->ir_base + i, rule = ctx->rules + i; i <= bb->end;) {
5561 switch (ctx->rules ? *rule : insn->op) {
5576 && *rule != IR_CMP_AND_BRANCH_INT
5577 && *rule != IR_CMP_AND_BRANCH_FP
5578 && *rule != IR_GUARD_CMP_INT
5579 && *rule != IR_GUARD_CMP_FP) {
5706 rule += n;
5826 uint32_t *rule;
5918 rule = ctx->rules + i;
5921 if (!((*rule) & (IR_FUSED|IR_SKIPPED)))
5922 switch ((*rule) & IR_RULE_MASK) {
6141 IR_ASSERT(0 && "NIY rule/instruction");
6151 rule += n;