/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | markv_codec.cpp | 191 instructions_.emplace_back(new val::Instruction(&inst_)); in ProcessCurInstruction() 193 const SpvOp opcode = SpvOp(inst_.opcode); in ProcessCurInstruction() 195 if (inst_.result_id) { in ProcessCurInstruction() 196 id_to_def_instruction_.emplace(inst_.result_id, instructions_.back().get()); in ProcessCurInstruction() 200 ids_local_to_cur_function_.push_back(inst_.result_id); in ProcessCurInstruction() 205 cur_function_id_ = inst_.result_id; in ProcessCurInstruction() 206 cur_function_return_type_ = inst_.type_id; in ProcessCurInstruction() 209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction() 210 inst_.result_id); in ProcessCurInstruction() 215 const val::Instruction* def_inst = FindDef(inst_.words[4]); in ProcessCurInstruction() [all …]
|
D | markv_decoder.cpp | 29 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in DecodeNonIdWord() 132 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in DecodeIdWithDescriptor() 195 SpvOp(inst_.opcode))(operand_index_); in DecodeRefId() 245 if (inst_.opcode == SpvOpFunctionParameter) { in DecodeTypeId() 247 inst_.type_id = remaining_function_parameter_types_.front(); in DecodeTypeId() 253 const spv_result_t result = DecodeIdWithDescriptor(&inst_.type_id); in DecodeTypeId() 261 assert(!spvOperandCanBeForwardDeclaredFunction(SpvOp(inst_.opcode))( in DecodeTypeId() 267 assert(inst_.opcode != SpvOpFunction); in DecodeTypeId() 270 return DecodeExistingId(mtf, &inst_.type_id); in DecodeTypeId() 294 &inst_.result_id)) in DecodeResultId() [all …]
|
D | markv_encoder.cpp | 30 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in EncodeNonIdWord() 45 << spvOpcodeString(SpvOp(inst_.opcode)) << " operand index " in EncodeNonIdWord() 147 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in EncodeIdWithDescriptor() 165 << spvOpcodeString(SpvOp(inst_.opcode)) << " operand index " in EncodeIdWithDescriptor() 216 SpvOp(inst_.opcode))(operand_index_); in EncodeRefId() 255 if (inst_.opcode == SpvOpFunctionParameter) { in EncodeTypeId() 257 assert(inst_.type_id == remaining_function_parameter_types_.front()); in EncodeTypeId() 264 const spv_result_t result = EncodeIdWithDescriptor(inst_.type_id); in EncodeTypeId() 273 assert(!spvOperandCanBeForwardDeclaredFunction(SpvOp(inst_.opcode))( in EncodeTypeId() 279 assert(inst_.opcode != SpvOpFunction); in EncodeTypeId() [all …]
|
D | markv_codec.h | 221 virtual const uint32_t* GetInstWords() const { return inst_.words; } in GetInstWords() 274 spv_parsed_instruction_t inst_; variable
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | markv_codec.cpp | 191 instructions_.emplace_back(new val::Instruction(&inst_)); in ProcessCurInstruction() 193 const SpvOp opcode = SpvOp(inst_.opcode); in ProcessCurInstruction() 195 if (inst_.result_id) { in ProcessCurInstruction() 196 id_to_def_instruction_.emplace(inst_.result_id, instructions_.back().get()); in ProcessCurInstruction() 200 ids_local_to_cur_function_.push_back(inst_.result_id); in ProcessCurInstruction() 205 cur_function_id_ = inst_.result_id; in ProcessCurInstruction() 206 cur_function_return_type_ = inst_.type_id; in ProcessCurInstruction() 209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction() 210 inst_.result_id); in ProcessCurInstruction() 215 const val::Instruction* def_inst = FindDef(inst_.words[4]); in ProcessCurInstruction() [all …]
|
D | markv_decoder.cpp | 29 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in DecodeNonIdWord() 132 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in DecodeIdWithDescriptor() 195 SpvOp(inst_.opcode))(operand_index_); in DecodeRefId() 245 if (inst_.opcode == SpvOpFunctionParameter) { in DecodeTypeId() 247 inst_.type_id = remaining_function_parameter_types_.front(); in DecodeTypeId() 253 const spv_result_t result = DecodeIdWithDescriptor(&inst_.type_id); in DecodeTypeId() 261 assert(!spvOperandCanBeForwardDeclaredFunction(SpvOp(inst_.opcode))( in DecodeTypeId() 267 assert(inst_.opcode != SpvOpFunction); in DecodeTypeId() 270 return DecodeExistingId(mtf, &inst_.type_id); in DecodeTypeId() 294 &inst_.result_id)) in DecodeResultId() [all …]
|
D | markv_encoder.cpp | 30 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in EncodeNonIdWord() 45 << spvOpcodeString(SpvOp(inst_.opcode)) << " operand index " in EncodeNonIdWord() 147 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in EncodeIdWithDescriptor() 165 << spvOpcodeString(SpvOp(inst_.opcode)) << " operand index " in EncodeIdWithDescriptor() 216 SpvOp(inst_.opcode))(operand_index_); in EncodeRefId() 255 if (inst_.opcode == SpvOpFunctionParameter) { in EncodeTypeId() 257 assert(inst_.type_id == remaining_function_parameter_types_.front()); in EncodeTypeId() 264 const spv_result_t result = EncodeIdWithDescriptor(inst_.type_id); in EncodeTypeId() 273 assert(!spvOperandCanBeForwardDeclaredFunction(SpvOp(inst_.opcode))( in EncodeTypeId() 279 assert(inst_.opcode != SpvOpFunction); in EncodeTypeId() [all …]
|
D | markv_codec.h | 221 virtual const uint32_t* GetInstWords() const { return inst_.words; } in GetInstWords() 274 spv_parsed_instruction_t inst_; variable
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.cc | 92 : packet_loss_rate_(0.0), inst_(nullptr) { in AudioEncoderOpus() 100 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpus() 149 inst_, &input_buffer_[0], in EncodeInternal() 204 inst_, static_cast<int32_t>(packet_loss_rate_ * 100 + .5))); in SetProjectedPacketLossRate() 212 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config_.bitrate_bps)); in SetTargetBitrate() 229 if (inst_) in RecreateEncoderInstance() 230 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance() 233 RTC_CHECK_EQ(0, WebRtcOpus_EncoderCreate(&inst_, config.num_channels, in RecreateEncoderInstance() 235 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config.bitrate_bps)); in RecreateEncoderInstance() 237 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance() [all …]
|
D | audio_encoder_opus.h | 95 OpusEncInst* inst_; variable
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | instruction.h | 42 uint32_t id() const { return inst_.result_id; } in id() 43 uint32_t type_id() const { return inst_.type_id; } in type_id() 44 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode() 81 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst() 85 return inst_.ext_inst_type; in ext_inst_type() 93 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs() 103 spv_parsed_instruction_t inst_; variable
|
D | instruction.cpp | 25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | instruction.h | 42 uint32_t id() const { return inst_.result_id; } in id() 43 uint32_t type_id() const { return inst_.type_id; } in type_id() 44 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode() 81 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst() 85 return inst_.ext_inst_type; in ext_inst_type() 93 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs() 103 spv_parsed_instruction_t inst_; variable
|
D | instruction.cpp | 25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | change_operand_reduction_opportunity.cpp | 22 return inst_->NumOperands() > operand_index_ && in PreconditionHolds() 23 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds() 24 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds() 28 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
|
D | remove_instruction_reduction_opportunity.cpp | 25 inst_->context()->KillInst(inst_); in Apply()
|
D | remove_instruction_reduction_opportunity.h | 31 : inst_(inst) {} in RemoveInstructionReductionOpportunity() 41 Instruction* inst_;
|
D | change_operand_reduction_opportunity.h | 35 : inst_(inst), in ChangeOperandReductionOpportunity() 51 Instruction* const inst_;
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | change_operand_reduction_opportunity.cpp | 22 return inst_->NumOperands() > operand_index_ && in PreconditionHolds() 23 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds() 24 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds() 28 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
|
D | change_operand_to_undef_reduction_opportunity.cpp | 25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds() 26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds() 30 auto operand = inst_->GetOperand(operand_index_); in Apply() 37 inst_->SetOperand(operand_index_, {undef_id}); in Apply()
|
D | remove_instruction_reduction_opportunity.cpp | 25 inst_->context()->KillInst(inst_); in Apply()
|
D | remove_instruction_reduction_opportunity.h | 31 : inst_(inst) {} in RemoveInstructionReductionOpportunity() 40 Instruction* inst_;
|
D | change_operand_to_undef_reduction_opportunity.h | 34 inst_(inst), in ChangeOperandToUndefReductionOpportunity() 45 opt::Instruction* const inst_; variable
|
D | change_operand_reduction_opportunity.h | 34 : inst_(inst), in ChangeOperandReductionOpportunity() 46 Instruction* const inst_;
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | pattern_matcher.h | 1196 explicit HloInstructionIsImpl(const HloInstruction* inst) : inst_(inst) {} 1199 if (inst != inst_) { 1200 EXPLAIN << "HloInstruction " << inst << " is not " << inst_ << " (" 1201 << InstToString(inst_) << ")"; 1208 *os << "which is " << inst_ << " (" << InstToString(inst_) << ")"; 1212 const HloInstruction* inst_;
|