/third_party/spirv-tools/source/opt/ |
D | replace_desc_array_access_using_var_index.cpp | 270 std::vector<uint32_t> phi_operands; in ReplaceNonUniformAccessWithSwitchCase() local 285 phi_operands.push_back(phi_operand); in ReplaceNonUniformAccessWithSwitchCase() 290 CreateDefaultBlock(access_chain_final_user->HasResultId(), &phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 302 if (!phi_operands.empty()) { in ReplaceNonUniformAccessWithSwitchCase() 303 uint32_t phi_id = CreatePhiInstruction(merge_block, phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 364 bool null_const_for_phi_is_needed, std::vector<uint32_t>* phi_operands, in CreateDefaultBlock() argument 371 Instruction* inst = context()->get_def_use_mgr()->GetDef((*phi_operands)[0]); in CreateDefaultBlock() 373 phi_operands->push_back(null_const_inst->result_id()); in CreateDefaultBlock() 399 BasicBlock* parent_block, const std::vector<uint32_t>& phi_operands, in CreatePhiInstruction() argument 403 assert(case_block_ids.size() + 1 == phi_operands.size() && in CreatePhiInstruction() [all …]
|
D | replace_desc_array_access_using_var_index.h | 168 std::vector<uint32_t>* phi_operands, 188 const std::vector<uint32_t>& phi_operands,
|
D | ssa_rewrite_pass.cpp | 525 std::vector<Operand> phi_operands; in ApplyReplacements() local 531 phi_operands.push_back( in ApplyReplacements() 533 phi_operands.push_back( in ApplyReplacements() 549 phi_candidate->result_id(), phi_operands)); in ApplyReplacements()
|
D | merge_return_pass.cpp | 307 std::vector<uint32_t> phi_operands; in CreatePhiNodesForInst() local 315 phi_operands.push_back(undef_id); in CreatePhiNodesForInst() 317 phi_operands.push_back(inst.result_id()); in CreatePhiNodesForInst() 319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst() 364 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | replace_desc_array_access_using_var_index.cpp | 264 std::vector<uint32_t> phi_operands; in ReplaceNonUniformAccessWithSwitchCase() local 279 phi_operands.push_back(phi_operand); in ReplaceNonUniformAccessWithSwitchCase() 284 CreateDefaultBlock(access_chain_final_user->HasResultId(), &phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 296 if (!phi_operands.empty()) { in ReplaceNonUniformAccessWithSwitchCase() 297 uint32_t phi_id = CreatePhiInstruction(merge_block, phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 358 bool null_const_for_phi_is_needed, std::vector<uint32_t>* phi_operands, in CreateDefaultBlock() argument 365 Instruction* inst = context()->get_def_use_mgr()->GetDef((*phi_operands)[0]); in CreateDefaultBlock() 367 phi_operands->push_back(null_const_inst->result_id()); in CreateDefaultBlock() 393 BasicBlock* parent_block, const std::vector<uint32_t>& phi_operands, in CreatePhiInstruction() argument 397 assert(case_block_ids.size() + 1 == phi_operands.size() && in CreatePhiInstruction() [all …]
|
D | replace_desc_array_access_using_var_index.h | 167 std::vector<uint32_t>* phi_operands, 187 const std::vector<uint32_t>& phi_operands,
|
D | ssa_rewrite_pass.cpp | 526 std::vector<Operand> phi_operands; in ApplyReplacements() local 532 phi_operands.push_back( in ApplyReplacements() 534 phi_operands.push_back( in ApplyReplacements() 550 phi_candidate->result_id(), phi_operands)); in ApplyReplacements()
|
D | merge_return_pass.cpp | 307 std::vector<uint32_t> phi_operands; in CreatePhiNodesForInst() local 315 phi_operands.push_back(undef_id); in CreatePhiNodesForInst() 317 phi_operands.push_back(inst.result_id()); in CreatePhiNodesForInst() 319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst() 364 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | replace_desc_array_access_using_var_index.cpp | 264 std::vector<uint32_t> phi_operands; in ReplaceNonUniformAccessWithSwitchCase() local 279 phi_operands.push_back(phi_operand); in ReplaceNonUniformAccessWithSwitchCase() 284 CreateDefaultBlock(access_chain_final_user->HasResultId(), &phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 296 if (!phi_operands.empty()) { in ReplaceNonUniformAccessWithSwitchCase() 297 uint32_t phi_id = CreatePhiInstruction(merge_block, phi_operands, in ReplaceNonUniformAccessWithSwitchCase() 358 bool null_const_for_phi_is_needed, std::vector<uint32_t>* phi_operands, in CreateDefaultBlock() argument 365 Instruction* inst = context()->get_def_use_mgr()->GetDef((*phi_operands)[0]); in CreateDefaultBlock() 367 phi_operands->push_back(null_const_inst->result_id()); in CreateDefaultBlock() 393 BasicBlock* parent_block, const std::vector<uint32_t>& phi_operands, in CreatePhiInstruction() argument 397 assert(case_block_ids.size() + 1 == phi_operands.size() && in CreatePhiInstruction() [all …]
|
D | replace_desc_array_access_using_var_index.h | 167 std::vector<uint32_t>* phi_operands, 187 const std::vector<uint32_t>& phi_operands,
|
D | ssa_rewrite_pass.cpp | 526 std::vector<Operand> phi_operands; in ApplyReplacements() local 532 phi_operands.push_back( in ApplyReplacements() 534 phi_operands.push_back( in ApplyReplacements() 550 phi_candidate->result_id(), phi_operands)); in ApplyReplacements()
|
D | merge_return_pass.cpp | 307 std::vector<uint32_t> phi_operands; in CreatePhiNodesForInst() local 315 phi_operands.push_back(undef_id); in CreatePhiNodesForInst() 317 phi_operands.push_back(inst.result_id()); in CreatePhiNodesForInst() 319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst() 364 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
|