Searched refs:undef_id (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | reduction_util.cpp | 35 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef() local 37 new Instruction(context, SpvOpUndef, type_id, undef_id, {})); in FindOrCreateGlobalUndef() 38 assert(undef_id == undef_inst->result_id()); in FindOrCreateGlobalUndef() 40 return undef_id; in FindOrCreateGlobalUndef()
|
D | change_operand_to_undef_reduction_opportunity.cpp | 36 auto undef_id = FindOrCreateGlobalUndef(context_, operand_type_id); in Apply() local 37 inst_->SetOperand(operand_index_, {undef_id}); in Apply()
|
D | structured_loop_to_selection_reduction_opportunity.cpp | 196 auto undef_id = FindOrCreateGlobalUndef(context_, phi_inst->type_id()); in AdaptPhiInstructionsForAddedEdge() local 197 phi_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 194 auto undef_id = FindOrCreateGlobalUndef(phi_inst->type_id()); in AdaptPhiInstructionsForAddedEdge() local 195 phi_inst->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge() 311 const uint32_t undef_id = context_->TakeNextId(); in FindOrCreateGlobalUndef() local 313 new Instruction(context_, SpvOpUndef, type_id, undef_id, {})); in FindOrCreateGlobalUndef() 314 assert(undef_id == undef_inst->result_id()); in FindOrCreateGlobalUndef() 316 return undef_id; in FindOrCreateGlobalUndef()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | vector_dce.cpp | 298 uint32_t undef_id = this->Type2Undef(current_inst->type_id()); in RewriteInstructions() local 300 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions() 342 uint32_t undef_id = Type2Undef(current_inst->type_id()); in RewriteInsertInstruction() local 343 current_inst->SetInOperand(kInsertCompositeIdInIdx, {undef_id}); in RewriteInsertInstruction()
|
D | mem_pass.cpp | 321 uint32_t undef_id = 0; in RemovePhiOperands() local 355 if (!undef_id) { in RemovePhiOperands() 357 undef_id = Type2Undef(type_id); in RemovePhiOperands() 360 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {undef_id})); in RemovePhiOperands()
|
D | merge_return_pass.cpp | 280 uint32_t undef_id = Type2Undef(inst.type_id()); in CreatePhiNodesForInst() local 291 phi_operands.push_back(undef_id); in CreatePhiNodesForInst()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | vector_dce.cpp | 318 uint32_t undef_id = this->Type2Undef(current_inst->type_id()); in RewriteInstructions() local 320 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions() 371 uint32_t undef_id = Type2Undef(current_inst->type_id()); in RewriteInsertInstruction() local 372 current_inst->SetInOperand(kInsertCompositeIdInIdx, {undef_id}); in RewriteInsertInstruction()
|
D | mem_pass.cpp | 321 uint32_t undef_id = 0; in RemovePhiOperands() local 355 if (!undef_id) { in RemovePhiOperands() 357 undef_id = Type2Undef(type_id); in RemovePhiOperands() 360 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {undef_id})); in RemovePhiOperands()
|
D | merge_return_pass.cpp | 280 uint32_t undef_id = Type2Undef(inst.type_id()); in CreatePhiNodesForInst() local 291 phi_operands.push_back(undef_id); in CreatePhiNodesForInst()
|