Home
last modified time | relevance | path

Searched refs:r_inst (Results 1 – 6 of 6) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Drelax_float_ops_pass.cpp48 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsRelaxed() local
49 if (r_inst->opcode() == SpvOpDecorate && in IsRelaxed()
50 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsRelaxed()
55 bool RelaxFloatOpsPass::ProcessInst(Instruction* r_inst) { in ProcessInst() argument
56 uint32_t r_id = r_inst->result_id(); in ProcessInst()
58 if (!IsFloat32(r_inst)) return false; in ProcessInst()
60 if (!IsRelaxable(r_inst)) return false; in ProcessInst()
Dconvert_to_half_pass.cpp47 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsDecoratedRelaxed() local
48 if (r_inst->opcode() == SpvOpDecorate && in IsDecoratedRelaxed()
49 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsDecoratedRelaxed()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Drelax_float_ops_pass.cpp48 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsRelaxed() local
49 if (r_inst->opcode() == SpvOpDecorate && in IsRelaxed()
50 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsRelaxed()
55 bool RelaxFloatOpsPass::ProcessInst(Instruction* r_inst) { in ProcessInst() argument
56 uint32_t r_id = r_inst->result_id(); in ProcessInst()
58 if (!IsFloat32(r_inst)) return false; in ProcessInst()
60 if (!IsRelaxable(r_inst)) return false; in ProcessInst()
Dconvert_to_half_pass.cpp47 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsDecoratedRelaxed() local
48 if (r_inst->opcode() == SpvOpDecorate && in IsDecoratedRelaxed()
49 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsDecoratedRelaxed()
/external/angle/third_party/spirv-tools/src/source/opt/
Drelax_float_ops_pass.cpp48 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsRelaxed() local
49 if (r_inst->opcode() == SpvOpDecorate && in IsRelaxed()
50 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsRelaxed()
55 bool RelaxFloatOpsPass::ProcessInst(Instruction* r_inst) { in ProcessInst() argument
56 uint32_t r_id = r_inst->result_id(); in ProcessInst()
58 if (!IsFloat32(r_inst)) return false; in ProcessInst()
60 if (!IsRelaxable(r_inst)) return false; in ProcessInst()
Dconvert_to_half_pass.cpp47 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsDecoratedRelaxed() local
48 if (r_inst->opcode() == SpvOpDecorate && in IsDecoratedRelaxed()
49 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsDecoratedRelaxed()