Home
last modified time | relevance | path

Searched refs:ConvertToHalfPass (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconvert_to_half_pass.cpp31 bool ConvertToHalfPass::IsArithmetic(Instruction* inst) { in IsArithmetic()
39 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat()
45 bool ConvertToHalfPass::IsDecoratedRelaxed(Instruction* inst) { in IsDecoratedRelaxed()
54 bool ConvertToHalfPass::IsRelaxed(uint32_t id) { in IsRelaxed()
58 void ConvertToHalfPass::AddRelaxed(uint32_t id) { relaxed_ids_set_.insert(id); } in AddRelaxed()
60 analysis::Type* ConvertToHalfPass::FloatScalarType(uint32_t width) { in FloatScalarType()
65 analysis::Type* ConvertToHalfPass::FloatVectorType(uint32_t v_len, in FloatVectorType()
72 analysis::Type* ConvertToHalfPass::FloatMatrixType(uint32_t v_cnt, in FloatMatrixType()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId()
95 void ConvertToHalfPass::GenConvert(uint32_t* val_idp, uint32_t width, in GenConvert()
[all …]
Dconvert_to_half_pass.h25 class ConvertToHalfPass : public Pass {
27 ConvertToHalfPass() : Pass() {} in ConvertToHalfPass() function
29 ~ConvertToHalfPass() override = default;
Doptimizer.cpp940 MakeUnique<opt::ConvertToHalfPass>()); in CreateConvertRelaxedToHalfPass()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconvert_to_half_pass.cpp31 bool ConvertToHalfPass::IsArithmetic(Instruction* inst) { in IsArithmetic()
39 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat()
45 bool ConvertToHalfPass::IsDecoratedRelaxed(Instruction* inst) { in IsDecoratedRelaxed()
54 bool ConvertToHalfPass::IsRelaxed(uint32_t id) { in IsRelaxed()
58 void ConvertToHalfPass::AddRelaxed(uint32_t id) { relaxed_ids_set_.insert(id); } in AddRelaxed()
60 analysis::Type* ConvertToHalfPass::FloatScalarType(uint32_t width) { in FloatScalarType()
65 analysis::Type* ConvertToHalfPass::FloatVectorType(uint32_t v_len, in FloatVectorType()
72 analysis::Type* ConvertToHalfPass::FloatMatrixType(uint32_t v_cnt, in FloatMatrixType()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId()
95 void ConvertToHalfPass::GenConvert(uint32_t* val_idp, uint32_t width, in GenConvert()
[all …]
Dconvert_to_half_pass.h25 class ConvertToHalfPass : public Pass {
27 ConvertToHalfPass() : Pass() {} in ConvertToHalfPass() function
29 ~ConvertToHalfPass() override = default;
Doptimizer.cpp940 MakeUnique<opt::ConvertToHalfPass>()); in CreateConvertRelaxedToHalfPass()
/third_party/spirv-tools/source/opt/
Dconvert_to_half_pass.cpp31 bool ConvertToHalfPass::IsArithmetic(Instruction* inst) { in IsArithmetic()
39 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat()
45 bool ConvertToHalfPass::IsDecoratedRelaxed(Instruction* inst) { in IsDecoratedRelaxed()
54 bool ConvertToHalfPass::IsRelaxed(uint32_t id) { in IsRelaxed()
58 void ConvertToHalfPass::AddRelaxed(uint32_t id) { relaxed_ids_set_.insert(id); } in AddRelaxed()
60 analysis::Type* ConvertToHalfPass::FloatScalarType(uint32_t width) { in FloatScalarType()
65 analysis::Type* ConvertToHalfPass::FloatVectorType(uint32_t v_len, in FloatVectorType()
72 analysis::Type* ConvertToHalfPass::FloatMatrixType(uint32_t v_cnt, in FloatMatrixType()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId()
95 void ConvertToHalfPass::GenConvert(uint32_t* val_idp, uint32_t width, in GenConvert()
[all …]
Dconvert_to_half_pass.h25 class ConvertToHalfPass : public Pass {
27 ConvertToHalfPass() : Pass() {} in ConvertToHalfPass() function
29 ~ConvertToHalfPass() override = default;
Doptimizer.cpp965 MakeUnique<opt::ConvertToHalfPass>()); in CreateConvertRelaxedToHalfPass()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dconvert_relaxed_to_half_test.cpp203 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
297 SinglePassRunAndCheck<ConvertToHalfPass>(before, after, true, true); in TEST_F()
543 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
723 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
935 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1115 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1313 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1423 SinglePassRunAndMatch<ConvertToHalfPass>(defs + func, true); in TEST_F()
1488 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()
1569 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()
/third_party/spirv-tools/test/opt/
Dconvert_relaxed_to_half_test.cpp203 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
297 SinglePassRunAndCheck<ConvertToHalfPass>(before, after, true, true); in TEST_F()
543 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
723 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
935 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1115 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1313 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1423 SinglePassRunAndMatch<ConvertToHalfPass>(defs + func, true); in TEST_F()
1488 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()
1569 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dconvert_relaxed_to_half_test.cpp203 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
297 SinglePassRunAndCheck<ConvertToHalfPass>(before, after, true, true); in TEST_F()
543 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
723 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
935 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1115 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1313 SinglePassRunAndCheck<ConvertToHalfPass>(defs_before + func_before, in TEST_F()
1423 SinglePassRunAndMatch<ConvertToHalfPass>(defs + func, true); in TEST_F()
1488 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()
1569 auto result = SinglePassRunAndMatch<ConvertToHalfPass>(test, true); in TEST_F()