Lines Matching refs:parsed_operand

112   spv_result_t setNumericTypeInfoForType(spv_parsed_operand_t* parsed_operand,
403 spv_parsed_operand_t parsed_operand; in parseOperand() local
404 parsed_operand.offset = uint16_t(_.word_index - inst_offset); in parseOperand()
406 parsed_operand.num_words = 1; in parseOperand()
412 parsed_operand.type = type; in parseOperand()
415 parsed_operand.number_kind = SPV_NUMBER_NONE; in parseOperand()
416 parsed_operand.number_bit_width = 0; in parseOperand()
454 parsed_operand.type = SPV_OPERAND_TYPE_ID; in parseOperand()
456 if (opcode == SpvOpExtInst && parsed_operand.offset == 3) { in parseOperand()
509 parsed_operand.type = SPV_OPERAND_TYPE_LITERAL_INTEGER; in parseOperand()
511 parsed_operand.number_kind = SPV_NUMBER_UNSIGNED_INT; in parseOperand()
512 parsed_operand.number_bit_width = 32; in parseOperand()
517 parsed_operand.type = SPV_OPERAND_TYPE_TYPED_LITERAL_NUMBER; in parseOperand()
536 if (auto error = setNumericTypeInfoForType(&parsed_operand, type_id)) in parseOperand()
538 if (parsed_operand.number_kind != SPV_NUMBER_UNSIGNED_INT && in parseOperand()
539 parsed_operand.number_kind != SPV_NUMBER_SIGNED_INT) { in parseOperand()
549 setNumericTypeInfoForType(&parsed_operand, inst->type_id)) in parseOperand()
582 parsed_operand.num_words = uint16_t(string_num_words); in parseOperand()
583 parsed_operand.type = SPV_OPERAND_TYPE_LITERAL_STRING; in parseOperand()
631 parsed_operand.type = SPV_OPERAND_TYPE_ACCESS_QUALIFIER; in parseOperand()
636 << "Invalid " << spvOperandTypeStr(parsed_operand.type) in parseOperand()
655 parsed_operand.type = SPV_OPERAND_TYPE_IMAGE; in parseOperand()
657 parsed_operand.type = SPV_OPERAND_TYPE_MEMORY_ACCESS; in parseOperand()
671 << "Invalid " << spvOperandTypeStr(parsed_operand.type) in parseOperand()
692 assert(spvOperandIsConcrete(parsed_operand.type)); in parseOperand()
694 operands->push_back(parsed_operand); in parseOperand()
696 const size_t index_after_operand = _.word_index + parsed_operand.num_words; in parseOperand()
727 spv_parsed_operand_t* parsed_operand, uint32_t type_id) { in setNumericTypeInfoForType() argument
740 parsed_operand->number_kind = info.type; in setNumericTypeInfoForType()
741 parsed_operand->number_bit_width = info.bit_width; in setNumericTypeInfoForType()
743 parsed_operand->num_words = static_cast<uint16_t>((info.bit_width + 31) / 32); in setNumericTypeInfoForType()