Home
last modified time | relevance | path

Searched refs:expected_operands (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp105 spv_operand_pattern_t* expected_operands);
189 expected_operands.reserve(25); in State()
215 spv_operand_pattern_t expected_operands; member
316 _.expected_operands.clear(); in parseInstruction()
318 _.expected_operands.push_back( in parseInstruction()
323 if (_.expected_operands.empty()) { in parseInstruction()
333 spvTakeFirstMatchableOperand(&_.expected_operands); in parseInstruction()
337 &_.operands, &_.expected_operands)) { in parseInstruction()
342 if (!_.expected_operands.empty() && in parseInstruction()
343 !spvOperandIsOptional(_.expected_operands.back())) { in parseInstruction()
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Dbinary.cpp105 spv_operand_pattern_t* expected_operands);
188 expected_operands.reserve(25); in State()
213 spv_operand_pattern_t expected_operands; member
312 _.expected_operands.clear(); in parseInstruction()
314 _.expected_operands.push_back( in parseInstruction()
319 if (_.expected_operands.empty()) { in parseInstruction()
329 spvTakeFirstMatchableOperand(&_.expected_operands); in parseInstruction()
333 &_.operands, &_.expected_operands)) { in parseInstruction()
338 if (!_.expected_operands.empty() && in parseInstruction()
339 !spvOperandIsOptional(_.expected_operands.back())) { in parseInstruction()
[all …]
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_decoder.cpp452 spv_operand_pattern_t* expected_operands) { in DecodeOperand() argument
534 spvPushOperandTypes(ext_inst->operandTypes, expected_operands); in DecodeOperand()
704 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
745 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
753 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
809 spv_operand_pattern_t expected_operands; in DecodeInstruction() local
810 expected_operands.reserve(opcode_desc->numTypes); in DecodeInstruction()
812 expected_operands.push_back( in DecodeInstruction()
823 inst_.num_operands = static_cast<uint16_t>(expected_operands.size()); in DecodeInstruction()
830 assert(!expected_operands.empty()); in DecodeInstruction()
[all …]
Dmarkv_decoder.h133 spv_operand_pattern_t* expected_operands);
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_decoder.cpp452 spv_operand_pattern_t* expected_operands) { in DecodeOperand() argument
534 spvPushOperandTypes(ext_inst->operandTypes, expected_operands); in DecodeOperand()
704 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
745 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
753 spvPushOperandTypes(entry->operandTypes, expected_operands); in DecodeOperand()
809 spv_operand_pattern_t expected_operands; in DecodeInstruction() local
810 expected_operands.reserve(opcode_desc->numTypes); in DecodeInstruction()
812 expected_operands.push_back( in DecodeInstruction()
823 inst_.num_operands = static_cast<uint16_t>(expected_operands.size()); in DecodeInstruction()
830 assert(!expected_operands.empty()); in DecodeInstruction()
[all …]
Dmarkv_decoder.h133 spv_operand_pattern_t* expected_operands);
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.annotation_test.cpp319 std::vector<uint32_t> expected_operands{1, SpvDecorationLinkageAttributes}; in TEST_P() local
322 expected_operands.insert(expected_operands.end(), in TEST_P()
325 expected_operands.push_back(GetParam().linkage_type_value); in TEST_P()
327 Eq(MakeInstruction(SpvOpDecorate, expected_operands))); in TEST_P()
Dext_inst.opencl_test.cpp36 std::vector<uint32_t> expected_operands; member
54 GetParam().expected_operands)}))) in TEST_P()
Dext_inst.debuginfo_test.cpp41 std::vector<uint32_t> expected_operands; member
59 GetParam().expected_operands)}))) in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.annotation_test.cpp319 std::vector<uint32_t> expected_operands{1, SpvDecorationLinkageAttributes}; in TEST_P() local
322 expected_operands.insert(expected_operands.end(), in TEST_P()
325 expected_operands.push_back(GetParam().linkage_type_value); in TEST_P()
327 Eq(MakeInstruction(SpvOpDecorate, expected_operands))); in TEST_P()
Dext_inst.opencl_test.cpp36 std::vector<uint32_t> expected_operands; member
54 GetParam().expected_operands)}))) in TEST_P()
Dext_inst.debuginfo_test.cpp41 std::vector<uint32_t> expected_operands; member
59 GetParam().expected_operands)}))) in TEST_P()
/external/mesa3d/src/compiler/glsl/
Dir_reader.cpp738 int expected_operands = ir_expression::get_num_operands(op); in read_expression() local
739 if (num_operands != expected_operands) { in read_expression()
741 num_operands, expected_operands); in read_expression()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction.cc491 auto expected_operands = 1 + operands(0)->shape().rank(); in CreateFromProto() local
492 TF_RET_CHECK(proto.operand_ids_size() == expected_operands) in CreateFromProto()
493 << "DynamicSlice instruction should have " << expected_operands in CreateFromProto()
509 auto expected_operands = 2 + operands(0)->shape().rank(); in CreateFromProto() local
510 TF_RET_CHECK(proto.operand_ids_size() == expected_operands) in CreateFromProto()
512 << expected_operands << " operands, but has " in CreateFromProto()