Home
last modified time | relevance | path

Searched refs:SetOpcode (Results 1 – 25 of 87) sorted by relevance

1234

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfreeze_spec_constant_value_pass.cpp27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process()
35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process()
Dfolding_rules.cpp328 inst->SetOpcode(SpvOpFMul); in ReciprocalFDiv()
357 inst->SetOpcode(SpvOpCopyObject); in MergeNegateArithmetic()
407 inst->SetOpcode(op_inst->opcode()); in MergeNegateMulDivArithmetic()
476 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
731 inst->SetOpcode(SpvOpCopyObject); in MergeMulDivArithmetic()
765 inst->SetOpcode(other_first_is_variable ? inst->opcode() in MergeMulDivArithmetic()
877 inst->SetOpcode(op); in MergeDivDivArithmetic()
917 inst->SetOpcode(SpvOpCopyObject); in MergeDivMulArithmetic()
954 if (first_is_variable) inst->SetOpcode(other_inst->opcode()); in MergeDivMulArithmetic()
1021 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeAddNegateArithmetic()
[all …]
Damd_ext_to_khr.cpp175 inst->SetOpcode(new_opcode); in ReplaceGroupNonuniformOperationOpCode()
279 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocations()
394 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocationsMasked()
444 inst->SetOpcode(SpvOpSelect); in ReplaceWriteInvocation()
516 inst->SetOpcode(SpvOpBitCount); in ReplaceMbcnt()
673 inst->SetOpcode(SpvOpFAdd); in ReplaceCubeFaceCoord()
786 inst->SetOpcode(SpvOpSelect); in ReplaceCubeFaceIndex()
818 inst->SetOpcode(SpvOpReadClockKHR); in ReplaceTimeAMD()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process()
35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process()
Dfolding_rules.cpp328 inst->SetOpcode(SpvOpFMul); in ReciprocalFDiv()
357 inst->SetOpcode(SpvOpCopyObject); in MergeNegateArithmetic()
407 inst->SetOpcode(op_inst->opcode()); in MergeNegateMulDivArithmetic()
476 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
731 inst->SetOpcode(SpvOpCopyObject); in MergeMulDivArithmetic()
765 inst->SetOpcode(other_first_is_variable ? inst->opcode() in MergeMulDivArithmetic()
877 inst->SetOpcode(op); in MergeDivDivArithmetic()
917 inst->SetOpcode(SpvOpCopyObject); in MergeDivMulArithmetic()
954 if (first_is_variable) inst->SetOpcode(other_inst->opcode()); in MergeDivMulArithmetic()
1021 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeAddNegateArithmetic()
[all …]
Damd_ext_to_khr.cpp175 inst->SetOpcode(new_opcode); in ReplaceGroupNonuniformOperationOpCode()
279 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocations()
394 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocationsMasked()
444 inst->SetOpcode(SpvOpSelect); in ReplaceWriteInvocation()
516 inst->SetOpcode(SpvOpBitCount); in ReplaceMbcnt()
673 inst->SetOpcode(SpvOpFAdd); in ReplaceCubeFaceCoord()
786 inst->SetOpcode(SpvOpSelect); in ReplaceCubeFaceIndex()
818 inst->SetOpcode(SpvOpReadClockKHR); in ReplaceTimeAMD()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfreeze_spec_constant_value_pass.cpp27 inst->SetOpcode(SpvOp::SpvOpConstant); in Process()
31 inst->SetOpcode(SpvOp::SpvOpConstantTrue); in Process()
35 inst->SetOpcode(SpvOp::SpvOpConstantFalse); in Process()
Dfolding_rules.cpp328 inst->SetOpcode(SpvOpFMul); in ReciprocalFDiv()
357 inst->SetOpcode(SpvOpCopyObject); in MergeNegateArithmetic()
407 inst->SetOpcode(op_inst->opcode()); in MergeNegateMulDivArithmetic()
476 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
731 inst->SetOpcode(SpvOpCopyObject); in MergeMulDivArithmetic()
765 inst->SetOpcode(other_first_is_variable ? inst->opcode() in MergeMulDivArithmetic()
877 inst->SetOpcode(op); in MergeDivDivArithmetic()
917 inst->SetOpcode(SpvOpCopyObject); in MergeDivMulArithmetic()
954 if (first_is_variable) inst->SetOpcode(other_inst->opcode()); in MergeDivMulArithmetic()
1021 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeAddNegateArithmetic()
[all …]
Damd_ext_to_khr.cpp175 inst->SetOpcode(new_opcode); in ReplaceGroupNonuniformOperationOpCode()
279 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocations()
394 inst->SetOpcode(SpvOpSelect); in ReplaceSwizzleInvocationsMasked()
444 inst->SetOpcode(SpvOpSelect); in ReplaceWriteInvocation()
516 inst->SetOpcode(SpvOpBitCount); in ReplaceMbcnt()
673 inst->SetOpcode(SpvOpFAdd); in ReplaceCubeFaceCoord()
786 inst->SetOpcode(SpvOpSelect); in ReplaceCubeFaceIndex()
818 inst->SetOpcode(SpvOpReadClockKHR); in ReplaceTimeAMD()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_toggle_access_chain_instruction.cpp63 instruction->SetOpcode(SpvOpInBoundsAccessChain); in Apply()
68 instruction->SetOpcode(SpvOpAccessChain); in Apply()
Dtransformation_wrap_early_terminator_in_function.cpp133 early_terminator->SetOpcode(SpvOpReturnValue); in Apply()
135 early_terminator->SetOpcode(SpvOpReturn); in Apply()
Dtransformation_replace_linear_algebra_instruction.cpp334 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpTranspose()
384 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesScalar()
468 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesScalar()
580 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesMatrix()
695 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesVector()
840 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesMatrix()
926 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpOuterProduct()
989 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
1022 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_toggle_access_chain_instruction.cpp63 instruction->SetOpcode(SpvOpInBoundsAccessChain); in Apply()
68 instruction->SetOpcode(SpvOpAccessChain); in Apply()
Dtransformation_wrap_early_terminator_in_function.cpp133 early_terminator->SetOpcode(SpvOpReturnValue); in Apply()
135 early_terminator->SetOpcode(SpvOpReturn); in Apply()
Dtransformation_replace_linear_algebra_instruction.cpp334 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpTranspose()
384 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesScalar()
468 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesScalar()
580 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesMatrix()
695 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesVector()
840 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesMatrix()
926 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpOuterProduct()
989 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
1022 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_toggle_access_chain_instruction.cpp63 instruction->SetOpcode(SpvOpInBoundsAccessChain); in Apply()
68 instruction->SetOpcode(SpvOpAccessChain); in Apply()
Dtransformation_wrap_early_terminator_in_function.cpp133 early_terminator->SetOpcode(SpvOpReturnValue); in Apply()
135 early_terminator->SetOpcode(SpvOpReturn); in Apply()
Dtransformation_replace_linear_algebra_instruction.cpp334 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpTranspose()
384 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesScalar()
468 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesScalar()
580 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpVectorTimesMatrix()
695 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesVector()
840 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpMatrixTimesMatrix()
926 linear_algebra_instruction->SetOpcode(SpvOpCompositeConstruct); in ReplaceOpOuterProduct()
989 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
1022 linear_algebra_instruction->SetOpcode(SpvOpFAdd); in ReplaceOpDot()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dsimple_conditional_branch_to_branch_reduction_opportunity.cpp49 conditional_branch_instruction_->SetOpcode(SpvOpBranch); in Apply()
Dstructured_loop_to_selection_reduction_opportunity.cpp182 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
202 terminator->SetOpcode(SpvOpBranchConditional); in ChangeLoopToSelection()
Dstructured_construct_to_block_reduction_opportunity.cpp58 header_block->terminator()->SetOpcode(SpvOpBranch); in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dsimple_conditional_branch_to_branch_reduction_opportunity.cpp49 conditional_branch_instruction_->SetOpcode(SpvOpBranch); in Apply()
Dstructured_loop_to_selection_reduction_opportunity.cpp182 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
202 terminator->SetOpcode(SpvOpBranchConditional); in ChangeLoopToSelection()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dsimple_conditional_branch_to_branch_reduction_opportunity.cpp49 conditional_branch_instruction_->SetOpcode(SpvOpBranch); in Apply()
Dstructured_loop_to_selection_reduction_opportunity.cpp182 loop_merge_inst->SetOpcode(SpvOpSelectionMerge); in ChangeLoopToSelection()
202 terminator->SetOpcode(SpvOpBranchConditional); in ChangeLoopToSelection()

1234