Lines Matching defs:opc
527 if (alu->src[0].src.is_ssa && is_sat_compatible(src[0]->opc) &&
734 if (cond->opc == OPC_ABSNEG_S && cond->flags == 0 &&
1147 load->opc = OPC_LDL;
1177 store->opc = OPC_STL;
1408 emit_sam(struct ir3_context *ctx, opc_t opc, struct tex_src_info info,
1416 sam = ir3_SAM(ctx->block, opc, type, wrmask, info.flags, info.samp_tex, src0,
1733 assert(instr->opc == OPC_META_INPUT);
1914 get_reduce_op(nir_op opc)
1916 switch (opc) {
1936 get_reduce_identity(nir_op opc, unsigned size)
1938 switch (opc) {
2925 opc_t opc = 0;
2996 opc = OPC_META_TEX_PREFETCH;
3002 opc = has_lod ? OPC_SAML : OPC_SAM;
3005 opc = OPC_SAMB;
3008 opc = OPC_SAML;
3011 opc = OPC_SAMGQ;
3014 opc = OPC_ISAML;
3017 opc = OPC_GETLOD;
3022 opc = OPC_GATHER4R;
3025 opc = OPC_GATHER4G;
3028 opc = OPC_GATHER4B;
3031 opc = OPC_GATHER4A;
3037 opc = OPC_ISAMM;
3065 if (ctx->compiler->unminify_coords && (opc == OPC_ISAML)) {
3075 if (is_isam(opc)) {
3112 if (opc == OPC_ISAMM) {
3124 opc = OPC_ISAML;
3154 if (opc == OPC_GETLOD)
3189 opc = OPC_GATHER4R + swizzle;
3196 if (opc == OPC_META_TEX_PREFETCH) {
3201 sam = ir3_SAM(ctx->in_block, opc, type, MASK(ncomp), 0, NULL,
3212 sam = emit_sam(ctx, opc, info, type, MASK(ncomp), col0, col1);
3233 if (opc == OPC_GATHER4A)
3258 assert(opc != OPC_META_TEX_PREFETCH);
3267 sam = ir3_SAM(b, opc, type, 0b1000, flags | info.flags, info.samp_tex,
3280 if (opc == OPC_GETLOD) {
3445 if (phi->opc != OPC_META_PHI)
3620 if (condition->opc == OPC_ANY_MACRO && condition->block == ctx->block) {
3623 } else if (condition->opc == OPC_ALL_MACRO &&
3627 } else if (condition->opc == OPC_ELECT_MACRO &&
3631 } else if (condition->opc == OPC_SHPS_MACRO &&
4027 } else if (instr->opc == OPC_META_TEX_PREFETCH) {
4103 } else if (instr->opc == OPC_META_TEX_PREFETCH) {
4500 if (instr->opc == OPC_END || instr->opc == OPC_CHMASK)
4557 if (instr->opc == OPC_META_TEX_PREFETCH) {
4857 assert(in->opc == OPC_META_INPUT);
4934 assert(in->opc == OPC_META_INPUT);