Home
last modified time | relevance | path

Searched refs:catch_phi (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_resolver.cpp54 auto catch_phi = catch_inst->CastToCatchPhi(); in AddCatchPhiMoves() local
55 const auto &throwable_insts = catch_phi->GetThrowableInsts(); in AddCatchPhiMoves()
61 auto catch_input = catch_phi->GetDataFlowInput(index); in AddCatchPhiMoves()
64 auto catch_phi_interval = liveness_->GetInstLifeIntervals(catch_phi); in AddCatchPhiMoves()
286 Inst *RegAllocResolver::SqueezeCatchPhiInputs(CatchPhiInst *catch_phi) in SqueezeCatchPhiInputs() argument
289 auto first_input = catch_phi->GetInput(0).GetInst(); in SqueezeCatchPhiInputs()
290 for (size_t i = 1; i < catch_phi->GetInputsCount(); ++i) { in SqueezeCatchPhiInputs()
291 if (catch_phi->GetInput(i).GetInst() != first_input) { in SqueezeCatchPhiInputs()
301 auto new_catch_phi = GetGraph()->CreateInstCatchPhi(catch_phi->GetType(), catch_phi in SqueezeCatchPhiInputs()
[all...]
H A Dreg_alloc_resolver.h49 Inst *SqueezeCatchPhiInputs(CatchPhiInst *catch_phi);
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
H A Dinst_builder.cpp43 Inst *catch_phi = current_bb_->GetFirstInst(); in UpdateDefsForCatch() local
44 ASSERT(catch_phi != nullptr); in UpdateDefsForCatch()
46 ASSERT(catch_phi->IsCatchPhi()); in UpdateDefsForCatch()
47 defs_[current_bb_->GetId()][vreg] = catch_phi; in UpdateDefsForCatch()
48 catch_phi = catch_phi->GetNext(); in UpdateDefsForCatch()
131 auto catch_phi = inst->CastToCatchPhi(); in AddCatchPhiInputs() local
132 if (catch_phi->IsAcc()) { in AddCatchPhiInputs()
137 if (input_inst != nullptr && input_inst != catch_phi) { in AddCatchPhiInputs()
138 catch_phi in AddCatchPhiInputs()
[all...]
H A Dinst_builder.h55 auto catch_phi = GetGraph()->CreateInstCatchPhi(); variable
56 catch_phi->SetPc(bb->GetGuestPc());
57 catch_phi->SetMarker(GetNoTypeMarker());
58 bb->AppendInst(catch_phi);
60 catch_phi->SetIsAcc();
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dgraph.cpp480 auto catch_phi = catch_inst->CastToCatchPhi(); in RemoveThrowableInst() local
481 const auto &vregs = catch_phi->GetThrowableInsts(); in RemoveThrowableInst()
485 catch_phi->RemoveInput(index); in RemoveThrowableInst()
502 auto catch_phi = catch_inst->CastToCatchPhi(); in ReplaceThrowableInst() local
503 const auto &vregs = catch_phi->GetThrowableInsts(); in ReplaceThrowableInst()
506 catch_phi->ReplaceThrowableInst(old_inst, new_inst); in ReplaceThrowableInst()
H A Dir_constructor.h775 auto catch_phi = inst->CastToCatchPhi(); in ThrowableInsts() local
778 catch_phi->AppendThrowableInst(inst_map_.at(id)); in ThrowableInsts()
/arkcompiler/runtime_core/compiler/tests/
H A Dcompiler_graph_test.cpp392 auto catch_phi = inst->CastToCatchPhi(); in HWTEST_F()
393 catch_phi->SetIsAcc(); in HWTEST_F()
394 graph->AppendThrowableInst(catch_phi, bb); in HWTEST_F()
395 EXPECT_TRUE(graph->IsInstThrowable(catch_phi)); in HWTEST_F()
396 graph->RemoveThrowableInst(catch_phi); in HWTEST_F()
397 EXPECT_FALSE(graph->IsInstThrowable(catch_phi)); in HWTEST_F()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Dliveness_analyzer.cpp406 auto catch_phi = inst->CastToCatchPhi(); in AdjustCatchPhiInputsLifetime() local
408 for (ssize_t input_idx = catch_phi->GetInputsCount() - 1; input_idx >= 0; input_idx--) { in AdjustCatchPhiInputsLifetime()
409 auto input_inst = catch_phi->GetDataFlowInput(input_idx); in AdjustCatchPhiInputsLifetime()
410 auto throwable_inst = const_cast<Inst *>(catch_phi->GetThrowableInst(input_idx)); in AdjustCatchPhiInputsLifetime()

Completed in 7 milliseconds