/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
H A D | change_operand_reduction_opportunity.cpp | 25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds() 26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
|
H A D | change_operand_reduction_opportunity.h | 34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity() 35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
|
H A D | change_operand_to_undef_reduction_opportunity.cpp | 26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds() 30 auto operand = inst_->GetOperand(operand_index_); in Apply()
|
H A D | change_operand_to_undef_reduction_opportunity.h | 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity()
|
H A D | operand_to_const_reduction_opportunity_finder.cpp | 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
H A D | change_operand_reduction_opportunity.cpp | 25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds() 26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
|
H A D | change_operand_reduction_opportunity.h | 34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity() 35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
|
H A D | change_operand_to_undef_reduction_opportunity.cpp | 26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds() 30 auto operand = inst_->GetOperand(operand_index_); in Apply()
|
H A D | change_operand_to_undef_reduction_opportunity.h | 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity()
|
H A D | operand_to_const_reduction_opportunity_finder.cpp | 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
|
/third_party/spirv-tools/source/reduce/ |
H A D | change_operand_reduction_opportunity.cpp | 25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds() 26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
|
H A D | change_operand_reduction_opportunity.h | 34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity() 35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
|
H A D | change_operand_to_undef_reduction_opportunity.cpp | 26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds() 30 auto operand = inst_->GetOperand(operand_index_); in Apply()
|
H A D | change_operand_to_undef_reduction_opportunity.h | 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity()
|
H A D | operand_to_const_reduction_opportunity_finder.cpp | 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | desc_sroa.cpp | 132 new_operands.emplace_back(use->GetOperand(0)); in ReplaceAccessChain() 133 new_operands.emplace_back(use->GetOperand(1)); in ReplaceAccessChain() 141 new_operands.emplace_back(use->GetOperand(i)); in ReplaceAccessChain() 278 std::string name_str = utils::MakeString(name_inst->GetOperand(1).words); in CreateReplacementVariable() 287 name_str += utils::MakeString(member_name_inst->GetOperand(2).words); in CreateReplacementVariable()
|
H A D | instruction.h | 278 inline Operand& GetOperand(uint32_t index); 279 inline const Operand& GetOperand(uint32_t index) const; 341 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 344 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 655 inline Operand& Instruction::GetOperand(uint32_t index) { in GetOperand() function in spvtools::opt::Instruction 660 inline const Operand& Instruction::GetOperand(uint32_t index) const {
|
H A D | basic_block.cpp | 122 return f(br->GetOperand(0).words[0]); in WhileEachSuccessorLabel() 142 uint32_t tmp_id = br->GetOperand(0).words[0]; in ForEachSuccessorLabel() 144 if (tmp_id != br->GetOperand(0).words[0]) br->SetOperand(0, {tmp_id}); in ForEachSuccessorLabel()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | desc_sroa.cpp | 132 new_operands.emplace_back(use->GetOperand(0)); in ReplaceAccessChain() 133 new_operands.emplace_back(use->GetOperand(1)); in ReplaceAccessChain() 141 new_operands.emplace_back(use->GetOperand(i)); in ReplaceAccessChain() 279 std::string name_str = utils::MakeString(name_inst->GetOperand(1).words); in CreateReplacementVariable() 288 name_str += utils::MakeString(member_name_inst->GetOperand(2).words); in CreateReplacementVariable()
|
H A D | instruction.h | 278 inline Operand& GetOperand(uint32_t index); 279 inline const Operand& GetOperand(uint32_t index) const; 341 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 344 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 655 inline Operand& Instruction::GetOperand(uint32_t index) { in GetOperand() function in spvtools::opt::Instruction 660 inline const Operand& Instruction::GetOperand(uint32_t index) const {
|
H A D | basic_block.cpp | 122 return f(br->GetOperand(0).words[0]); in WhileEachSuccessorLabel() 142 uint32_t tmp_id = br->GetOperand(0).words[0]; in ForEachSuccessorLabel() 144 if (tmp_id != br->GetOperand(0).words[0]) br->SetOperand(0, {tmp_id}); in ForEachSuccessorLabel()
|
/third_party/spirv-tools/source/opt/ |
H A D | desc_sroa.cpp | 133 new_operands.emplace_back(use->GetOperand(0)); in ReplaceAccessChain() 134 new_operands.emplace_back(use->GetOperand(1)); in ReplaceAccessChain() 142 new_operands.emplace_back(use->GetOperand(i)); in ReplaceAccessChain() 280 std::string name_str = utils::MakeString(name_inst->GetOperand(1).words); in CreateReplacementVariable() 289 name_str += utils::MakeString(member_name_inst->GetOperand(2).words); in CreateReplacementVariable()
|
H A D | instruction.h | 291 inline Operand& GetOperand(uint32_t index); 292 inline const Operand& GetOperand(uint32_t index) const; 357 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 360 return GetOperand(index + TypeResultIdCount()); in GetInOperand() 671 inline Operand& Instruction::GetOperand(uint32_t index) { in GetOperand() function in spvtools::opt::Instruction 676 inline const Operand& Instruction::GetOperand(uint32_t index) const {
|
H A D | basic_block.cpp | 118 return f(br->GetOperand(0).words[0]); in WhileEachSuccessorLabel() 138 uint32_t tmp_id = br->GetOperand(0).words[0]; in ForEachSuccessorLabel() 140 if (tmp_id != br->GetOperand(0).words[0]) br->SetOperand(0, {tmp_id}); in ForEachSuccessorLabel()
|
/third_party/spirv-tools/source/diff/ |
H A D | diff.cpp | 659 uint32_t id = inst.GetOperand(id_operand).AsId(); 816 const opt::Operand& a_operand = a->GetOperand(operand_index); 817 const opt::Operand& b_operand = b->GetOperand(operand_index); 1057 const opt::Operand& src_operand = src_inst->GetOperand(operand_index); 1058 const opt::Operand& dst_operand = dst_inst->GetOperand(operand_index); 1166 return DoesOperandMatch(src_inst->GetOperand(0), dst_inst->GetOperand(0)); 1317 if (!DoesOperandMatch(src_inst->GetOperand(0), dst_inst->GetOperand(0))) { 1332 const opt::Operand& src_value_operand = src_inst->GetOperand( [all...] |