Lines Matching refs:parsed_operand

112   spv_result_t setNumericTypeInfoForType(spv_parsed_operand_t* parsed_operand,
399 spv_parsed_operand_t parsed_operand; in parseOperand() local
400 parsed_operand.offset = uint16_t(_.word_index - inst_offset); in parseOperand()
402 parsed_operand.num_words = 1; in parseOperand()
408 parsed_operand.type = type; in parseOperand()
411 parsed_operand.number_kind = SPV_NUMBER_NONE; in parseOperand()
412 parsed_operand.number_bit_width = 0; in parseOperand()
450 parsed_operand.type = SPV_OPERAND_TYPE_ID; in parseOperand()
452 if (opcode == SpvOpExtInst && parsed_operand.offset == 3) { in parseOperand()
505 parsed_operand.type = SPV_OPERAND_TYPE_LITERAL_INTEGER; in parseOperand()
507 parsed_operand.number_kind = SPV_NUMBER_UNSIGNED_INT; in parseOperand()
508 parsed_operand.number_bit_width = 32; in parseOperand()
513 parsed_operand.type = SPV_OPERAND_TYPE_TYPED_LITERAL_NUMBER; in parseOperand()
532 if (auto error = setNumericTypeInfoForType(&parsed_operand, type_id)) in parseOperand()
534 if (parsed_operand.number_kind != SPV_NUMBER_UNSIGNED_INT && in parseOperand()
535 parsed_operand.number_kind != SPV_NUMBER_SIGNED_INT) { in parseOperand()
545 setNumericTypeInfoForType(&parsed_operand, inst->type_id)) in parseOperand()
578 parsed_operand.num_words = uint16_t(string_num_words); in parseOperand()
579 parsed_operand.type = SPV_OPERAND_TYPE_LITERAL_STRING; in parseOperand()
627 parsed_operand.type = SPV_OPERAND_TYPE_ACCESS_QUALIFIER; in parseOperand()
632 << "Invalid " << spvOperandTypeStr(parsed_operand.type) in parseOperand()
651 parsed_operand.type = SPV_OPERAND_TYPE_IMAGE; in parseOperand()
653 parsed_operand.type = SPV_OPERAND_TYPE_MEMORY_ACCESS; in parseOperand()
667 << "Invalid " << spvOperandTypeStr(parsed_operand.type) in parseOperand()
688 assert(spvOperandIsConcrete(parsed_operand.type)); in parseOperand()
690 operands->push_back(parsed_operand); in parseOperand()
692 const size_t index_after_operand = _.word_index + parsed_operand.num_words; in parseOperand()
723 spv_parsed_operand_t* parsed_operand, uint32_t type_id) { in setNumericTypeInfoForType() argument
736 parsed_operand->number_kind = info.type; in setNumericTypeInfoForType()
737 parsed_operand->number_bit_width = info.bit_width; in setNumericTypeInfoForType()
739 parsed_operand->num_words = static_cast<uint16_t>((info.bit_width + 31) / 32); in setNumericTypeInfoForType()