Home
last modified time | relevance | path

Searched refs:FetchInstr (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_fetch.cpp38 FetchInstr::FetchInstr(EVFetchInstr opcode, in FetchInstr() function in r600::FetchInstr
91 void FetchInstr::accept(ConstInstrVisitor& visitor) const in accept()
96 void FetchInstr::accept(InstrVisitor& visitor) in accept()
101 bool FetchInstr::is_equal_to(const FetchInstr& rhs) const in is_equal_to()
137 bool FetchInstr::propagate_death() in propagate_death()
145 bool FetchInstr::replace_source(PRegister old_src, PVirtualValue new_src) in replace_source()
166 bool FetchInstr::do_ready() const in do_ready()
182 void FetchInstr::do_print(std::ostream& os) const in do_print()
268 Instr::Pointer FetchInstr::from_string(std::istream& is, ValueFactory& vf) in from_string()
273 Instr::Pointer FetchInstr::from_string_impl(std::istream& is, EVFetchInstr opcode, ValueFactory& vf) in from_string_impl()
[all …]
Dsfn_instr_fetch.h36 class FetchInstr : public InstrWithVectorResult {
62 FetchInstr(EVFetchInstr opcode,
101 bool is_equal_to(const FetchInstr& rhs) const;
157 class QueryBufferSizeInstr : public FetchInstr {
163 class LoadFromBuffer : public FetchInstr {
171 class LoadFromScratch : public FetchInstr {
Dsfn_instr_mem.cpp553 ir->set_fetch_flag(FetchInstr::use_tc); in emit_ssbo_load()
633 auto fetch = new FetchInstr(vc_fetch, in emit_ssbo_atomic_op()
644 fetch->set_fetch_flag(FetchInstr::srf_mode); in emit_ssbo_atomic_op()
645 fetch->set_fetch_flag(FetchInstr::use_tc); in emit_ssbo_atomic_op()
646 fetch->set_fetch_flag(FetchInstr::vpm); in emit_ssbo_atomic_op()
647 fetch->set_fetch_flag(FetchInstr::wait_ack); in emit_ssbo_atomic_op()
761 auto fetch = new FetchInstr(vc_fetch, in emit_image_load_or_atomic()
772 fetch->set_fetch_flag(FetchInstr::srf_mode); in emit_image_load_or_atomic()
773 fetch->set_fetch_flag(FetchInstr::use_tc); in emit_image_load_or_atomic()
774 fetch->set_fetch_flag(FetchInstr::vpm); in emit_image_load_or_atomic()
[all …]
Dsfn_optimizer.cpp75 void visit(FetchInstr *instr) override;
193 void DCEVisitor::visit(FetchInstr *instr) in visit()
248 void visit(FetchInstr *instr) override;
276 void visit(FetchInstr *instr) override;
392 void CopyPropFwdVisitor::visit(FetchInstr *instr) in visit()
472 void CopyPropBackVisitor::visit(FetchInstr *instr) in visit()
492 void visit(FetchInstr *instr) override;
630 void SimplifySourceVecVisitor::visit(FetchInstr *instr) in visit()
Dsfn_assembler.cpp57 void visit(const FetchInstr& instr) override;
632 void AssamblerVisitor::visit(const FetchInstr& fetch_instr) in visit()
642 if (fetch_instr.has_fetch_flag(FetchInstr::wait_ack)) in visit()
645 bool use_tc = fetch_instr.has_fetch_flag(FetchInstr::use_tc) || in visit()
654 if (fetch_instr.has_fetch_flag(FetchInstr::use_tc) && in visit()
679 vtx.use_const_fields = fetch_instr.has_fetch_flag(FetchInstr::use_const_field); in visit()
682 vtx.format_comp_all = fetch_instr.has_fetch_flag(FetchInstr::format_comp_signed); in visit()
686 vtx.indexed = fetch_instr.has_fetch_flag(FetchInstr::indexed); in visit()
687 vtx.uncached = fetch_instr.has_fetch_flag(FetchInstr::uncached); in visit()
691 vtx.srf_mode_all = fetch_instr.has_fetch_flag(FetchInstr::srf_mode); in visit()
[all …]
Dsfn_instr.h45 class FetchInstr; variable
288 virtual void visit(const FetchInstr& instr) = 0;
309 virtual void visit(FetchInstr *instr) = 0;
Dsfn_scheduler.cpp67 void visit(FetchInstr *instr) override { in visit()
136 std::list<FetchInstr *> fetches;
195 std::list<FetchInstr *> fetches_ready;
886 struct type_char<FetchInstr> {
Dsfn_shader_gs.cpp351 fetch->set_fetch_flag(FetchInstr::use_const_field); in emit_load_per_vertex_input()
354 fetch->reset_fetch_flag(FetchInstr::format_comp_signed); in emit_load_per_vertex_input()
Dsfn_instr.cpp457 DECLARE_MEMBER(FetchInstr);
491 void visit(const FetchInstr& instr) override { in visit()
Dsfn_shader_fs.cpp330 vtx->set_fetch_flag(FetchInstr::vpm); in emit_load_helper_invocation()
331 vtx->set_fetch_flag(FetchInstr::use_tc); in emit_load_helper_invocation()
560 fetch->set_fetch_flag(FetchInstr::srf_mode); in emit_load_sample_pos()
838 fetch->set_fetch_flag(FetchInstr::srf_mode); in load_barycentric_at_sample()
Dsfn_liverangeevaluator.cpp52 void visit(FetchInstr *instr) override;
270 void LiveRangeInstrVisitor::visit(FetchInstr *instr) in visit()
Dsfn_peephole.cpp38 void visit(FetchInstr *instr) override {(void)instr;} in visit()
Dsfn_instrfactory.cpp85 result = FetchInstr::from_string(is, m_value_factory); in from_string()
Dsfn_instr_alu.h205 void visit(FetchInstr *instr) override {(void)instr;} in visit()
Dsfn_shader.h360 void visit(FetchInstr *instr) override {(void) instr;} in visit()
Dsfn_instr_tex.cpp508 ir->set_fetch_flag(FetchInstr::use_const_field); in emit_buf_txf()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_instrfromstring_test.cpp424 FetchInstr expect(vc_fetch, in TEST_F()
445 FetchInstr expect_fetch(vc_get_buf_resinfo, in TEST_F()
455 expect_fetch.set_fetch_flag(FetchInstr::format_comp_signed); in TEST_F()
470 FetchInstr expect_fetch(vc_fetch, in TEST_F()
480 expect_fetch.set_fetch_flag(FetchInstr::format_comp_signed); in TEST_F()
495 FetchInstr expect_fetch(vc_read_scratch, in TEST_F()
506 expect_fetch.set_print_skip(FetchInstr::EPrintSkip::mfc); in TEST_F()
507 expect_fetch.set_print_skip(FetchInstr::EPrintSkip::fmt); in TEST_F()
508 expect_fetch.set_print_skip(FetchInstr::EPrintSkip::ftype); in TEST_F()
509 expect_fetch.set_fetch_flag(FetchInstr::EFlags::uncached); in TEST_F()
[all …]
Dsfn_instr_test.cpp604 FetchInstr fetch(vc_fetch, in TEST_F()
641 for (int i = 0; i < FetchInstr::unknown; ++i) { in TEST_F()
642 EXPECT_FALSE(fetch.has_fetch_flag(static_cast<FetchInstr::EFlags>(i))); in TEST_F()
645 EXPECT_NE(fetch, FetchInstr(vc_get_buf_resinfo, RegisterVec4(200),{0,2,1,3}, in TEST_F()
650 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(201),{0,2,1,3}, in TEST_F()
657 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(200),{1,2,0,3}, in TEST_F()
664 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(200),{0,2,1,3}, in TEST_F()
670 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(200),{0,2,1,3}, in TEST_F()
677 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(200),{0,2,1,3}, in TEST_F()
684 EXPECT_NE(fetch, FetchInstr(vc_fetch, RegisterVec4(200),{0,2,1,3}, in TEST_F()
[all …]