Home
last modified time | relevance | path

Searched refs:Omod (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
Dradeon_compiler_optimize_tests.c73 if (inst_list[0]->U.I.Omod != RC_OMOD_MUL_2 || in test_runner_rc_optimize()
74 inst_list[1]->U.I.Omod != RC_OMOD_MUL_2 || in test_runner_rc_optimize()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_emit.c286 if (inst->RGB.Omod) { in emit_alu()
287 if (inst->RGB.Omod == RC_OMOD_DISABLE) { in emit_alu()
291 (inst->RGB.Omod << R300_ALU_OUTC_MOD_SHIFT); in emit_alu()
293 if (inst->Alpha.Omod) { in emit_alu()
294 if (inst->Alpha.Omod == RC_OMOD_DISABLE) { in emit_alu()
298 (inst->Alpha.Omod << R300_ALU_OUTC_MOD_SHIFT); in emit_alu()
Dradeon_pair_translate.c317 pair->RGB.Omod = inst->Omod; in set_pair_instruction()
320 pair->Alpha.Omod = inst->Omod; in set_pair_instruction()
Dradeon_compiler.c381 if (tmp->U.P.RGB.Omod != RC_OMOD_MUL_1 && in rc_get_stats()
382 tmp->U.P.RGB.Omod != RC_OMOD_DISABLE) { in rc_get_stats()
385 if (tmp->U.P.Alpha.Omod != RC_OMOD_MUL_1 && in rc_get_stats()
386 tmp->U.P.Alpha.Omod != RC_OMOD_DISABLE) { in rc_get_stats()
Dradeon_program_pair.h79 unsigned int Omod:3; member
Dradeon_program_print.c301 print_omod_op(f, inst->U.I.Omod); in rc_print_normal_instruction()
402 print_omod_op(f, inst->RGB.Omod); in rc_print_pair_instruction()
437 print_omod_op(f, inst->Alpha.Omod); in rc_print_pair_instruction()
Dradeon_program.h125 rc_omod_op Omod; member
Dradeon_pair_schedule.c658 rgb->Alpha.Omod = alpha->Alpha.Omod; in destructive_merge_instructions()
945 pair_inst->Alpha.Omod = pair_inst->RGB.Omod; in convert_rgb_to_alpha()
Dr500_fragprog_emit.c327 code->inst[ip].inst3 |= inst->RGB.Omod << R500_ALU_RGB_OMOD_SHIFT; in emit_paired()
328 code->inst[ip].inst4 |= inst->Alpha.Omod << R500_ALPHA_OMOD_SHIFT; in emit_paired()
Dradeon_optimize.c547 || inst->U.I.Omod) { in is_presub_candidate()
855 writer->Inst->U.I.Omod = omod_op; in peephole_mul_omod()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp260 SDValue &Clamp, SDValue &Omod) const;
262 SDValue &Clamp, SDValue &Omod) const;
265 SDValue &Clamp, SDValue &Omod) const;
2450 SDValue &Omod) const { in SelectVOP3Mods0()
2453 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3Mods0()
2459 SDValue &Clamp, SDValue &Omod) const { in SelectVOP3OMods()
2464 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3OMods()
DSIInstrInfo.cpp2660 const MachineOperand *Omod = getNamedOperand(MI, AMDGPU::OpName::omod); in convertToThreeAddress() local
2662 if (!Src0Mods && !Src1Mods && !Clamp && !Omod && in convertToThreeAddress()
2715 .addImm(Omod ? Omod->getImm() : 0); in convertToThreeAddress()