Home
last modified time | relevance | path

Searched refs:SpvOpConstant (Results 1 – 25 of 93) sorted by relevance

1234

/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.constant_test.cpp123 MakeInstruction(SpvOpConstant, {1, 2, 0x1234})})},
126 MakeInstruction(SpvOpConstant, {1, 2, 0x8000})})},
129 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
132 MakeInstruction(SpvOpConstant, {1, 2, 65535})})},
135 MakeInstruction(SpvOpConstant, {1, 2, 65535})})},
138 MakeInstruction(SpvOpConstant, {1, 2, 0xffff8000})})},
141 MakeInstruction(SpvOpConstant, {1, 2, uint32_t(-32)})})},
144 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
147 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
150 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
[all …]
Dtext_to_binary_test.cpp185 MakeInstruction(SpvOpConstant, {1, 2, 123})}))); in TEST_F()
196 MakeInstruction(SpvOpConstant, in TEST_P()
226 MakeInstruction(SpvOpConstant, in TEST_P()
Dtext_to_binary.control_flow_test.cpp148 MakeInstruction(SpvOpConstant, {1, 2, 52}), in TEST_F()
159 MakeInstruction(SpvOpConstant, {1, 2, 52}), in TEST_F()
248 MakeInstruction(SpvOpConstant, in MakeSwitchTestCase()
Dbinary_parse_test.cpp651 {spvOpcodeMake(5, SpvOpConstant), 1, 2}}),
659 {spvOpcodeMake(5, SpvOpConstant), 1, 2, 42}}),
693 {spvOpcodeMake(4, SpvOpConstant), 1, 2, 44, 44}}),
800 MakeInstruction(SpvOpConstant, {1, 2, 0x78f00000}),
810 MakeInstruction(SpvOpConstant, {2, 2, 42}),
816 MakeInstruction(SpvOpConstant, {1, 2, 42}),
Dimmediate_int_test.cpp112 MakeInstruction(SpvOpConstant, {1, 2, 4294967295}), in TEST_F()
155 MakeInstruction(SpvOpConstant, {1, 2, 0xb, 0xa}), in TEST_F()
Dbinary_to_text_test.cpp179 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
193 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
197 spvtest::MakeInstruction(SpvOpConstant, {2, 3, 999}),
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.constant_test.cpp123 MakeInstruction(SpvOpConstant, {1, 2, 0x1234})})},
126 MakeInstruction(SpvOpConstant, {1, 2, 0x8000})})},
129 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
132 MakeInstruction(SpvOpConstant, {1, 2, 65535})})},
135 MakeInstruction(SpvOpConstant, {1, 2, 65535})})},
138 MakeInstruction(SpvOpConstant, {1, 2, 0xffff8000})})},
141 MakeInstruction(SpvOpConstant, {1, 2, uint32_t(-32)})})},
144 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
147 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
150 MakeInstruction(SpvOpConstant, {1, 2, 0})})},
[all …]
Dtext_to_binary_test.cpp185 MakeInstruction(SpvOpConstant, {1, 2, 123})}))); in TEST_F()
196 MakeInstruction(SpvOpConstant, in TEST_P()
226 MakeInstruction(SpvOpConstant, in TEST_P()
Dtext_to_binary.control_flow_test.cpp148 MakeInstruction(SpvOpConstant, {1, 2, 52}), in TEST_F()
159 MakeInstruction(SpvOpConstant, {1, 2, 52}), in TEST_F()
248 MakeInstruction(SpvOpConstant, in MakeSwitchTestCase()
Dbinary_parse_test.cpp649 {spvOpcodeMake(5, SpvOpConstant), 1, 2}}),
657 {spvOpcodeMake(5, SpvOpConstant), 1, 2, 42}}),
691 {spvOpcodeMake(4, SpvOpConstant), 1, 2, 44, 44}}),
798 MakeInstruction(SpvOpConstant, {1, 2, 0x78f00000}),
808 MakeInstruction(SpvOpConstant, {2, 2, 42}),
814 MakeInstruction(SpvOpConstant, {1, 2, 42}),
Dimmediate_int_test.cpp112 MakeInstruction(SpvOpConstant, {1, 2, 4294967295}), in TEST_F()
155 MakeInstruction(SpvOpConstant, {1, 2, 0xb, 0xa}), in TEST_F()
Dbinary_to_text_test.cpp172 {"", spvtest::MakeInstruction(SpvOpConstant, {0, 1, 42}),
186 {"", spvtest::MakeInstruction(SpvOpConstant, {500, 1, 42}),
190 spvtest::MakeInstruction(SpvOpConstant, {2, 3, 999}),
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()
136 case SpvOp::SpvOpConstant: in FindIntTypesAndConstants()
163 new Instruction(context(), SpvOp::SpvOpConstant, uint32_type_id_, in GetConstantId()
Dfreeze_spec_constant_value_pass.cpp27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
Dconstants.cpp273 case SpvOp::SpvOpConstant: in GetConstantFromInst()
298 context(), SpvOp::SpvOpConstant, type, id, in CreateInstruction()
304 context(), SpvOp::SpvOpConstant, type, id, in CreateInstruction()
Dinst_bindless_check_pass.cpp131 if (index_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
132 length_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
Dunify_const_pass.cpp144 case SpvOp::SpvOpConstant: in Process()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()
136 case SpvOp::SpvOpConstant: in FindIntTypesAndConstants()
163 new Instruction(context(), SpvOp::SpvOpConstant, uint32_type_id_, in GetConstantId()
Dfreeze_spec_constant_value_pass.cpp27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
Dconstants.cpp273 case SpvOp::SpvOpConstant: in GetConstantFromInst()
298 context(), SpvOp::SpvOpConstant, type, id, in CreateInstruction()
304 context(), SpvOp::SpvOpConstant, type, id, in CreateInstruction()
Dinst_bindless_check_pass.cpp131 if (index_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
132 length_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
Dunify_const_pass.cpp144 case SpvOp::SpvOpConstant: in Process()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp114 if (rhs_def->opcode() == SpvOpConstant) { in TEST_F()
181 if (rhs_def->opcode() == SpvOpConstant) { in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpropagator_test.cpp114 if (rhs_def->opcode() == SpvOpConstant) { in TEST_F()
181 if (rhs_def->opcode() == SpvOpConstant) { in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/tools/stats/
Dspirv_stats.cpp100 if (inst->opcode() != SpvOpConstant) return; in ProcessConstant()

1234