Home
last modified time | relevance | path

Searched refs:operand_index_ (Results 1 – 15 of 15) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp401 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 …]
Dmarkv_encoder.cpp30 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()
Dmarkv_decoder.cpp29 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()
Dmarkv_codec.h276 uint32_t operand_index_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp401 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 …]
Dmarkv_encoder.cpp30 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()
Dmarkv_decoder.cpp29 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()
Dmarkv_codec.h276 uint32_t operand_index_; variable
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp22 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()
Dchange_operand_reduction_opportunity.h36 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
52 const uint32_t operand_index_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp22 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()
Dchange_operand_to_undef_reduction_opportunity.cpp25 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()
Dchange_operand_to_undef_reduction_opportunity.h35 operand_index_(operand_index), in ChangeOperandToUndefReductionOpportunity()
46 const uint32_t operand_index_; variable
Dchange_operand_reduction_opportunity.h35 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
47 const uint32_t operand_index_; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h1317 : 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_;