Home
last modified time | relevance | path

Searched refs:TakeNextId (Results 1 – 25 of 49) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_builder.h65 opcode == SpvOpReturn ? 0 : GetContext()->TakeNextId(), {})); in AddNullaryOp()
72 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddUnaryOp()
82 opcode == SpvOpStore ? 0 : GetContext()->TakeNextId(), in AddBinaryOp()
92 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddTernaryOp()
104 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddQuadOp()
116 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddIdLiteralOp()
136 result != 0 ? result : GetContext()->TakeNextId(), ops));
263 GetContext(), SpvOpIAdd, type, GetContext()->TakeNextId(), in AddIAdd()
277 GetContext(), SpvOpULessThan, type, GetContext()->TakeNextId(), in AddULessThan()
291 GetContext(), SpvOpSLessThan, type, GetContext()->TakeNextId(), in AddSLessThan()
[all …]
Dinline_pass.cpp37 uint32_t resultId = TakeNextId(); in AddPointerToType()
111 boolId = TakeNextId(); in GetFalseId()
114 false_id_ = TakeNextId(); in GetFalseId()
139 uint32_t newId = TakeNextId(); in CloneAndMapLocals()
160 returnVarId = TakeNextId(); in CreateReturnVar()
191 const uint32_t nid = this->TakeNextId(); in CloneSameBlockOps()
306 if (returnLabelId == 0) returnLabelId = this->TakeNextId(); in GenInlineCode()
316 if (returnLabelId == 0) returnLabelId = this->TakeNextId(); in GenInlineCode()
330 : this->TakeNextId(); in GenInlineCode()
361 const auto guard_block_id = this->TakeNextId(); in GenInlineCode()
[all …]
Dmerge_return_pass.cpp147 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateReturnBlock()
165 uint32_t loadId = TakeNextId(); in CreateReturn()
396 BasicBlock* old_body = block->SplitBasicBlock(context(), TakeNextId(), iter); in BreakFromConstruct()
503 uint32_t var_id = TakeNextId(); in AddReturnValue()
538 uint32_t var_id = TakeNextId(); in AddReturnFlag()
590 uint32_t phi_result_id = TakeNextId(); in MergeReturnBlocks()
679 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateContinueTarget()
711 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateDummyLoop()
725 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateDummyLoop()
Dpass.h126 uint32_t TakeNextId() { return context_->TakeNextId(); } in TakeNextId() function
Dinst_bindless_check_pass.cpp146 uint32_t merge_blk_id = TakeNextId(); in GenBindlessCheckCode()
147 uint32_t valid_blk_id = TakeNextId(); in GenBindlessCheckCode()
148 uint32_t invalid_blk_id = TakeNextId(); in GenBindlessCheckCode()
186 new_ref_id = TakeNextId(); in GenBindlessCheckCode()
Dscalar_replacement_pass.cpp145 uint32_t loadId = TakeNextId(); in ReplaceWholeLoad()
163 uint32_t compositeId = TakeNextId(); in ReplaceWholeLoad()
194 uint32_t extractId = TakeNextId(); in ReplaceWholeStore()
237 uint32_t replacementId = TakeNextId(); in ReplaceAccessChain()
338 uint32_t id = TakeNextId(); in CreateVariable()
392 ptrId = TakeNextId(); in GetOrCreatePointerType()
422 newInitId = TakeNextId(); in GetOrCreateInitialValue()
434 newInitId = TakeNextId(); in GetOrCreateInitialValue()
Dinstrument_pass.cpp245 const uint32_t nid = this->TakeNextId(); in CloneSameBlockOps()
322 output_buffer_id_ = TakeNextId(); in GetOutputBufferId()
410 output_func_id_ = TakeNextId(); in GetStreamWriteFunctionId()
429 uint32_t pid = TakeNextId(); in GetStreamWriteFunctionId()
438 uint32_t test_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
474 uint32_t merge_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
475 uint32_t write_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
Dstrength_reduction_pass.cpp97 uint32_t newResultId = TakeNextId(); in ReplaceMultiplyByPowerOf2()
159 uint32_t resultId = TakeNextId(); in GetConstantId()
Dcommon_uniform_elim_pass.cpp213 const uint32_t ldResultId = TakeNextId(); in GenACLoadRepl()
228 const uint32_t extResultId = TakeNextId(); in GenACLoadRepl()
382 replId = TakeNextId(); in CommonUniformLoadElimination()
454 uint32_t replId = TakeNextId(); in CommonExtractElimination()
Dloop_utils.cpp358 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateLoopDedicatedExits()
497 context_, SpvOp::SpvOpLabel, 0, context_->TakeNextId(), {})}; in CloneAndAttachLoopToHeader()
567 new_bb->GetLabelInst()->SetResultId(context_->TakeNextId()); in CloneLoop()
583 new_inst->SetResultId(context_->TakeNextId()); in CloneLoop()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_builder.h65 opcode == SpvOpReturn ? 0 : GetContext()->TakeNextId(), {})); in AddNullaryOp()
72 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddUnaryOp()
82 opcode == SpvOpStore ? 0 : GetContext()->TakeNextId(), in AddBinaryOp()
92 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddTernaryOp()
104 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddQuadOp()
116 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddIdLiteralOp()
136 result != 0 ? result : GetContext()->TakeNextId(), ops));
263 GetContext(), SpvOpIAdd, type, GetContext()->TakeNextId(), in AddIAdd()
277 GetContext(), SpvOpULessThan, type, GetContext()->TakeNextId(), in AddULessThan()
291 GetContext(), SpvOpSLessThan, type, GetContext()->TakeNextId(), in AddSLessThan()
[all …]
Dinline_pass.cpp37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType()
115 boolId = context()->TakeNextId(); in GetFalseId()
121 false_id_ = context()->TakeNextId(); in GetFalseId()
149 uint32_t newId = context()->TakeNextId(); in CloneAndMapLocals()
181 returnVarId = context()->TakeNextId(); in CreateReturnVar()
218 const uint32_t nid = context()->TakeNextId(); in CloneSameBlockOps()
347 returnLabelId = context()->TakeNextId(); in GenInlineCode()
362 returnLabelId = context()->TakeNextId(); in GenInlineCode()
381 : context()->TakeNextId(); in GenInlineCode()
417 const auto guard_block_id = context()->TakeNextId(); in GenInlineCode()
[all …]
Dpass.h126 uint32_t TakeNextId() { return context_->TakeNextId(); } in TakeNextId() function
Dmerge_return_pass.cpp147 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateReturnBlock()
165 uint32_t loadId = TakeNextId(); in CreateReturn()
402 BasicBlock* old_body = block->SplitBasicBlock(context(), TakeNextId(), iter); in BreakFromConstruct()
519 uint32_t var_id = TakeNextId(); in AddReturnValue()
554 uint32_t var_id = TakeNextId(); in AddReturnFlag()
606 uint32_t phi_result_id = TakeNextId(); in MergeReturnBlocks()
695 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateContinueTarget()
727 new Instruction(context(), SpvOpLabel, 0u, TakeNextId(), {})); in CreateDummyLoop()
741 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateDummyLoop()
Dinst_bindless_check_pass.cpp146 uint32_t merge_blk_id = TakeNextId(); in GenBindlessCheckCode()
147 uint32_t valid_blk_id = TakeNextId(); in GenBindlessCheckCode()
148 uint32_t invalid_blk_id = TakeNextId(); in GenBindlessCheckCode()
186 new_ref_id = TakeNextId(); in GenBindlessCheckCode()
Dscalar_replacement_pass.cpp145 uint32_t loadId = TakeNextId(); in ReplaceWholeLoad()
163 uint32_t compositeId = TakeNextId(); in ReplaceWholeLoad()
194 uint32_t extractId = TakeNextId(); in ReplaceWholeStore()
237 uint32_t replacementId = TakeNextId(); in ReplaceAccessChain()
338 uint32_t id = TakeNextId(); in CreateVariable()
392 ptrId = TakeNextId(); in GetOrCreatePointerType()
422 newInitId = TakeNextId(); in GetOrCreateInitialValue()
434 newInitId = TakeNextId(); in GetOrCreateInitialValue()
Dinstrument_pass.cpp245 const uint32_t nid = this->TakeNextId(); in CloneSameBlockOps()
324 output_buffer_id_ = TakeNextId(); in GetOutputBufferId()
412 output_func_id_ = TakeNextId(); in GetStreamWriteFunctionId()
431 uint32_t pid = TakeNextId(); in GetStreamWriteFunctionId()
440 uint32_t test_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
476 uint32_t merge_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
477 uint32_t write_blk_id = TakeNextId(); in GetStreamWriteFunctionId()
Dstrength_reduction_pass.cpp97 uint32_t newResultId = TakeNextId(); in ReplaceMultiplyByPowerOf2()
159 uint32_t resultId = TakeNextId(); in GetConstantId()
Dcommon_uniform_elim_pass.cpp213 const uint32_t ldResultId = TakeNextId(); in GenACLoadRepl()
228 const uint32_t extResultId = TakeNextId(); in GenACLoadRepl()
387 replId = TakeNextId(); in CommonUniformLoadElimination()
459 uint32_t replId = TakeNextId(); in CommonExtractElimination()
Dloop_unswitch_pass.cpp107 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateBasicBlock()
188 cloned->SetResultId(TakeNextId()); in PerformUnswitch()
444 uint32_t TakeNextId() { in TakeNextId() function in spvtools::opt::__anon308a08fe0211::LoopUnswitch
446 return context_->TakeNextId(); in TakeNextId()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dir_context_test.cpp587 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
590 next_id_bound = context->TakeNextId(); in TEST_F()
611 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
614 next_id_bound = context->TakeNextId(); in TEST_F()
635 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
638 next_id_bound = context->TakeNextId(); in TEST_F()
663 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_context_test.cpp587 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
590 next_id_bound = context->TakeNextId(); in TEST_F()
611 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
614 next_id_bound = context->TakeNextId(); in TEST_F()
635 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
638 next_id_bound = context->TakeNextId(); in TEST_F()
663 uint32_t next_id_bound = context->TakeNextId(); in TEST_F()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp311 const uint32_t undef_id = context_->TakeNextId(); in FindOrCreateGlobalUndef()
330 const uint32_t variable_id = context_->TakeNextId(); in FindOrCreateGlobalVariable()
368 const uint32_t variable_id = context_->TakeNextId(); in FindOrCreateFunctionVariable()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreduction_util.cpp35 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef()
Dstructured_loop_to_selection_reduction_opportunity.cpp313 const uint32_t variable_id = context_->TakeNextId(); in FindOrCreateGlobalVariable()
351 const uint32_t variable_id = context_->TakeNextId(); in FindOrCreateFunctionVariable()

12