Home
last modified time | relevance | path

Searched refs:InlineConstant (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_virtualvalues.cpp89 ValueComparer(const InlineConstant *value);
96 void visit(const InlineConstant& other) override;
105 const InlineConstant *m_inline_constant;
115 void visit(const InlineConstant& value) {compare = ValueComparer(&value);} in visit()
127 case 'P': return InlineConstant::param_from_string(s); in from_string()
128 case 'I': return InlineConstant::from_string(s); in from_string()
162 void visit(const InlineConstant& value) {(void)value;} in get_addr()
529 InlineConstant::InlineConstant(int sel, int chan): in InlineConstant() function in r600::InlineConstant
534 void InlineConstant::accept(RegisterVisitor& vistor) in accept()
539 void InlineConstant::accept(ConstRegisterVisitor& vistor) const in accept()
[all …]
Dsfn_virtualvalues.h64 class InlineConstant; variable
105 virtual InlineConstant * as_inline_const() { return nullptr;} in as_inline_const()
212 class InlineConstant : public VirtualValue {
214 using Pointer = R600_POINTER_TYPE(InlineConstant);
216 InlineConstant(int sel, int chan = 0);
224 InlineConstant * as_inline_const() override { return this;} in as_inline_const()
226 InlineConstant(const InlineConstant& orig) = default;
230 using PInlineConstant = InlineConstant::Pointer;
232 inline std::ostream& operator << (std::ostream& os, const InlineConstant& val)
447 virtual void visit(InlineConstant& value) = 0;
[all …]
Dsfn_alu_readport_validation.cpp39 void visit(const InlineConstant& value) override;
78 void visit(const InlineConstant& value) override;
256 void ReserveReadport::visit(const InlineConstant& value) in visit()
311 void ReserveReadportTransPass1::visit(const InlineConstant& value) in visit()
Dsfn_shader_fs.cpp689 new InlineConstant(ALU_SRC_PARAM_BASE + io.lds_pos(), i + comp), in load_input_hw()
697 new InlineConstant(ALU_SRC_PARAM_BASE + io.lds_pos(), i), in load_input_hw()
928 new InlineConstant(ALU_SRC_PARAM_BASE + params.base, chan), in load_interpolated_one_comp()
952 new InlineConstant(ALU_SRC_PARAM_BASE + params.base, i), in load_interpolated_two_comp()
973 new InlineConstant(ALU_SRC_PARAM_BASE + params.base, i), in load_interpolated_two_comp_for_one()
Dsfn_instr_lds.cpp137 new InlineConstant(ALU_SRC_LDS_OQ_A_POP), in split()
287 new InlineConstant(ALU_SRC_LDS_OQ_A_POP), in split()
Dsfn_valuefactory.cpp179 void visit(InlineConstant& value) {(void)value;} in visit()
452 auto v = new InlineConstant( sel, chan); in inline_const()
662 case 'P': return InlineConstant::param_from_string(s); in src_from_string()
663 case 'I': return InlineConstant::from_string(s); in src_from_string()
Dsfn_valuefactory.h289 unordered_map_alloc<uint32_t, InlineConstant::Pointer> m_inline_constants;
Dsfn_instr_fetch.cpp626 void visit(InlineConstant& value) {assert(0);(void)value;} in visit()
Dsfn_assembler.cpp1154 void visit(const InlineConstant& value) override;
1205 void EncodeSourceVisitor::visit(const InlineConstant& value) in visit()
Dsfn_instr_alu.cpp603 void visit(const InlineConstant& value) {(void)value;} in visit()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_value_test.cpp144 InlineConstant c0(ALU_SRC_1); in TEST_F()
150 InlineConstant c1(ALU_SRC_M_1_INT); in TEST_F()
155 InlineConstant c2(ALU_SRC_PV, 1); in TEST_F()
240 EXPECT_EQ(*VirtualValue::from_string("I[0]"), InlineConstant(ALU_SRC_0)); in TEST_F()
241 EXPECT_EQ(*VirtualValue::from_string("I[HW_WAVE_ID]"), InlineConstant(ALU_SRC_HW_WAVE_ID)); in TEST_F()
Dsfn_instrfromstring_test.cpp302 new InlineConstant( ALU_SRC_PARAM_BASE, 2), in TEST_F()
318 new InlineConstant( ALU_SRC_PARAM_BASE, 2), in TEST_F()
Dsfn_valuefactory_test.cpp258 void visit(const InlineConstant& value) {(void)value;} in visit()