Home
last modified time | relevance | path

Searched refs:new_phi (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_phi_precision.c227 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_narrowing_dst()
228 nir_ssa_dest_init(&new_phi->instr, &new_phi->dest, in try_move_narrowing_dst()
242 /* and add corresponding phi_src to the new_phi: */ in try_move_narrowing_dst()
243 nir_phi_instr_add_src(new_phi, src->pred, nir_src_for_ssa(new_src)); in try_move_narrowing_dst()
257 nir_ssa_def_rewrite_uses(&phi->dest.ssa, &new_phi->dest.ssa); in try_move_narrowing_dst()
261 nir_builder_instr_insert(b, &new_phi->instr); in try_move_narrowing_dst()
380 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_widening_src()
381 nir_ssa_dest_init(&new_phi->instr, &new_phi in try_move_widening_src()
[all...]
H A Dnir_split_64bit_vec3_and_vec4.c236 nir_phi_instr *new_phi[2]; in split_phi() local
239 new_phi[i] = nir_phi_instr_create(b->shader); in split_phi()
240 nir_ssa_dest_init(&new_phi[i]->instr, &new_phi[i]->dest, num_comp[i], in split_phi()
256 nir_phi_instr_add_src(new_phi[i], src->pred, nir_src_for_ssa(new_src)); in split_phi()
258 nir_instr_insert_before(&phi->instr, &new_phi[i]->instr); in split_phi()
262 return merge_to_vec3_or_vec4(b, &new_phi[0]->dest.ssa, &new_phi[1]->dest.ssa); in split_phi()
H A Dnir_lower_phis_to_scalar.c230 nir_phi_instr *new_phi = nir_phi_instr_create(state->shader); in lower_phis_to_scalar_block() local
231 nir_ssa_dest_init(&new_phi->instr, &new_phi->dest, 1, in lower_phis_to_scalar_block()
234 vec->src[i].src = nir_src_for_ssa(&new_phi->dest.ssa); in lower_phis_to_scalar_block()
252 nir_phi_instr_add_src(new_phi, src->pred, nir_src_for_ssa(&mov->dest.dest.ssa)); in lower_phis_to_scalar_block()
255 nir_instr_insert_before(&phi->instr, &new_phi->instr); in lower_phis_to_scalar_block()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A 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()
H A 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()
H A Dcfg.cpp266 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader()
269 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
H A Dloop_peeling.cpp546 Instruction* new_phi = in PeelAfter()
558 {new_phi->result_id()}); in PeelAfter()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A 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()
H A 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()
H A Dcfg.cpp266 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader()
269 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
H A Dloop_peeling.cpp546 Instruction* new_phi = in PeelAfter()
558 {new_phi->result_id()}); in PeelAfter()
/third_party/spirv-tools/source/opt/
H A 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()
H A 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()
H A Dcfg.cpp282 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader()
285 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
H A Dloop_peeling.cpp547 Instruction* new_phi = in PeelAfter()
559 {new_phi->result_id()}); in PeelAfter()
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_phis.cpp296 Pseudo_instruction* new_phi{create_instruction<Pseudo_instruction>( in lower_divergent_bool_phi()
298 new_phi->definitions[0] = phi->definitions[0]; in lower_divergent_bool_phi()
299 phi.reset(new_phi); in lower_divergent_bool_phi()
H A Daco_register_allocation.cpp2036 aco_ptr<Instruction> new_phi{ in get_reg_phi()
2038 new_phi->definitions[0] = pc.second; in get_reg_phi()
2040 new_phi->operands[i] = Operand(pc.first); in get_reg_phi()
2041 instructions.emplace_back(std::move(new_phi)); in get_reg_phi()
H A Daco_instruction_selection.cpp10292 aco_ptr<Pseudo_instruction> new_phi{create_instruction<Pseudo_instruction>(aco_opcode::p_linear_phi, Format::PSEUDO, loop_entry->linear_predecessors.size(), 1)};
10293 new_phi->definitions[0] = instr->definitions[0];
10294 for (unsigned i = 0; i < new_phi->operands.size(); i++)
10295 new_phi->operands[i] = instr->operands[i];
10297 for (unsigned i = new_phi->operands.size(); i < instr->operands.size(); i++)
10299 instr.swap(new_phi);
/third_party/node/deps/v8/src/compiler/
H A Dbranch-elimination.cc123 Node* new_phi = graph->NewNode( in SimplifyBranchCondition() local
130 NodeProperties::ReplaceValueInput(branch, new_phi, 0); in SimplifyBranchCondition()

Completed in 42 milliseconds