/third_party/spirv-tools/source/opt/ |
D | ir_builder.h | 64 result_id = GetContext()->TakeNextId(); in AddNullaryOp() 77 result_id = GetContext()->TakeNextId(); in AddUnaryOp() 92 result_id = GetContext()->TakeNextId(); in AddBinaryOp() 108 result_id = GetContext()->TakeNextId(); in AddTernaryOp() 126 result_id = GetContext()->TakeNextId(); in AddQuadOp() 144 result_id = GetContext()->TakeNextId(); in AddIdLiteralOp() 170 result != 0 ? result : GetContext()->TakeNextId(), ops)); 297 GetContext(), SpvOpIAdd, type, GetContext()->TakeNextId(), in AddIAdd() 311 GetContext(), SpvOpULessThan, type, GetContext()->TakeNextId(), in AddULessThan() 325 GetContext(), SpvOpSLessThan, type, GetContext()->TakeNextId(), in AddSLessThan() [all …]
|
D | inst_buff_addr_check_pass.cpp | 32 new_ref_id = TakeNextId(); in CloneOriginalReference() 69 uint32_t merge_blk_id = TakeNextId(); in GenCheckCode() 70 uint32_t valid_blk_id = TakeNextId(); in GenCheckCode() 71 uint32_t invalid_blk_id = TakeNextId(); in GenCheckCode() 213 uint32_t pid = TakeNextId(); in AddParam() 227 search_test_func_id_ = TakeNextId(); in GetSearchAndTestFuncId() 248 uint32_t first_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 255 uint32_t hdr_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 268 uint32_t cont_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 273 uint32_t idx_phi_id = TakeNextId(); in GetSearchAndTestFuncId() [all …]
|
D | graphics_robust_access_pass.cpp | 454 &inst, SpvOpISub, type_mgr->GetId(wider_type), TakeNextId(), in ClampIndicesForAccessChain() 571 module_status_.glsl_insts_id = TakeNextId(); in GetGlslInsts() 610 auto conversion_id = TakeNextId(); in WidenInteger() 624 uint32_t smin_id = TakeNextId(); in MakeUMinInst() 648 uint32_t clamp_id = TakeNextId(); in MakeSClampInst() 763 const auto new_access_chain_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 792 const auto array_len_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 942 const uint32_t image_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 947 const uint32_t query_size_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 975 const auto query_size_including_faces_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() [all …]
|
D | inline_pass.cpp | 37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() 127 boolId = context()->TakeNextId(); in GetFalseId() 133 false_id_ = context()->TakeNextId(); in GetFalseId() 169 uint32_t newId = context()->TakeNextId(); in CloneAndMapLocals() 204 returnVarId = context()->TakeNextId(); in CreateReturnVar() 241 const uint32_t nid = context()->TakeNextId(); in CloneSameBlockOps() 281 const auto guard_block_id = context()->TakeNextId(); in AddGuardBlock() 385 returnLabelId = context()->TakeNextId(); in InlineReturn() 624 const uint32_t nid = context()->TakeNextId(); in GenInlineCode() 680 auto new_id = context()->TakeNextId(); in GenInlineCode()
|
D | debug_info_manager.cpp | 157 uint32_t id = context->TakeNextId(); in AddNewConstInGlobals() 242 uint32_t result_id = context()->TakeNextId(); in CreateDebugInlinedAt() 332 uint32_t result_id = context()->TakeNextId(); in GetDebugOperationWithDeref() 376 deref_expr->SetResultId(context()->TakeNextId()); in DerefDebugExpression() 391 uint32_t result_id = context()->TakeNextId(); in GetDebugInfoNone() 415 uint32_t result_id = context()->TakeNextId(); in GetEmptyDebugExpression() 450 new_inlined_at->SetResultId(context()->TakeNextId()); in CloneDebugInlinedAt() 590 dbg_val->SetResultId(context()->TakeNextId()); in AddDebugValueForDecl() 784 context()->TakeNextId(), in ConvertDebugGlobalToLocalVariable()
|
D | merge_return_pass.cpp | 177 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateReturnBlock() 196 uint32_t loadId = TakeNextId(); in CreateReturn() 343 uint32_t new_id = TakeNextId(); in CreatePhiNodesForInst() 469 auto old_body_id = TakeNextId(); in BreakFromConstruct() 595 uint32_t var_id = TakeNextId(); in AddReturnValue() 630 uint32_t var_id = TakeNextId(); in AddReturnFlag() 682 uint32_t phi_result_id = TakeNextId(); in MergeReturnBlocks() 792 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateContinueTarget() 832 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | ir_builder.h | 64 result_id = GetContext()->TakeNextId(); in AddNullaryOp() 77 result_id = GetContext()->TakeNextId(); in AddUnaryOp() 92 result_id = GetContext()->TakeNextId(); in AddBinaryOp() 108 result_id = GetContext()->TakeNextId(); in AddTernaryOp() 126 result_id = GetContext()->TakeNextId(); in AddQuadOp() 144 result_id = GetContext()->TakeNextId(); in AddIdLiteralOp() 170 result != 0 ? result : GetContext()->TakeNextId(), ops)); 297 GetContext(), SpvOpIAdd, type, GetContext()->TakeNextId(), in AddIAdd() 311 GetContext(), SpvOpULessThan, type, GetContext()->TakeNextId(), in AddULessThan() 325 GetContext(), SpvOpSLessThan, type, GetContext()->TakeNextId(), in AddSLessThan() [all …]
|
D | inst_buff_addr_check_pass.cpp | 32 new_ref_id = TakeNextId(); in CloneOriginalReference() 69 uint32_t merge_blk_id = TakeNextId(); in GenCheckCode() 70 uint32_t valid_blk_id = TakeNextId(); in GenCheckCode() 71 uint32_t invalid_blk_id = TakeNextId(); in GenCheckCode() 213 uint32_t pid = TakeNextId(); in AddParam() 227 search_test_func_id_ = TakeNextId(); in GetSearchAndTestFuncId() 248 uint32_t first_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 255 uint32_t hdr_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 268 uint32_t cont_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 273 uint32_t idx_phi_id = TakeNextId(); in GetSearchAndTestFuncId() [all …]
|
D | graphics_robust_access_pass.cpp | 454 &inst, SpvOpISub, type_mgr->GetId(wider_type), TakeNextId(), in ClampIndicesForAccessChain() 574 module_status_.glsl_insts_id = TakeNextId(); in GetGlslInsts() 614 auto conversion_id = TakeNextId(); in WidenInteger() 628 uint32_t smin_id = TakeNextId(); in MakeUMinInst() 652 uint32_t clamp_id = TakeNextId(); in MakeSClampInst() 767 const auto new_access_chain_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 796 const auto array_len_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 946 const uint32_t image_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 951 const uint32_t query_size_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 979 const auto query_size_including_faces_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() [all …]
|
D | debug_info_manager.cpp | 155 uint32_t id = context->TakeNextId(); in AddNewConstInGlobals() 231 uint32_t result_id = context()->TakeNextId(); in CreateDebugInlinedAt() 321 uint32_t result_id = context()->TakeNextId(); in GetDebugOperationWithDeref() 365 deref_expr->SetResultId(context()->TakeNextId()); in DerefDebugExpression() 380 uint32_t result_id = context()->TakeNextId(); in GetDebugInfoNone() 404 uint32_t result_id = context()->TakeNextId(); in GetEmptyDebugExpression() 439 new_inlined_at->SetResultId(context()->TakeNextId()); in CloneDebugInlinedAt() 584 dbg_val->SetResultId(context()->TakeNextId()); in AddDebugValueForDecl() 778 context()->TakeNextId(), in ConvertDebugGlobalToLocalVariable()
|
D | inline_pass.cpp | 37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() 127 boolId = context()->TakeNextId(); in GetFalseId() 133 false_id_ = context()->TakeNextId(); in GetFalseId() 169 uint32_t newId = context()->TakeNextId(); in CloneAndMapLocals() 204 returnVarId = context()->TakeNextId(); in CreateReturnVar() 241 const uint32_t nid = context()->TakeNextId(); in CloneSameBlockOps() 281 const auto guard_block_id = context()->TakeNextId(); in AddGuardBlock() 385 returnLabelId = context()->TakeNextId(); in InlineReturn() 593 const uint32_t nid = context()->TakeNextId(); in GenInlineCode()
|
D | merge_return_pass.cpp | 177 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateReturnBlock() 196 uint32_t loadId = TakeNextId(); in CreateReturn() 343 uint32_t new_id = TakeNextId(); in CreatePhiNodesForInst() 468 auto old_body_id = TakeNextId(); in BreakFromConstruct() 594 uint32_t var_id = TakeNextId(); in AddReturnValue() 629 uint32_t var_id = TakeNextId(); in AddReturnFlag() 681 uint32_t phi_result_id = TakeNextId(); in MergeReturnBlocks() 791 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateContinueTarget() 831 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ir_builder.h | 64 result_id = GetContext()->TakeNextId(); in AddNullaryOp() 77 result_id = GetContext()->TakeNextId(); in AddUnaryOp() 92 result_id = GetContext()->TakeNextId(); in AddBinaryOp() 108 result_id = GetContext()->TakeNextId(); in AddTernaryOp() 126 result_id = GetContext()->TakeNextId(); in AddQuadOp() 144 result_id = GetContext()->TakeNextId(); in AddIdLiteralOp() 170 result != 0 ? result : GetContext()->TakeNextId(), ops)); 297 GetContext(), SpvOpIAdd, type, GetContext()->TakeNextId(), in AddIAdd() 311 GetContext(), SpvOpULessThan, type, GetContext()->TakeNextId(), in AddULessThan() 325 GetContext(), SpvOpSLessThan, type, GetContext()->TakeNextId(), in AddSLessThan() [all …]
|
D | inst_buff_addr_check_pass.cpp | 32 new_ref_id = TakeNextId(); in CloneOriginalReference() 69 uint32_t merge_blk_id = TakeNextId(); in GenCheckCode() 70 uint32_t valid_blk_id = TakeNextId(); in GenCheckCode() 71 uint32_t invalid_blk_id = TakeNextId(); in GenCheckCode() 213 uint32_t pid = TakeNextId(); in AddParam() 227 search_test_func_id_ = TakeNextId(); in GetSearchAndTestFuncId() 248 uint32_t first_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 255 uint32_t hdr_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 268 uint32_t cont_blk_id = TakeNextId(); in GetSearchAndTestFuncId() 273 uint32_t idx_phi_id = TakeNextId(); in GetSearchAndTestFuncId() [all …]
|
D | graphics_robust_access_pass.cpp | 454 &inst, SpvOpISub, type_mgr->GetId(wider_type), TakeNextId(), in ClampIndicesForAccessChain() 574 module_status_.glsl_insts_id = TakeNextId(); in GetGlslInsts() 614 auto conversion_id = TakeNextId(); in WidenInteger() 628 uint32_t smin_id = TakeNextId(); in MakeUMinInst() 652 uint32_t clamp_id = TakeNextId(); in MakeSClampInst() 767 const auto new_access_chain_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 796 const auto array_len_id = TakeNextId(); in MakeRuntimeArrayLengthInst() 946 const uint32_t image_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 951 const uint32_t query_size_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() 979 const auto query_size_including_faces_id = TakeNextId(); in ClampCoordinateForImageTexelPointer() [all …]
|
D | inline_pass.cpp | 37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() 127 boolId = context()->TakeNextId(); in GetFalseId() 133 false_id_ = context()->TakeNextId(); in GetFalseId() 169 uint32_t newId = context()->TakeNextId(); in CloneAndMapLocals() 204 returnVarId = context()->TakeNextId(); in CreateReturnVar() 241 const uint32_t nid = context()->TakeNextId(); in CloneSameBlockOps() 281 const auto guard_block_id = context()->TakeNextId(); in AddGuardBlock() 385 returnLabelId = context()->TakeNextId(); in InlineReturn() 593 const uint32_t nid = context()->TakeNextId(); in GenInlineCode()
|
D | debug_info_manager.cpp | 155 uint32_t id = context->TakeNextId(); in AddNewConstInGlobals() 231 uint32_t result_id = context()->TakeNextId(); in CreateDebugInlinedAt() 321 uint32_t result_id = context()->TakeNextId(); in GetDebugOperationWithDeref() 365 deref_expr->SetResultId(context()->TakeNextId()); in DerefDebugExpression() 380 uint32_t result_id = context()->TakeNextId(); in GetDebugInfoNone() 404 uint32_t result_id = context()->TakeNextId(); in GetEmptyDebugExpression() 439 new_inlined_at->SetResultId(context()->TakeNextId()); in CloneDebugInlinedAt() 584 dbg_val->SetResultId(context()->TakeNextId()); in AddDebugValueForDecl() 778 context()->TakeNextId(), in ConvertDebugGlobalToLocalVariable()
|
D | merge_return_pass.cpp | 177 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateReturnBlock() 196 uint32_t loadId = TakeNextId(); in CreateReturn() 343 uint32_t new_id = TakeNextId(); in CreatePhiNodesForInst() 468 auto old_body_id = TakeNextId(); in BreakFromConstruct() 594 uint32_t var_id = TakeNextId(); in AddReturnValue() 629 uint32_t var_id = TakeNextId(); in AddReturnFlag() 681 uint32_t phi_result_id = TakeNextId(); in MergeReturnBlocks() 791 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateContinueTarget() 831 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | inline_pass.cpp | 50 uint32_t resultId = TakeNextId(); in AddPointerToType() 118 boolId = TakeNextId(); in GetFalseId() 121 false_id_ = TakeNextId(); in GetFalseId() 149 uint32_t newId = TakeNextId(); in CloneAndMapLocals() 171 returnVarId = TakeNextId(); in CreateReturnVar() 202 const uint32_t nid = this->TakeNextId(); in CloneSameBlockOps() 271 if (returnLabelId == 0) returnLabelId = this->TakeNextId(); in GenInlineCode() 285 : this->TakeNextId(); in GenInlineCode() 311 singleTripLoopHeaderId = this->TakeNextId(); in GenInlineCode() 316 returnLabelId = this->TakeNextId(); in GenInlineCode() [all …]
|
/third_party/spirv-tools/source/fuzz/ |
D | force_render_red.cpp | 152 ir_context->TakeNextId(), ir_context->TakeNextId()); in MakeConstantUniformReplacement() 205 auto new_exit_block_id = ir_context->TakeNextId(); in ForceRenderRed() 219 ir_context->TakeNextId(), in ForceRenderRed() 233 ir_context->TakeNextId(), op_composite_construct_operands); in ForceRenderRed() 307 id_guaranteed_to_be_false = ir_context->TakeNextId(); in ForceRenderRed()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | force_render_red.cpp | 152 ir_context->TakeNextId(), ir_context->TakeNextId()); in MakeConstantUniformReplacement() 205 auto new_exit_block_id = ir_context->TakeNextId(); in ForceRenderRed() 219 ir_context->TakeNextId(), in ForceRenderRed() 233 ir_context->TakeNextId(), op_composite_construct_operands); in ForceRenderRed() 307 id_guaranteed_to_be_false = ir_context->TakeNextId(); in ForceRenderRed()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | force_render_red.cpp | 152 ir_context->TakeNextId(), ir_context->TakeNextId()); in MakeConstantUniformReplacement() 205 auto new_exit_block_id = ir_context->TakeNextId(); in ForceRenderRed() 219 ir_context->TakeNextId(), in ForceRenderRed() 233 ir_context->TakeNextId(), op_composite_construct_operands); in ForceRenderRed() 307 id_guaranteed_to_be_false = ir_context->TakeNextId(); in ForceRenderRed()
|
/third_party/spirv-tools/source/reduce/ |
D | reduction_util.cpp | 36 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateGlobalVariable() 75 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateFunctionVariable() 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | reduction_util.cpp | 36 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateGlobalVariable() 75 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateFunctionVariable() 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | reduction_util.cpp | 36 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateGlobalVariable() 75 const uint32_t variable_id = context->TakeNextId(); in FindOrCreateFunctionVariable() 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef()
|