Home
last modified time | relevance | path

Searched refs:as_uniform (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp1112 writeout(1, fmul(bld.as_uniform(fneg(a16)), a));
1117 …p2_e64(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0xbf800000u), bld.as_uniform(a16))), a16));
1127 writeout(4, fsat(bld.as_uniform(fmul(a16, a16))));
1137 …writeout(6, fmul(bld.as_uniform(fmul(a16, a16)), bld.copy(bld.def(v1), Operand::c32(0x40000000))));
1147 writeout(8, fadd(bld.as_uniform(fmul(a16, a16)), a));
1157 …e64(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0xbf800000u), bld.as_uniform(fmul(a16, a16)))…
1626 writeout(1, fmul(bld.as_uniform(f2f16(a)), a));
1631 writeout(2, f2f16(bld.as_uniform(fmul(a16, a16))));
1646 writeout(5, fsat(bld.as_uniform(f2f16(fmul(a, a)))));
1656 writeout(7, fadd(bld.as_uniform(fmul(a16, a16)), f2f32(a16)));
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_lds.cpp303 if (new_src->as_uniform() && m_srcs.size() > 2) { in replace_source()
306 if (s->as_uniform() && !s->equal_to(*old_src)) in replace_source()
Dsfn_instr.cpp309 auto u = kc->as_uniform(); in try_reserve_kcache()
327 auto u = src->as_uniform(); in try_reserve_kcache()
Dsfn_virtualvalues.h107 virtual UniformValue *as_uniform() { return nullptr;} in as_uniform() function
337 UniformValue *as_uniform() override { return this;} in as_uniform() function
Dsfn_instr_alugroup.cpp397 if (s->as_uniform()) in get_kconsts()
Dsfn_liverangeevaluator.cpp236 auto uniform = instr->src(i).as_uniform(); in visit()
Dsfn_instr_alu.cpp143 auto u = s->as_uniform(); in update_uses()
1033 auto u = s->as_uniform(); in do_ready()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp460 src = bld.as_uniform(src); in expand_vector()
758 bool as_uniform = elem_size < 4 && vec.type() == RegType::sgpr; in get_alu_src() local
759 if (as_uniform) in get_alu_src()
779 return vec.type() == RegType::sgpr ? Builder(ctx->program, ctx->block).as_uniform(dst) : dst; in get_alu_src()
835 ptr = bld.as_uniform(ptr); in convert_pointer_to_64_bit()
3192 src = bld.as_uniform(src); in visit_alu_instr()
3241 lower = bld.as_uniform(lower); in visit_alu_instr()
3242 upper = bld.as_uniform(upper); in visit_alu_instr()
3286 src = bld.as_uniform(src); in visit_alu_instr()
3331 lower = bld.as_uniform(lower); in visit_alu_instr()
[all …]