Lines Matching defs:condition
476 dst[0]->cat2.condition = IR3_COND_NE;
486 dst[0]->cat2.condition = IR3_COND_NE;
572 dst[0]->cat2.condition = IR3_COND_LT;
576 dst[0]->cat2.condition = IR3_COND_GE;
580 dst[0]->cat2.condition = IR3_COND_EQ;
584 dst[0]->cat2.condition = IR3_COND_NE;
704 dst[0]->cat2.condition = IR3_COND_LT;
708 dst[0]->cat2.condition = IR3_COND_GE;
712 dst[0]->cat2.condition = IR3_COND_EQ;
716 dst[0]->cat2.condition = IR3_COND_NE;
720 dst[0]->cat2.condition = IR3_COND_LT;
724 dst[0]->cat2.condition = IR3_COND_GE;
742 /* The condition's size has to match the other two arguments' size, so
803 cmp->cat2.condition = IR3_COND_GE;
1000 carry->cat2.condition = IR3_COND_LT;
2378 dst[0]->cat2.condition = IR3_COND_EQ;
2461 cond->cat2.condition = IR3_COND_NE;
2463 /* condition always goes in predicate register: */
2500 cond->cat2.condition = IR3_COND_NE;
2502 /* condition always goes in predicate register: */
3618 struct ir3_instruction *condition = ir3_get_src(ctx, &nif->condition)[0];
3620 if (condition->opc == OPC_ANY_MACRO && condition->block == ctx->block) {
3621 ctx->block->condition = ssa(condition->srcs[0]);
3623 } else if (condition->opc == OPC_ALL_MACRO &&
3624 condition->block == ctx->block) {
3625 ctx->block->condition = ssa(condition->srcs[0]);
3627 } else if (condition->opc == OPC_ELECT_MACRO &&
3628 condition->block == ctx->block) {
3629 ctx->block->condition = NULL;
3631 } else if (condition->opc == OPC_SHPS_MACRO &&
3632 condition->block == ctx->block) {
3637 ctx->block->condition = NULL;
3640 ctx->block->condition = ir3_get_predicate(ctx, condition);
3739 * the 'if (vtxcnt < maxvtxcnt)' condition, then append the conditional
3773 * re-purpose this block to stream-out condition, then
3797 /* setup 'if (vtxcnt < maxvtxcnt)' condition: */
3801 cond->cat2.condition = IR3_COND_LT;
3803 /* condition goes on previous block to the conditional,
3807 orig_end_block->condition = cond;