Searched refs:old_inst (Results 1 – 6 of 6) sorted by relevance
519 void BasicBlock::ReplaceInst(Inst *old_inst, Inst *new_inst) in ReplaceInst() argument521 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 …]
491 void Graph::ReplaceThrowableInst(Inst *old_inst, Inst *new_inst) in ReplaceThrowableInst() argument494 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()
418 void CatchPhiInst::ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst) in ReplaceThrowableInst() argument420 auto index = GetThrowableInstIndex(old_inst); in ReplaceThrowableInst()
686 void ReplaceThrowableInst(Inst *old_inst, Inst *new_inst);
270 void ReplaceInst(Inst *old_inst, Inst *new_inst);
2795 void ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst);