Home
last modified time | relevance | path

Searched refs:IsPhi (Results 1 – 25 of 25) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.cpp68 if (inst->IsPhi()) { in SplitBlockAfterInstruction()
144 ASSERT(inst->IsPhi()); in RemovePhiProcessing()
353 ASSERT_PRINT(inst->IsPhi(), "Instruction must be phi"); in AppendPhi()
367 ASSERT_PRINT(prev && prev->IsPhi(), "There is no phi in the block"); in AppendPhi()
373 ASSERT_PRINT(last_inst_ && last_inst_->IsPhi(), in AppendPhi()
385 ASSERT_PRINT(!inst->IsPhi(), "Instruction mustn't be phi"); in AddInst()
390 ASSERT(last_inst_->IsPhi()); in AddInst()
424 ASSERT_PRINT(!inst_db->IsPhi(), "Instruction mustn't be phi"); in AppendRangeInst()
428 ASSERT_PRINT(!inst_db->IsPhi(), "Instruction mustn't be phi"); in AppendRangeInst()
435 ASSERT(last_inst_->IsPhi()); in AppendRangeInst()
[all …]
Dinst.cpp90 } else if (owner_inst->IsPhi()) { in Reallocate()
111 if (GetOwnerInst()->IsPhi()) { in Append()
138 } else if (owner_inst->IsPhi()) { in Remove()
143 if (owner_inst->IsPhi()) { in Remove()
Dgraph_cloner.cpp269 ASSERT(last_phi != nullptr && last_phi->IsPhi()); in PrepareLoopToUnroll()
333 if (header_phi->IsPhi() && header_phi->GetBasicBlock() == unroll_data->header) { in UpdateUsersAfterNoSideExitsUnroll()
477 } else if (input->IsPhi() && input->GetBasicBlock()->GetLoop() == loop) { in BuildLoopUnrollDataFlow()
655 if (user->GetBasicBlock()->IsLoopHeader() && !user->IsPhi()) { in UpdateUsersForClonedLoopHeader()
658 ASSERT(user->GetBasicBlock() != inst_block || user->IsPhi()); in UpdateUsersForClonedLoopHeader()
690 return inst->IsPhi() && inst->GetBasicBlock() == loop->GetHeader(); in IsInstLoopHeaderPhi()
Ddump.cpp76 return IdToString(static_cast<uint32_t>(inst->GetId()), allocator, true, inst->IsPhi()); in InstId()
400 << IdToString(id_, allocator, false, IsPhi()) + '.'; in Dump()
Dgraph_cloner.h294 } else if (clone->IsPhi()) {
Dir_constructor.h132 if (inst->IsPhi()) { in NewInst()
204 ASSERT(CurrentInst()->IsPhi() || CurrentInst()->IsCall() || CurrentInst()->IsInitObject() || in Inputs()
206 if (CurrentInst()->IsPhi()) { in Inputs()
Dgraph_checker.cpp212 if (!user_inst->IsPhi() && !user_inst->IsCatchPhi()) { in CheckDataFlow()
667 if (user->IsPhi() || user->IsCatchPhi()) { in CheckSaveStateInputs()
Dgraph.cpp533 if (!inst->IsOperandsDynamic() || inst->IsPhi()) { in InitDefaultLocations()
Dinst.h1248 bool IsPhi() const in IsPhi() function
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_acc_alloc.cpp45 if (!dst_inst->IsPhi() && block->GetPredsBlocks().size() > 1) { in IsAccWriteBetween()
87 return UNLIKELY(inst->IsPhi()) ? IsPhiOptimizable(inst) : inst->IsAccRead(); in IsAccRead()
95 return UNLIKELY(inst->IsPhi()) ? IsPhiOptimizable(inst) : inst->IsAccWrite(); in IsAccWrite()
106 if (user->IsPhi()) { in CanUserReadAcc()
174 if (inst->IsPhi() || inst->IsCatchPhi()) { in SetNeedLda()
Dreg_encoder.cpp185 if (inst->IsPhi() || inst->IsCatchPhi()) { in RenumberRegs()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dsplit_resolver.cpp77 if (!phi->IsPhi() || phi->GetDstReg() == ACC_REG_ID) { in ProcessBlock()
80 ASSERT(phi->IsPhi()); in ProcessBlock()
146 while (iter != iter.end() && (*iter)->IsControlFlow() && !(*iter)->IsPhi()) { in CreateSpillFillForSplitMove()
177 ASSERT(!inst->IsPhi()); in CreateSpillFillForSplitMove()
Dreg_alloc_resolver.cpp81 if (inst->IsPhi() || inst->IsCatchPhi()) { in ResolveInputs()
170 if (user.GetInst()->IsPhi()) { in GetExplicitUser()
249 ASSERT(inst->IsConst() || inst->IsPhi() || inst->IsParameter()); in ResolveOutput()
Dreg_alloc_base.cpp204 …ASSERT(inst->IsPhi() || inst->IsCatchPhi() || la.GetInstByLifeNumber(interval->GetBegin()) == inst… in PrepareIntervals()
Dreg_alloc_graph_coloring.cpp132 if (inst->IsPhi()) { in PrecolorIG()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dphi_resolver.h46 if (!inst->IsPhi() && inst->GetOpcode() != Opcode::CatchPhi) { in Run()
116 if (user.GetInst()->IsPhi() || user.GetInst()->GetOpcode() == Opcode::CatchPhi) { in FindUsersRec()
131 ASSERT(inst->IsPhi() || inst->GetOpcode() == Opcode::CatchPhi); in FindInputsRec()
143 if (input_inst->IsPhi() || input_inst->GetOpcode() == Opcode::CatchPhi) { in FindInputsRec()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp125 ASSERT((user->GetBasicBlock() == succ && user->IsPhi()) || user->IsCatchPhi()); in RunOnce()
161 ASSERT(inst_bb->IsPhi()); in CheckSpecialTriangle()
284 bool is_phi = inst->IsPhi(); in Dce()
403 if (inst->IsPhi()) { in Removal()
445 if (!pred->IsPhi() && map_.count(pred) == 0) { in BuildDominators()
495 if (inst->IsPhi()) { in ComputeImmediateDominators()
561 if (succ->IsPhi() && GetSemi(succ) == DEFAULT_DFS_VAL) { in DfsNumbering()
Dmove_constants.cpp88 if (user_inst->IsPhi() || user_inst->IsCatchPhi()) { in SingleBlockNoPhiDominatingUser()
133 if (inst->IsPhi()) { in GetDominators()
/arkcompiler/runtime_core/compiler/tests/
DirBuilder_tests.cpp343 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0402()
373 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0402()
410 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0402()
429 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0402()
580 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0602()
623 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0602()
660 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0602()
679 EXPECT_TRUE(inst->IsPhi()); in __anon1538a8fc0602()
Diterators_test.cpp161 if (inst->IsPhi()) { in InitExpectData()
174 if (inst->IsPhi()) { in PopulateBlock()
Dcompiler_basicblock_test.cpp455 if (inst->IsPhi() || bb->IsStartBlock() || bb->IsEndBlock()) { in __anon9f1e038e0e02()
Dcompiler_graph_test.cpp660 if (inst->IsPhi()) { in __anon65fffef31202()
Ddump_test.cpp694 EXPECT_TRUE(inst->IsPhi()); in __anonb8e9e89d0e02()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h514 ASSERT(li_inst->IsPhi()); in EnumerateLiveIntervalsForInst()
/arkcompiler/runtime_core/compiler/docs/
Dcleanup_doc.md163 bool is_phi = inst->IsPhi();