Home
last modified time | relevance | path

Searched refs:new_inst (Results 1 – 7 of 7) 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()
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 …]
Dgraph.cpp491 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()
Dinst.cpp418 void CatchPhiInst::ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst) in ReplaceThrowableInst() argument
421 throw_insts_->at(index) = new_inst; in ReplaceThrowableInst()
Dbasicblock.h270 void ReplaceInst(Inst *old_inst, Inst *new_inst);
Dgraph.h686 void ReplaceThrowableInst(Inst *old_inst, Inst *new_inst);
Dinst.h2795 void ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst);
/arkcompiler/runtime_core/compiler/docs/
Dlowering_doc.md37 Inst* new_inst = CreateInstAddI(inst->GetType(), inst->GetPc(), val);
38 inst->ReplaceUsers(new_inst)