Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/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()
276 compositeConstruct->AddOperand(std::move(op)); in ReplaceWholeLoad()
326 newStore->AddOperand(std::move(copy)); in ReplaceWholeStore()
367 replacementChain->AddOperand(std::move(copy)); in ReplaceAccessChain()
454 annotation->AddOperand(std::move(copy)); in TransferAnnotations()
505 new_dec_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {id})); in CreateVariable()
507 new_dec_inst->AddOperand(Operand(dec_inst->GetInOperand(i))); in CreateVariable()
622 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
Dupgrade_memory_model.cpp105 inst->AddOperand(std::move(operand)); in UpgradeInstructions()
110 inst->AddOperand( in UpgradeInstructions()
112 inst->AddOperand( in UpgradeInstructions()
203 inst->AddOperand( in UpgradeMemoryAndImages()
242 inst->AddOperand( in UpgradeMemoryAndImages()
246 inst->AddOperand( in UpgradeMemoryAndImages()
565 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS, {flags}}); in UpgradeFlags()
567 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()
/third_party/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()
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.cpp143 func_start->AddOperand({SPV_OPERAND_TYPE_FUNCTION_CONTROL, {0}}); in GetKillingFuncId()
144 func_start->AddOperand({SPV_OPERAND_TYPE_ID, {GetVoidFunctionTypeId()}}); in GetKillingFuncId()
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()
/third_party/skia/third_party/externals/spirv-tools/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()
276 compositeConstruct->AddOperand(std::move(op)); in ReplaceWholeLoad()
326 newStore->AddOperand(std::move(copy)); in ReplaceWholeStore()
367 replacementChain->AddOperand(std::move(copy)); in ReplaceAccessChain()
454 annotation->AddOperand(std::move(copy)); in TransferAnnotations()
505 new_dec_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {id})); in CreateVariable()
507 new_dec_inst->AddOperand(Operand(dec_inst->GetInOperand(i))); in CreateVariable()
622 newVar->AddOperand({SPV_OPERAND_TYPE_ID, {newInitId}}); in GetOrCreateInitialValue()
Dupgrade_memory_model.cpp105 inst->AddOperand(std::move(operand)); in UpgradeInstructions()
110 inst->AddOperand( in UpgradeInstructions()
112 inst->AddOperand( in UpgradeInstructions()
203 inst->AddOperand( in UpgradeMemoryAndImages()
242 inst->AddOperand( in UpgradeMemoryAndImages()
246 inst->AddOperand( in UpgradeMemoryAndImages()
565 inst->AddOperand({SPV_OPERAND_TYPE_OPTIONAL_MEMORY_ACCESS, {flags}}); in UpgradeFlags()
567 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.cpp143 func_start->AddOperand({SPV_OPERAND_TYPE_FUNCTION_CONTROL, {0}}); in GetKillingFuncId()
144 func_start->AddOperand({SPV_OPERAND_TYPE_ID, {GetVoidFunctionTypeId()}}); in GetKillingFuncId()
/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_set_memory_operands_mask.cpp109 instruction->AddOperand( in Apply()
113 instruction->AddOperand( 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_replace_linear_algebra_instruction.cpp337 linear_algebra_instruction->AddOperand( in ReplaceOpTranspose()
388 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesScalar()
472 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesScalar()
584 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesMatrix()
699 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesVector()
844 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesMatrix()
930 linear_algebra_instruction->AddOperand( in ReplaceOpOuterProduct()
/third_party/skia/third_party/externals/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.cpp109 instruction->AddOperand( in Apply()
113 instruction->AddOperand( in Apply()
Dtransformation_replace_linear_algebra_instruction.cpp337 linear_algebra_instruction->AddOperand( in ReplaceOpTranspose()
388 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesScalar()
472 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesScalar()
584 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesMatrix()
699 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesVector()
844 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesMatrix()
930 linear_algebra_instruction->AddOperand( in ReplaceOpOuterProduct()
/third_party/skia/third_party/externals/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_set_memory_operands_mask.cpp109 instruction->AddOperand( in Apply()
113 instruction->AddOperand( 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_replace_linear_algebra_instruction.cpp337 linear_algebra_instruction->AddOperand( in ReplaceOpTranspose()
388 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesScalar()
472 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesScalar()
584 linear_algebra_instruction->AddOperand( in ReplaceOpVectorTimesMatrix()
699 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesVector()
844 linear_algebra_instruction->AddOperand( in ReplaceOpMatrixTimesMatrix()
930 linear_algebra_instruction->AddOperand( in ReplaceOpOuterProduct()

1234