Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/third_party/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); 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()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
Dchange_operand_reduction_opportunity.h32 : inst_(inst), in ChangeOperandReductionOpportunity()
44 opt::Instruction* const inst_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); 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()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
Dchange_operand_reduction_opportunity.h32 : inst_(inst), in ChangeOperandReductionOpportunity()
44 opt::Instruction* const inst_;
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); 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()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
Dchange_operand_reduction_opportunity.h32 : inst_(inst), in ChangeOperandReductionOpportunity()
44 opt::Instruction* const inst_;
/third_party/spirv-tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode()
76 return inst_; in c_inst()
84 assert(operand.offset + operand.num_words <= inst_.num_words); in GetOperandAs()
91 spv_parsed_instruction_t inst_; variable
/third_party/spirv-tools/source/fuzz/
Davailable_instructions.cpp112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction()
115 return available_instructions_.num_available_before_instruction_.at(inst_); in size()
140 auto block = available_instructions_.ir_context_->get_instr_block(inst_); in operator []()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Davailable_instructions.cpp112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction()
115 return available_instructions_.num_available_before_instruction_.at(inst_); in size()
140 auto block = available_instructions_.ir_context_->get_instr_block(inst_); in operator []()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Davailable_instructions.cpp112 : available_instructions_(available_instructions), inst_(inst) {} in AvailableBeforeInstruction()
115 return available_instructions_.num_available_before_instruction_.at(inst_); in size()
140 auto block = available_instructions_.ir_context_->get_instr_block(inst_); in operator []()

12