Home
last modified time | relevance | path

Searched refs:GetInOperand (Results 1 – 25 of 65) sorted by relevance

123

/external/deqp-deps/SPIRV-Tools/source/opt/
Dvalue_number_table.cpp113 const Operand& op = inst->GetInOperand(o); in AssignValueNumber()
202 if (lhs.GetInOperand(i) != rhs.GetInOperand(i)) { in operator ()()
219 const auto& opnd = inst.GetInOperand(i); in operator ()()
Dfold_spec_constant_op_and_composite_pass.cpp116 assert(inst->GetInOperand(0).type == in ProcessOpSpecConstantOp()
166 assert(inst->GetInOperand(1).type == SPV_OPERAND_TYPE_ID && in DoCompositeExtract()
169 inst->GetInOperand(2).type == SPV_OPERAND_TYPE_LITERAL_INTEGER && in DoCompositeExtract()
232 assert(inst->GetInOperand(i).type == SPV_OPERAND_TYPE_ID && in DoVectorShuffle()
275 assert(inst->GetInOperand(i).type == SPV_OPERAND_TYPE_LITERAL_INTEGER && in DoVectorShuffle()
Ddecoration_manager.cpp84 inst->GetInOperand(i) = inst->GetInOperand(last_operand_index); in RemoveDecorationsFrom()
88 inst->GetInOperand(i + 1u) = in RemoveDecorationsFrom()
89 inst->GetInOperand(last_operand_index + 1u); in RemoveDecorationsFrom()
182 for (uint32_t word : inst->GetInOperand(i).words) { in HaveTheSameDecorations()
251 if (inst1->GetInOperand(i) != inst2->GetInOperand(i)) return false; in AreDecorationsTheSame()
Ddead_branch_elim_pass.cpp246 operands.push_back(inst->GetInOperand(i - 1)); in FixPhiNodesInLiveBlocks()
247 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
257 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
263 operands.push_back(inst->GetInOperand(i - 1)); in FixPhiNodesInLiveBlocks()
264 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
Dcombine_access_chains.cpp174 new_operands->push_back(ptr_input->GetInOperand(i)); in CreateNewInputOperands()
186 ptr_input->GetInOperand(ptr_input->NumInOperands() - 1)); in CreateNewInputOperands()
192 new_operands->push_back(inst->GetInOperand(i)); in CreateNewInputOperands()
Dscalar_replacement_pass.cpp153 Operand copy(load->GetInOperand(i)); in ReplaceWholeLoad()
213 Operand copy(store->GetInOperand(i)); in ReplaceWholeStore()
244 Operand copy(chain->GetInOperand(i)); in ReplaceAccessChain()
324 Operand copy(inst->GetInOperand(i)); in TransferAnnotations()
479 const Operand& op = constant->GetInOperand(0u); in GetConstantInteger()
494 const Operand& op = type->GetInOperand(1u); in GetNumElements()
Dconstants.cpp123 const Operand* operand = &inst->GetInOperand(i); in GetOperandConstants()
259 inst->GetInOperand(i).words.begin(), in GetConstantFromInst()
260 inst->GetInOperand(i).words.end()); in GetConstantFromInst()
Dlocal_ssa_elim_pass.cpp30 reinterpret_cast<const char*>(&ei.GetInOperand(0).words[0]); in AllExtensionsSupported()
Dstrip_reflect_info_pass.cpp64 reinterpret_cast<const char*>(&inst.GetInOperand(0).words[0]); in Process()
Dfeature_manager.cpp35 reinterpret_cast<const char*>(ext.GetInOperand(0u).words.data()); in AddExtensions()
Deliminate_dead_constant_pass.cpp68 if (inst->GetInOperand(i).type != SPV_OPERAND_TYPE_ID) { in Process()
Dloop_unswitch_pass.cpp290 cond_type, iv_condition->GetInOperand(i).words)), in PerformUnswitch()
429 targets.emplace_back(t.first->GetInOperand(0).words, t.second->id()); in PerformUnswitch()
634 const Operand& cst = cst_value->GetInOperand(0); in SimplifyLoop()
636 const Operand& literal = inst->GetInOperand(i); in SimplifyLoop()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvalue_number_table.cpp113 const Operand& op = inst->GetInOperand(o); in AssignValueNumber()
202 if (lhs.GetInOperand(i) != rhs.GetInOperand(i)) { in operator ()()
219 const auto& opnd = inst.GetInOperand(i); in operator ()()
Dfold_spec_constant_op_and_composite_pass.cpp116 assert(inst->GetInOperand(0).type == in ProcessOpSpecConstantOp()
166 assert(inst->GetInOperand(1).type == SPV_OPERAND_TYPE_ID && in DoCompositeExtract()
169 inst->GetInOperand(2).type == SPV_OPERAND_TYPE_LITERAL_INTEGER && in DoCompositeExtract()
232 assert(inst->GetInOperand(i).type == SPV_OPERAND_TYPE_ID && in DoVectorShuffle()
275 assert(inst->GetInOperand(i).type == SPV_OPERAND_TYPE_LITERAL_INTEGER && in DoVectorShuffle()
Ddecoration_manager.cpp84 inst->GetInOperand(i) = inst->GetInOperand(last_operand_index); in RemoveDecorationsFrom()
88 inst->GetInOperand(i + 1u) = in RemoveDecorationsFrom()
89 inst->GetInOperand(last_operand_index + 1u); in RemoveDecorationsFrom()
182 for (uint32_t word : inst->GetInOperand(i).words) { in HaveTheSameDecorations()
251 if (inst1->GetInOperand(i) != inst2->GetInOperand(i)) return false; in AreDecorationsTheSame()
Ddead_branch_elim_pass.cpp246 operands.push_back(inst->GetInOperand(i - 1)); in FixPhiNodesInLiveBlocks()
247 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
257 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
263 operands.push_back(inst->GetInOperand(i - 1)); in FixPhiNodesInLiveBlocks()
264 operands.push_back(inst->GetInOperand(i)); in FixPhiNodesInLiveBlocks()
Dcombine_access_chains.cpp174 new_operands->push_back(ptr_input->GetInOperand(i)); in CreateNewInputOperands()
186 ptr_input->GetInOperand(ptr_input->NumInOperands() - 1)); in CreateNewInputOperands()
192 new_operands->push_back(inst->GetInOperand(i)); in CreateNewInputOperands()
Dscalar_replacement_pass.cpp153 Operand copy(load->GetInOperand(i)); in ReplaceWholeLoad()
213 Operand copy(store->GetInOperand(i)); in ReplaceWholeStore()
244 Operand copy(chain->GetInOperand(i)); in ReplaceAccessChain()
324 Operand copy(inst->GetInOperand(i)); in TransferAnnotations()
479 const Operand& op = constant->GetInOperand(0u); in GetConstantInteger()
494 const Operand& op = type->GetInOperand(1u); in GetNumElements()
Dconstants.cpp123 const Operand* operand = &inst->GetInOperand(i); in GetOperandConstants()
259 inst->GetInOperand(i).words.begin(), in GetConstantFromInst()
260 inst->GetInOperand(i).words.end()); in GetConstantFromInst()
Dlocal_ssa_elim_pass.cpp30 reinterpret_cast<const char*>(&ei.GetInOperand(0).words[0]); in AllExtensionsSupported()
Dstrip_reflect_info_pass.cpp64 reinterpret_cast<const char*>(&inst.GetInOperand(0).words[0]); in Process()
Dfeature_manager.cpp35 reinterpret_cast<const char*>(ext.GetInOperand(0u).words.data()); in AddExtensions()
Deliminate_dead_constant_pass.cpp68 if (inst->GetInOperand(i).type != SPV_OPERAND_TYPE_ID) { in Process()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp182 if (phi_inst->GetInOperand(index + 1).words[0] != from_id) { in AdaptPhiInstructionsForRemovedEdge()
183 new_in_operands.push_back(phi_inst->GetInOperand(index)); in AdaptPhiInstructionsForRemovedEdge()
184 new_in_operands.push_back(phi_inst->GetInOperand(index + 1)); in AdaptPhiInstructionsForRemovedEdge()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp180 if (phi_inst->GetInOperand(index + 1).words[0] != from_id) { in AdaptPhiInstructionsForRemovedEdge()
181 new_in_operands.push_back(phi_inst->GetInOperand(index)); in AdaptPhiInstructionsForRemovedEdge()
182 new_in_operands.push_back(phi_inst->GetInOperand(index + 1)); in AdaptPhiInstructionsForRemovedEdge()

123