/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | reduction_util.cpp | 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef() local 95 context, SpvOpUndef, type_id, undef_id, opt::Instruction::OperandList()); in FindOrCreateGlobalUndef() 96 assert(undef_id == undef_inst->result_id()); in FindOrCreateGlobalUndef() 98 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 | 170 auto undef_id = FindOrCreateGlobalUndef(context_, phi_inst->type_id()); in AdaptPhiInstructionsForAddedEdge() local 171 phi_inst->AddOperand(opt::Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | reduction_util.cpp | 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef() local 95 context, SpvOpUndef, type_id, undef_id, opt::Instruction::OperandList()); in FindOrCreateGlobalUndef() 96 assert(undef_id == undef_inst->result_id()); in FindOrCreateGlobalUndef() 98 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 | 170 auto undef_id = FindOrCreateGlobalUndef(context_, phi_inst->type_id()); in AdaptPhiInstructionsForAddedEdge() local 171 phi_inst->AddOperand(opt::Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge()
|
/third_party/spirv-tools/source/reduce/ |
D | reduction_util.cpp | 93 const uint32_t undef_id = context->TakeNextId(); in FindOrCreateGlobalUndef() local 95 context, SpvOpUndef, type_id, undef_id, opt::Instruction::OperandList()); in FindOrCreateGlobalUndef() 96 assert(undef_id == undef_inst->result_id()); in FindOrCreateGlobalUndef() 98 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 | 173 auto undef_id = FindOrCreateGlobalUndef(context_, phi_inst->type_id()); in AdaptPhiInstructionsForAddedEdge() local 174 phi_inst->AddOperand(opt::Operand(SPV_OPERAND_TYPE_ID, {undef_id})); in AdaptPhiInstructionsForAddedEdge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | mem_pass.cpp | 335 uint32_t undef_id = 0; in RemovePhiOperands() local 369 if (!undef_id) { in RemovePhiOperands() 371 undef_id = Type2Undef(type_id); in RemovePhiOperands() 374 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {undef_id})); in RemovePhiOperands()
|
D | vector_dce.cpp | 342 uint32_t undef_id = this->Type2Undef(current_inst->type_id()); in RewriteInstructions() local 344 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions() 398 uint32_t undef_id = Type2Undef(current_inst->type_id()); in RewriteInsertInstruction() local 399 current_inst->SetInOperand(kInsertCompositeIdInIdx, {undef_id}); in RewriteInsertInstruction()
|
D | aggressive_dead_code_elim_pass.cpp | 309 auto undef_id = Type2Undef(func->type_id()); in KillDeadInstructions() local 310 auto undef = get_def_use_mgr()->GetDef(undef_id); in KillDeadInstructions() 313 merge_terminator->SetInOperands({{SPV_OPERAND_TYPE_ID, {undef_id}}}); in KillDeadInstructions()
|
D | merge_return_pass.cpp | 306 uint32_t undef_id = Type2Undef(inst.type_id()); in CreatePhiNodesForInst() local 315 phi_operands.push_back(undef_id); in CreatePhiNodesForInst()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | mem_pass.cpp | 335 uint32_t undef_id = 0; in RemovePhiOperands() local 369 if (!undef_id) { in RemovePhiOperands() 371 undef_id = Type2Undef(type_id); in RemovePhiOperands() 374 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {undef_id})); in RemovePhiOperands()
|
D | vector_dce.cpp | 342 uint32_t undef_id = this->Type2Undef(current_inst->type_id()); in RewriteInstructions() local 344 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions() 398 uint32_t undef_id = Type2Undef(current_inst->type_id()); in RewriteInsertInstruction() local 399 current_inst->SetInOperand(kInsertCompositeIdInIdx, {undef_id}); in RewriteInsertInstruction()
|
D | aggressive_dead_code_elim_pass.cpp | 309 auto undef_id = Type2Undef(func->type_id()); in KillDeadInstructions() local 310 auto undef = get_def_use_mgr()->GetDef(undef_id); in KillDeadInstructions() 313 merge_terminator->SetInOperands({{SPV_OPERAND_TYPE_ID, {undef_id}}}); in KillDeadInstructions()
|
D | merge_return_pass.cpp | 306 uint32_t undef_id = Type2Undef(inst.type_id()); in CreatePhiNodesForInst() local 315 phi_operands.push_back(undef_id); in CreatePhiNodesForInst()
|
/third_party/spirv-tools/source/opt/ |
D | vector_dce.cpp | 328 uint32_t undef_id = this->Type2Undef(current_inst->type_id()); in RewriteInstructions() local 330 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions() 384 uint32_t undef_id = Type2Undef(current_inst->type_id()); in RewriteInsertInstruction() local 385 current_inst->SetInOperand(kInsertCompositeIdInIdx, {undef_id}); in RewriteInsertInstruction()
|
D | mem_pass.cpp | 336 uint32_t undef_id = 0; in RemovePhiOperands() local 370 if (!undef_id) { in RemovePhiOperands() 372 undef_id = Type2Undef(type_id); in RemovePhiOperands() 375 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {undef_id})); in RemovePhiOperands()
|
D | aggressive_dead_code_elim_pass.cpp | 582 auto undef_id = Type2Undef(func->type_id()); in AggressiveDCE() local 583 auto undef = get_def_use_mgr()->GetDef(undef_id); in AggressiveDCE() 586 merge_terminator->SetInOperands({{SPV_OPERAND_TYPE_ID, {undef_id}}}); in AggressiveDCE()
|
D | merge_return_pass.cpp | 304 uint32_t undef_id = Type2Undef(inst.type_id()); in CreatePhiNodesForInst() local 313 phi_operands.push_back(undef_id); in CreatePhiNodesForInst()
|