/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
D | sfn_instr_test.cpp | 47 new Register( 129, 0, pin_chan), {alu_write}); in TEST_F() 72 EXPECT_EQ(src0->pin(), pin_chan); in TEST_F() 91 new Register( 129, 2, pin_chan), in TEST_F() 125 EXPECT_EQ(src0->pin(), pin_chan); in TEST_F() 142 new Register( 129, 2, pin_chan), in TEST_F() 169 EXPECT_EQ(src0->pin(), pin_chan); in TEST_F() 191 auto r128zc = new Register( 128, 2, pin_chan); in TEST_F() 194 auto r129xc = new Register( 129, 0, pin_chan); in TEST_F() 221 EXPECT_NE(alu1, AluInstr(op2_add, r128z, r128x, new Register( 128, 1, pin_chan), {alu_write})); in TEST_F() 234 …EXPECT_NE(alu1, AluInstr(op3_muladd, r128z, r128x, r128y, new Register( 128, 1, pin_chan), {alu_wr… in TEST_F() [all …]
|
D | sfn_valuefactory_test.cpp | 186 auto dest_value = factory->dest(alu->dest, 0, pin_chan); in TEST_F() 189 EXPECT_EQ(dest_value->pin(), pin_chan); in TEST_F() 194 EXPECT_EQ(value->pin(), pin_chan); in TEST_F() 205 auto dest_value = factory->dest(alu->dest, 1, pin_chan); in TEST_F() 208 EXPECT_EQ(dest_value->pin(), pin_chan); in TEST_F() 213 EXPECT_EQ(value->pin(), pin_chan); in TEST_F()
|
D | sfn_instrfromstring_test.cpp | 300 new Register( 1024, 2, pin_chan), in TEST_F() 316 new Register( 1024, 0, pin_chan), in TEST_F()
|
D | sfn_liverange_test.cpp | 120 RegisterVec4 r2 = vf.dest_vec4_from_string("S2.xyzw", dummy, pin_chan); in TEST_F()
|
D | sfn_value_test.cpp | 232 EXPECT_EQ(*Register::from_string("R1000.y@chan"), Register(1000, 1, pin_chan)); in TEST_F()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instr_alu.cpp | 304 if (m_dest->pin() == pin_chan) in can_propagate_src() 306 (src_reg->pin() == pin_chan && in can_propagate_src() 333 if (src_reg->pin() == pin_chan) in can_propagate_dest() 336 ((m_dest->pin() == pin_chan || in can_propagate_dest() 476 if (m_dest->pin() == pin_chan && in replace_dest() 481 if (m_dest->pin() == pin_chan) { in replace_dest() 485 new_dest->set_pin(pin_chan); in replace_dest() 511 r->set_pin(pin_chan); in pin_sources_to_chan() 659 auto pin = pin_chan; in split() 674 r->set_pin(pin_chan); in split() [all …]
|
D | sfn_instr_mem.cpp | 268 RegisterVec4 src(nullptr, shader.atomic_update(), nullptr, nullptr, pin_chan); in emit_atomic_inc() 301 RegisterVec4 src(nullptr, shader.atomic_update(), nullptr, nullptr, pin_chan); in emit_atomic_pre_dec() 584 auto value_vec = RegisterVec4(v, nullptr, nullptr, nullptr, pin_chan); in emit_ssbo_store() 679 auto coord_load = vf.src_vec4(intrin->src[1], pin_chan); in emit_image_store() 682 auto value_load = vf.src_vec4(intrin->src[3], pin_chan); in emit_image_store() 718 auto coord_orig = vf.src_vec4(intrin->src[1], pin_chan); in emit_image_load_or_atomic()
|
D | sfn_shader_fs.cpp | 692 …emit_instruction(new AluInstr(op1_mov, vf.dest(intr->dest, i, pin_chan), tmp, AluInstr::last_write… in load_input_hw() 696 vf.dest(intr->dest, i, pin_chan), in load_input_hw() 766 auto dst = need_temp ? vf.temp_vec4(pin_chan) : vf.dest_vec4(intr->dest, pin_chan); in load_interpolated_input_hw() 780 auto real_dst = vf.dest(intr->dest, i, pin_chan); in load_interpolated_input_hw()
|
D | sfn_valuefactory.cpp | 259 pinned_channel >= 0 ? pin_chan : pin_free); in temp_register() 272 pin = pin_chan; in temp_vec4() 287 pin = pin_chan; in dest_vec4() 472 retval.push_back(dest(dst, i, num_components > 1 ? pin_chan : pin_free)); in dest_vec() 501 return pin_chan; in pin_from_string()
|
D | sfn_valuefactory.h | 294 RegisterVec4 m_dummy_dest_pinned{126, pin_chan, {0,1,2,3}};
|
D | sfn_instr_alugroup.cpp | 251 dest->set_pin(pin_chan); in try_readport()
|
D | sfn_virtualvalues.cpp | 303 p = pin_chan; in from_string() 393 case pin_chan: in RegisterVec4()
|
D | sfn_virtualvalues.h | 50 pin_chan, enumerator
|
D | sfn_shader.cpp | 1173 group->add_instruction(new AluInstr(op1_mov, vf.dest(instr->dest, 0, pin_chan), in emit_shader_clock() 1175 group->add_instruction(new AluInstr(op1_mov, vf.dest(instr->dest, 1, pin_chan), in emit_shader_clock()
|
D | sfn_instr_tex.cpp | 663 RegisterVec4 dest = shader.value_factory().dest_vec4(instr->dest, pin_chan); in emit_tex_texture_samples()
|