Home
last modified time | relevance | path

Searched refs:new_phi (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_phis_to_scalar.c224 nir_phi_instr *new_phi = nir_phi_instr_create(state->mem_ctx); in lower_phis_to_scalar_block() local
225 nir_ssa_dest_init(&new_phi->instr, &new_phi->dest, 1, in lower_phis_to_scalar_block()
228 vec->src[i].src = nir_src_for_ssa(&new_phi->dest.ssa); in lower_phis_to_scalar_block()
246 nir_phi_src *new_src = ralloc(new_phi, nir_phi_src); in lower_phis_to_scalar_block()
250 exec_list_push_tail(&new_phi->srcs, &new_src->node); in lower_phis_to_scalar_block()
253 nir_instr_insert_before(&phi->instr, &new_phi->instr); in lower_phis_to_scalar_block()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unroller.cpp86 new_phi(nullptr), in LoopUnrollState()
97 new_phi(nullptr), in LoopUnrollState()
106 previous_phi_ = new_phi; in NextIterationState()
112 new_phi = nullptr; in NextIterationState()
140 Instruction* new_phi; member
418 loop_induction_variable_ = state_.new_phi; in PartiallyUnrollResidualFactor()
898 state_.new_phi = &inst; in AssignNewResultIds()
Dmerge_return_pass.cpp322 Instruction* new_phi = nullptr; in CreatePhiNodesForInst() local
349 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
350 get_def_use_mgr()->AnalyzeInstDefUse(new_phi); in CreatePhiNodesForInst()
351 context()->set_instr_block(new_phi, merge_block); in CreatePhiNodesForInst()
353 new_phi->ForEachInId([dom_tree, merge_block, this](uint32_t* use_id) { in CreatePhiNodesForInst()
364 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
366 uint32_t result_of_phi = new_phi->result_id(); in CreatePhiNodesForInst()
Dcfg.cpp282 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local
285 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
Dloop_peeling.cpp546 Instruction* new_phi = in PeelAfter() local
558 {new_phi->result_id()}); in PeelAfter()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unroller.cpp86 new_phi(nullptr), in LoopUnrollState()
97 new_phi(nullptr), in LoopUnrollState()
106 previous_phi_ = new_phi; in NextIterationState()
112 new_phi = nullptr; in NextIterationState()
140 Instruction* new_phi; member
417 loop_induction_variable_ = state_.new_phi; in PartiallyUnrollResidualFactor()
897 state_.new_phi = &inst; in AssignNewResultIds()
Dmerge_return_pass.cpp326 Instruction* new_phi = nullptr; in CreatePhiNodesForInst() local
354 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
355 get_def_use_mgr()->AnalyzeInstDefUse(new_phi); in CreatePhiNodesForInst()
356 context()->set_instr_block(new_phi, merge_block); in CreatePhiNodesForInst()
358 new_phi->ForEachInId([dom_tree, merge_block, this](uint32_t* use_id) { in CreatePhiNodesForInst()
369 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
371 uint32_t result_of_phi = new_phi->result_id(); in CreatePhiNodesForInst()
Dcfg.cpp282 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local
285 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
Dloop_peeling.cpp548 Instruction* new_phi = in PeelAfter() local
560 {new_phi->result_id()}); in PeelAfter()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_unroller.cpp85 new_phi(nullptr), in LoopUnrollState()
96 new_phi(nullptr), in LoopUnrollState()
105 previous_phi_ = new_phi; in NextIterationState()
111 new_phi = nullptr; in NextIterationState()
139 Instruction* new_phi; member
416 loop_induction_variable_ = state_.new_phi; in PartiallyUnrollResidualFactor()
896 state_.new_phi = &inst; in AssignNewResultIds()
Dmerge_return_pass.cpp326 Instruction* new_phi = nullptr; in CreatePhiNodesForInst() local
354 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
355 get_def_use_mgr()->AnalyzeInstDefUse(new_phi); in CreatePhiNodesForInst()
356 context()->set_instr_block(new_phi, merge_block); in CreatePhiNodesForInst()
358 new_phi->ForEachInId([dom_tree, merge_block, this](uint32_t* use_id) { in CreatePhiNodesForInst()
369 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst()
371 uint32_t result_of_phi = new_phi->result_id(); in CreatePhiNodesForInst()
Dcfg.cpp282 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local
285 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
Dloop_peeling.cpp547 Instruction* new_phi = in PeelAfter() local
559 {new_phi->result_id()}); in PeelAfter()
/external/mesa3d/src/amd/compiler/
Daco_lower_phis.cpp240 …Pseudo_instruction* new_phi{create_instruction<Pseudo_instruction>(aco_opcode::p_linear_phi, Forma… in lower_divergent_bool_phi() local
241 new_phi->definitions[0] = phi->definitions[0]; in lower_divergent_bool_phi()
242 phi.reset(new_phi); in lower_divergent_bool_phi()
Daco_register_allocation.cpp1969 …aco_ptr<Instruction> new_phi{create_instruction<Pseudo_instruction>(opcode, Format::PSEUDO, preds.… in register_allocation() local
1970 new_phi->definitions[0] = pc.second; in register_allocation()
1972 new_phi->operands[i] = Operand(pc.first); in register_allocation()
1973 instructions.emplace_back(std::move(new_phi)); in register_allocation()
Daco_instruction_selection.cpp9536 …aco_ptr<Pseudo_instruction> new_phi{create_instruction<Pseudo_instruction>(aco_opcode::p_linear_ph… in end_loop()
9537 new_phi->definitions[0] = instr->definitions[0]; in end_loop()
9538 for (unsigned i = 0; i < new_phi->operands.size(); i++) in end_loop()
9539 new_phi->operands[i] = instr->operands[i]; in end_loop()
9541 for (unsigned i = new_phi->operands.size(); i < instr->operands.size(); i++) in end_loop()
9543 instr.swap(new_phi); in end_loop()