Home
last modified time | relevance | path

Searched refs:old_inst (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.cpp519 void BasicBlock::ReplaceInst(Inst *old_inst, Inst *new_inst) in ReplaceInst() argument
521 ASSERT(old_inst && new_inst); in ReplaceInst()
522 ASSERT(old_inst->IsPhi() == new_inst->IsPhi()); in ReplaceInst()
523 ASSERT(old_inst->GetBasicBlock() == this); in ReplaceInst()
526 Inst *prev = old_inst->GetPrev(); in ReplaceInst()
527 Inst *next = old_inst->GetNext(); in ReplaceInst()
529 old_inst->SetBasicBlock(nullptr); in ReplaceInst()
538 if (first_phi_ == old_inst) { in ReplaceInst()
541 if (first_inst_ == old_inst) { in ReplaceInst()
544 if (last_inst_ == old_inst) { in ReplaceInst()
[all …]
Dgraph.cpp491 void Graph::ReplaceThrowableInst(Inst *old_inst, Inst *new_inst) in ReplaceThrowableInst() argument
494 it->second = std::move(throwable_insts_.at(old_inst)); in ReplaceThrowableInst()
503 auto iter = std::find(vregs->begin(), vregs->end(), old_inst); in ReplaceThrowableInst()
505 catch_phi->ReplaceThrowableInst(old_inst, new_inst); in ReplaceThrowableInst()
509 throwable_insts_.erase(old_inst); in ReplaceThrowableInst()
Dinst.cpp418 void CatchPhiInst::ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst) in ReplaceThrowableInst() argument
420 auto index = GetThrowableInstIndex(old_inst); in ReplaceThrowableInst()
Dgraph.h686 void ReplaceThrowableInst(Inst *old_inst, Inst *new_inst);
Dbasicblock.h270 void ReplaceInst(Inst *old_inst, Inst *new_inst);
Dinst.h2795 void ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst);