Home
last modified time | relevance | path

Searched refs:Omod (Results 1 – 13 of 13) 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_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_pair.h79 unsigned int Omod:3; member
Dradeon_program.h125 rc_omod_op Omod; 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_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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp177 SDValue &Clamp, SDValue &Omod) const;
179 SDValue &Clamp, SDValue &Omod) const;
183 SDValue &Omod) const;
186 SDValue &Clamp, SDValue &Omod) const;
1877 SDValue &Omod) const { in SelectVOP3Mods0()
1880 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3Mods0()
1888 SDValue &Omod) const { in SelectVOP3Mods0Clamp0OMod()
1889 Clamp = Omod = CurDAG->getTargetConstant(0, SDLoc(In), MVT::i32); in SelectVOP3Mods0Clamp0OMod()
1894 SDValue &Clamp, SDValue &Omod) const { in SelectVOP3OMods()
1899 Omod = CurDAG->getTargetConstant(0, DL, MVT::i1); in SelectVOP3OMods()
DSIInstrInfo.cpp2258 const MachineOperand *Omod = getNamedOperand(MI, AMDGPU::OpName::omod); in convertToThreeAddress() local
2260 if (!IsFMA && !Src0Mods && !Src1Mods && !Clamp && !Omod && in convertToThreeAddress()
2303 .addImm(Omod ? Omod->getImm() : 0); in convertToThreeAddress()