/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | markv_codec.cpp | 401 if ((inst_.opcode == SpvOpLoopMerge && operand_index_ <= 1) || in GetRuleBasedMtf() 402 (inst_.opcode == SpvOpSelectionMerge && operand_index_ == 0) || in GetRuleBasedMtf() 403 (inst_.opcode == SpvOpBranch && operand_index_ == 0) || in GetRuleBasedMtf() 405 (operand_index_ == 1 || operand_index_ == 2)) || in GetRuleBasedMtf() 406 (inst_.opcode == SpvOpPhi && operand_index_ >= 3 && in GetRuleBasedMtf() 407 operand_index_ % 2 == 1) || in GetRuleBasedMtf() 408 (inst_.opcode == SpvOpSwitch && operand_index_ > 0)) { in GetRuleBasedMtf() 420 if (operand_index_ == 0) return kMtfTypeFloatScalarOrVector; in GetRuleBasedMtf() 433 if (operand_index_ == 0) return kMtfTypeIntScalarOrVector; in GetRuleBasedMtf() 452 if (operand_index_ == 0) return kMtfTypeBoolScalarOrVector; in GetRuleBasedMtf() [all …]
|
D | markv_encoder.cpp | 30 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in EncodeNonIdWord() 46 << operand_index_ << " is missing kMarkvNoneOfTheAbove"; in EncodeNonIdWord() 147 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in EncodeIdWithDescriptor() 166 << operand_index_ << " is missing kMarkvNoneOfTheAbove"; in EncodeIdWithDescriptor() 216 SpvOp(inst_.opcode))(operand_index_); in EncodeRefId() 274 operand_index_)); in EncodeTypeId() 386 for (operand_index_ = 0; operand_index_ < num_operands; ++operand_index_) { in EncodeInstruction() 387 operand_ = inst_.operands[operand_index_]; in EncodeInstruction()
|
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() 262 operand_index_)); in DecodeTypeId() 827 for (operand_index_ = 0; in DecodeInstruction() 828 operand_index_ < static_cast<size_t>(inst_.num_operands); in DecodeInstruction() 829 ++operand_index_) { in DecodeInstruction()
|
D | markv_codec.h | 276 uint32_t operand_index_; variable
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | markv_codec.cpp | 401 if ((inst_.opcode == SpvOpLoopMerge && operand_index_ <= 1) || in GetRuleBasedMtf() 402 (inst_.opcode == SpvOpSelectionMerge && operand_index_ == 0) || in GetRuleBasedMtf() 403 (inst_.opcode == SpvOpBranch && operand_index_ == 0) || in GetRuleBasedMtf() 405 (operand_index_ == 1 || operand_index_ == 2)) || in GetRuleBasedMtf() 406 (inst_.opcode == SpvOpPhi && operand_index_ >= 3 && in GetRuleBasedMtf() 407 operand_index_ % 2 == 1) || in GetRuleBasedMtf() 408 (inst_.opcode == SpvOpSwitch && operand_index_ > 0)) { in GetRuleBasedMtf() 420 if (operand_index_ == 0) return kMtfTypeFloatScalarOrVector; in GetRuleBasedMtf() 433 if (operand_index_ == 0) return kMtfTypeIntScalarOrVector; in GetRuleBasedMtf() 452 if (operand_index_ == 0) return kMtfTypeBoolScalarOrVector; in GetRuleBasedMtf() [all …]
|
D | markv_encoder.cpp | 30 auto* codec = model_->GetNonIdWordHuffmanCodec(inst_.opcode, operand_index_); in EncodeNonIdWord() 46 << operand_index_ << " is missing kMarkvNoneOfTheAbove"; in EncodeNonIdWord() 147 model_->GetIdDescriptorHuffmanCodec(inst_.opcode, operand_index_); in EncodeIdWithDescriptor() 166 << operand_index_ << " is missing kMarkvNoneOfTheAbove"; in EncodeIdWithDescriptor() 216 SpvOp(inst_.opcode))(operand_index_); in EncodeRefId() 274 operand_index_)); in EncodeTypeId() 386 for (operand_index_ = 0; operand_index_ < num_operands; ++operand_index_) { in EncodeInstruction() 387 operand_ = inst_.operands[operand_index_]; in EncodeInstruction()
|
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() 262 operand_index_)); in DecodeTypeId() 827 for (operand_index_ = 0; in DecodeInstruction() 828 operand_index_ < static_cast<size_t>(inst_.num_operands); in DecodeInstruction() 829 ++operand_index_) { in DecodeInstruction()
|
D | markv_codec.h | 276 uint32_t operand_index_; variable
|
/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 | change_operand_reduction_opportunity.h | 36 operand_index_(operand_index), in ChangeOperandReductionOpportunity() 52 const uint32_t operand_index_; variable
|
/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 | change_operand_to_undef_reduction_opportunity.h | 35 operand_index_(operand_index), in ChangeOperandToUndefReductionOpportunity() 46 const uint32_t operand_index_; variable
|
D | change_operand_reduction_opportunity.h | 35 operand_index_(operand_index), in ChangeOperandReductionOpportunity() 47 const uint32_t operand_index_; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | pattern_matcher.h | 1317 : operand_index_(operand_index), operand_(operand) {} 1328 *os << "with operand " << operand_index_ << " which is:"; 1336 if (operand_index_ >= inst->operand_count()) { 1337 EXPLAIN << "desired operand index " << operand_index_ 1341 if (!operand_.Match(HloOperand(inst, operand_index_), option)) { 1342 EXPLAIN << "\nin operand " << operand_index_; 1348 int64 operand_index_;
|