Searched refs:new_inst (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | basicblock.cpp | 519 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() 524 ASSERT(new_inst->GetBasicBlock() == nullptr); in ReplaceInst() 525 new_inst->SetBasicBlock(this); in ReplaceInst() 531 prev->SetNext(new_inst); in ReplaceInst() 534 next->SetPrev(new_inst); in ReplaceInst() 536 new_inst->SetPrev(prev); in ReplaceInst() 537 new_inst->SetNext(next); in ReplaceInst() 539 first_phi_ = new_inst; in ReplaceInst() [all …]
|
D | graph.cpp | 491 void Graph::ReplaceThrowableInst(Inst *old_inst, Inst *new_inst) in ReplaceThrowableInst() argument 493 auto it = throwable_insts_.emplace(new_inst, GetAllocator()->Adapter()).first; in ReplaceThrowableInst() 505 catch_phi->ReplaceThrowableInst(old_inst, new_inst); in ReplaceThrowableInst()
|
D | inst.cpp | 418 void CatchPhiInst::ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst) in ReplaceThrowableInst() argument 421 throw_insts_->at(index) = new_inst; in ReplaceThrowableInst()
|
D | basicblock.h | 270 void ReplaceInst(Inst *old_inst, Inst *new_inst);
|
D | graph.h | 686 void ReplaceThrowableInst(Inst *old_inst, Inst *new_inst);
|
D | inst.h | 2795 void ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst);
|
/arkcompiler/runtime_core/compiler/docs/ |
D | lowering_doc.md | 37 Inst* new_inst = CreateInstAddI(inst->GetType(), inst->GetPc(), val); 38 inst->ReplaceUsers(new_inst)
|