Home
last modified time | relevance | path

Searched refs:AddOperand (Results 1 – 25 of 85) sorted by relevance

1234

/external/android-nn-driver/test/
DDriverTestHelpers.hpp203 void AddOperand(HalModel& model, const HalOperand& op) in AddOperand() function
230 AddOperand<HalModel>(model, op); in AddBoolOperand()
263 AddOperand<HalPolicy>(model, op); in AddInputOperand()
290 AddOperand<HalPolicy>(model, op); in AddOutputOperand()
338 void AddOperand(armnn_driver::hal_1_3::HalPolicy::Model& model, in AddOperand() function
365 AddOperand<HalPolicy>(model, op); in AddInputOperand()
391 AddOperand<HalPolicy>(model, op); in AddOutputOperand()
457 AddOperand<HalPolicy>(model, op); in AddTensorOperand()
505 AddOperand<HalPolicy>(model, op); in AddIntOperand()
531 AddOperand<HalPolicy>(model, op); in AddFloatOperand()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.cpp191 added_dbg_value->AddOperand( in ReplaceWholeDebugDeclare()
217 new_dbg_value->AddOperand( in ReplaceWholeDebugValue()
257 newLoad->AddOperand(std::move(copy)); in ReplaceWholeLoad()
277 compositeConstruct->AddOperand(std::move(op)); in ReplaceWholeLoad()
327 newStore->AddOperand(std::move(copy)); in ReplaceWholeStore()
368 replacementChain->AddOperand(std::move(copy)); in ReplaceAccessChain()
459 annotation->AddOperand(std::move(copy)); in TransferAnnotations()
510 new_dec_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {id})); in CreateVariable()
512 new_dec_inst->AddOperand(Operand(dec_inst->GetInOperand(i))); in CreateVariable()
627 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
Dupgrade_memory_model.cpp103 inst->AddOperand(std::move(operand)); in UpgradeInstructions()
108 inst->AddOperand( in UpgradeInstructions()
110 inst->AddOperand( in UpgradeInstructions()
201 inst->AddOperand( in UpgradeMemoryAndImages()
240 inst->AddOperand( in UpgradeMemoryAndImages()
244 inst->AddOperand( in UpgradeMemoryAndImages()
563 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS, {flags}}); in UpgradeFlags()
565 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_IMAGE, {flags}}); in UpgradeFlags()
Dwrap_opkill.cpp143 func_start->AddOperand({SPV_OPERAND_TYPE_FUNCTION_CONTROL, {0}}); in GetKillingFuncId()
144 func_start->AddOperand({SPV_OPERAND_TYPE_ID, {GetVoidFunctionTypeId()}}); in GetKillingFuncId()
Dvalue_number_table.cpp127 value_ins.AddOperand(Operand(op.type, {id_value})); in AssignValueNumber()
129 value_ins.AddOperand(Operand(op.type, op.words)); in AssignValueNumber()
Dinterface_var_sroa.cpp478 new_access_chain->AddOperand({SPV_OPERAND_TYPE_ID, {index_id}}); in CreateAccessChainToVar()
565 entry_point->AddOperand({SPV_OPERAND_TYPE_ID, {scalar_var_id}}); in ReplaceInterfaceVarInEntryPoint()
664 new_store->AddOperand({SPV_OPERAND_TYPE_ID, {ptr->result_id()}}); in StoreComponentOfValueTo()
665 new_store->AddOperand( in StoreComponentOfValueTo()
684 composite_extract->AddOperand( in CreateCompositeExtract()
688 composite_extract->AddOperand({SPV_OPERAND_TYPE_LITERAL_INTEGER, {index}}); in CreateCompositeExtract()
774 composite_construct->AddOperand( in AddComponentsToCompositesForLoads()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_adjust_branch_weights.cpp83 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
85 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
Dtransformation_add_dead_block.cpp172 phi_inst->AddOperand(std::move(copy_of_existing_operand)); in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
Dtransformation_set_memory_operands_mask.cpp109 instruction->AddOperand( in Apply()
113 instruction->AddOperand( in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_adjust_branch_weights.cpp83 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
85 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
Dtransformation_add_dead_block.cpp172 phi_inst->AddOperand(std::move(copy_of_existing_operand)); in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
Dtransformation_set_memory_operands_mask.cpp112 instruction->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in Apply()
116 instruction->AddOperand( in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_adjust_branch_weights.cpp83 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
85 instruction->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER, in Apply()
Dtransformation_add_dead_block.cpp172 phi_inst->AddOperand(std::move(copy_of_existing_operand)); in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
Dtransformation_set_memory_operands_mask.cpp112 instruction->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in Apply()
116 instruction->AddOperand( in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.cpp192 added_dbg_value->AddOperand( in ReplaceWholeDebugDeclare()
218 new_dbg_value->AddOperand( in ReplaceWholeDebugValue()
258 newLoad->AddOperand(std::move(copy)); in ReplaceWholeLoad()
279 compositeConstruct->AddOperand(std::move(op)); in ReplaceWholeLoad()
329 newStore->AddOperand(std::move(copy)); in ReplaceWholeStore()
370 replacementChain->AddOperand(std::move(copy)); in ReplaceAccessChain()
461 annotation->AddOperand(std::move(copy)); in TransferAnnotations()
513 new_dec_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {id})); in CreateVariable()
515 new_dec_inst->AddOperand(Operand(dec_inst->GetInOperand(i))); in CreateVariable()
632 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
Dupgrade_memory_model.cpp107 inst->AddOperand(std::move(operand)); in UpgradeInstructions()
112 inst->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in UpgradeInstructions()
114 inst->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in UpgradeInstructions()
205 inst->AddOperand( in UpgradeMemoryAndImages()
244 inst->AddOperand( in UpgradeMemoryAndImages()
248 inst->AddOperand( in UpgradeMemoryAndImages()
568 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS, {flags}}); in UpgradeFlags()
570 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_IMAGE, {flags}}); in UpgradeFlags()
Dvalue_number_table.cpp127 value_ins.AddOperand(Operand(op.type, {id_value})); in AssignValueNumber()
129 value_ins.AddOperand(Operand(op.type, op.words)); in AssignValueNumber()
Dwrap_opkill.cpp145 func_start->AddOperand({SPV_OPERAND_TYPE_FUNCTION_CONTROL, {0}}); in GetKillingFuncId()
146 func_start->AddOperand({SPV_OPERAND_TYPE_ID, {GetVoidFunctionTypeId()}}); in GetKillingFuncId()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dscalar_replacement_pass.cpp190 added_dbg_value->AddOperand( in ReplaceWholeDebugDeclare()
216 new_dbg_value->AddOperand( in ReplaceWholeDebugValue()
256 newLoad->AddOperand(std::move(copy)); in ReplaceWholeLoad()
277 compositeConstruct->AddOperand(std::move(op)); in ReplaceWholeLoad()
327 newStore->AddOperand(std::move(copy)); in ReplaceWholeStore()
368 replacementChain->AddOperand(std::move(copy)); in ReplaceAccessChain()
459 annotation->AddOperand(std::move(copy)); in TransferAnnotations()
560 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
998 new_dec_inst->AddOperand( in CopyNecessaryMemberDecorationsToVariable()
1001 new_dec_inst->AddOperand(Operand(dec_inst->GetInOperand(i))); in CopyNecessaryMemberDecorationsToVariable()
Dupgrade_memory_model.cpp107 inst->AddOperand(std::move(operand)); in UpgradeInstructions()
112 inst->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in UpgradeInstructions()
114 inst->AddOperand({SPV_OPERAND_TYPE_MEMORY_ACCESS, in UpgradeInstructions()
205 inst->AddOperand( in UpgradeMemoryAndImages()
244 inst->AddOperand( in UpgradeMemoryAndImages()
248 inst->AddOperand( in UpgradeMemoryAndImages()
568 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS, {flags}}); in UpgradeFlags()
570 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_IMAGE, {flags}}); in UpgradeFlags()
Dwrap_opkill.cpp145 func_start->AddOperand({SPV_OPERAND_TYPE_FUNCTION_CONTROL, {0}}); in GetKillingFuncId()
146 func_start->AddOperand({SPV_OPERAND_TYPE_ID, {GetVoidFunctionTypeId()}}); in GetKillingFuncId()
Dvalue_number_table.cpp127 value_ins.AddOperand(Operand(op.type, {id_value})); in AssignValueNumber()
129 value_ins.AddOperand(Operand(op.type, op.words)); in AssignValueNumber()
Dinstruction.h296 inline void AddOperand(Operand&& operand);
298 inline void AddOperand(const Operand& operand);
681 inline void Instruction::AddOperand(Operand&& operand) { in AddOperand() function
685 inline void Instruction::AddOperand(const Operand& operand) { in AddOperand() function
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp171 phi_inst->AddOperand(opt::Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge()
172 phi_inst->AddOperand(opt::Operand(SPV_OPERAND_TYPE_ID, {from_id})); in AdaptPhiInstructionsForAddedEdge()

1234