/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_phi_precision.c | 227 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_narrowing_dst() local 228 nir_ssa_dest_init(&new_phi->instr, &new_phi->dest, 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() 258 nir_ssa_def_rewrite_uses(&alu->dest.dest.ssa, &new_phi->dest.ssa); in try_move_narrowing_dst() 263 nir_builder_instr_insert(b, &new_phi->instr); in try_move_narrowing_dst() 382 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_widening_src() local 383 nir_ssa_dest_init(&new_phi->instr, &new_phi->dest, in try_move_widening_src() 420 nir_phi_instr_add_src(new_phi, src->pred, nir_src_for_ssa(new_src)); in try_move_widening_src() 425 nir_builder_instr_insert(b, &new_phi->instr); in try_move_widening_src() 430 b->cursor = nir_after_instr_and_phis(&new_phi->instr); in try_move_widening_src() [all …]
|
D | nir_lower_phis_to_scalar.c | 230 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/ |
D | loop_unroller.cpp | 86 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()
|
D | merge_return_pass.cpp | 322 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()
|
D | cfg.cpp | 266 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local 269 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
|
D | loop_peeling.cpp | 546 Instruction* new_phi = in PeelAfter() local 558 {new_phi->result_id()}); in PeelAfter()
|
/third_party/spirv-tools/source/opt/ |
D | loop_unroller.cpp | 86 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() 890 state_.new_phi = &inst; in AssignNewResultIds()
|
D | merge_return_pass.cpp | 320 Instruction* new_phi = nullptr; in CreatePhiNodesForInst() local 347 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst() 348 get_def_use_mgr()->AnalyzeInstDefUse(new_phi); in CreatePhiNodesForInst() 349 context()->set_instr_block(new_phi, merge_block); in CreatePhiNodesForInst() 351 new_phi->ForEachInId([dom_tree, merge_block, this](uint32_t* use_id) { in CreatePhiNodesForInst() 362 new_phi = builder.AddPhi(inst.type_id(), phi_operands); in CreatePhiNodesForInst() 364 uint32_t result_of_phi = new_phi->result_id(); in CreatePhiNodesForInst()
|
D | cfg.cpp | 266 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local 269 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
|
D | loop_peeling.cpp | 546 Instruction* new_phi = in PeelAfter() local 558 {new_phi->result_id()}); in PeelAfter()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_unroller.cpp | 86 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()
|
D | merge_return_pass.cpp | 322 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()
|
D | cfg.cpp | 266 Instruction* new_phi = builder.AddPhi(phi->type_id(), preheader_phi_ops); in SplitLoopHeader() local 269 header_phi_ops.push_back({SPV_OPERAND_TYPE_ID, {new_phi->result_id()}}); in SplitLoopHeader()
|
D | loop_peeling.cpp | 546 Instruction* new_phi = in PeelAfter() local 558 {new_phi->result_id()}); in PeelAfter()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_lower_phis.cpp | 296 Pseudo_instruction* new_phi{create_instruction<Pseudo_instruction>( in lower_divergent_bool_phi() local 298 new_phi->definitions[0] = phi->definitions[0]; in lower_divergent_bool_phi() 299 phi.reset(new_phi); in lower_divergent_bool_phi()
|
D | aco_register_allocation.cpp | 2033 aco_ptr<Instruction> new_phi{ in get_regs_for_phis() local 2035 new_phi->definitions[0] = pc.second; in get_regs_for_phis() 2037 new_phi->operands[i] = Operand(pc.first); in get_regs_for_phis() 2038 instructions.emplace_back(std::move(new_phi)); in get_regs_for_phis()
|
D | aco_instruction_selection.cpp | 10040 …aco_ptr<Pseudo_instruction> new_phi{create_instruction<Pseudo_instruction>(aco_opcode::p_linear_ph… in end_loop() 10041 new_phi->definitions[0] = instr->definitions[0]; in end_loop() 10042 for (unsigned i = 0; i < new_phi->operands.size(); i++) in end_loop() 10043 new_phi->operands[i] = instr->operands[i]; in end_loop() 10045 for (unsigned i = new_phi->operands.size(); i < instr->operands.size(); i++) in end_loop() 10047 instr.swap(new_phi); in end_loop()
|