Home
last modified time | relevance | path

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

/external/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()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_emit.c284 if (inst->RGB.Omod) { in emit_alu()
285 if (inst->RGB.Omod == RC_OMOD_DISABLE) { in emit_alu()
289 (inst->RGB.Omod << R300_ALU_OUTC_MOD_SHIFT); in emit_alu()
291 if (inst->Alpha.Omod) { in emit_alu()
292 if (inst->Alpha.Omod == RC_OMOD_DISABLE) { in emit_alu()
296 (inst->Alpha.Omod << R300_ALU_OUTC_MOD_SHIFT); in emit_alu()
Dradeon_pair_translate.c315 pair->RGB.Omod = inst->Omod; in set_pair_instruction()
318 pair->Alpha.Omod = inst->Omod; in set_pair_instruction()
Dradeon_program_pair.h79 unsigned int Omod:3; member
Dradeon_program.h125 rc_omod_op Omod; member
Dradeon_compiler.c395 if (tmp->U.P.RGB.Omod != RC_OMOD_MUL_1 && in rc_get_stats()
396 tmp->U.P.RGB.Omod != RC_OMOD_DISABLE) { in rc_get_stats()
399 if (tmp->U.P.Alpha.Omod != RC_OMOD_MUL_1 && in rc_get_stats()
400 tmp->U.P.Alpha.Omod != RC_OMOD_DISABLE) { in rc_get_stats()
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_pair_schedule.c662 rgb->Alpha.Omod = alpha->Alpha.Omod; in destructive_merge_instructions()
949 pair_inst->Alpha.Omod = pair_inst->RGB.Omod; in convert_rgb_to_alpha()
Dr500_fragprog_emit.c325 code->inst[ip].inst3 |= inst->RGB.Omod << R500_ALU_RGB_OMOD_SHIFT; in emit_paired()
326 code->inst[ip].inst4 |= inst->Alpha.Omod << R500_ALPHA_OMOD_SHIFT; in emit_paired()
Dradeon_optimize.c542 || inst->U.I.Omod) { in is_presub_candidate()
842 writer->Inst->U.I.Omod = omod_op; in peephole_mul_omod()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp136 SDValue &Clamp, SDValue &Omod) const;
138 SDValue &Clamp, SDValue &Omod) const;
141 SDValue &Omod) const;
144 SDValue &Omod) const;
1458 SDValue &Omod) const { in SelectVOP3Mods0()
1462 Omod = CurDAG->getTargetConstant(0, DL, MVT::i32); in SelectVOP3Mods0()
1469 SDValue &Omod) const { in SelectVOP3NoMods0()
1470 bool Res = SelectVOP3Mods0(In, Src, SrcMods, Clamp, Omod); in SelectVOP3NoMods0()
1474 cast<ConstantSDNode>(Omod)->isNullValue(); in SelectVOP3NoMods0()
1479 SDValue &Omod) const { in SelectVOP3Mods0Clamp()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp269 SDValue &Clamp, SDValue &Omod) const;
271 SDValue &Clamp, SDValue &Omod) const;
273 SDValue &Clamp, SDValue &Omod) const;
276 SDValue &Clamp, SDValue &Omod) const;
2740 SDValue &Omod) const { in SelectVOP3Mods0()
2743 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3Mods0()
2750 SDValue &Omod) const { in SelectVOP3BMods0()
2753 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3BMods0()
2759 SDValue &Clamp, SDValue &Omod) const { in SelectVOP3OMods()
2764 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3OMods()
DSIInstrInfo.cpp3053 const MachineOperand *Omod = getNamedOperand(MI, AMDGPU::OpName::omod); in convertToThreeAddress() local
3056 if (!Src0Mods && !Src1Mods && !Clamp && !Omod && in convertToThreeAddress()
3118 .addImm(Omod ? Omod->getImm() : 0); in convertToThreeAddress()
/external/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()