Home
last modified time | relevance | path

Searched refs:new_inst (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dbasicblock.cpp518 void BasicBlock::ReplaceInst(Inst *old_inst, Inst *new_inst) in ReplaceInst() argument
520 ASSERT(old_inst && new_inst); in ReplaceInst()
521 ASSERT(old_inst->IsPhi() == new_inst->IsPhi()); in ReplaceInst()
523 ASSERT(new_inst->GetBasicBlock() == nullptr); in ReplaceInst()
524 new_inst->SetBasicBlock(this); in ReplaceInst()
530 prev->SetNext(new_inst); in ReplaceInst()
533 next->SetPrev(new_inst); in ReplaceInst()
535 new_inst->SetPrev(prev); in ReplaceInst()
536 new_inst->SetNext(next); in ReplaceInst()
538 first_phi_ = new_inst; in ReplaceInst()
[all...]
H A Dgraph.cpp492 void Graph::ReplaceThrowableInst(Inst *old_inst, Inst *new_inst) in ReplaceThrowableInst() argument
494 auto it = throwable_insts_.emplace(new_inst, GetAllocator()->Adapter()).first; in ReplaceThrowableInst()
506 catch_phi->ReplaceThrowableInst(old_inst, new_inst); in ReplaceThrowableInst()
H A Dinst.cpp423 void CatchPhiInst::ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst) in ReplaceThrowableInst() argument
426 throw_insts_->at(index) = new_inst; in ReplaceThrowableInst()
H A Dgraph.h688 void ReplaceThrowableInst(Inst *old_inst, Inst *new_inst);
H A Dbasicblock.h269 // Replace old_inst in BasicBlock to new_inst
270 void ReplaceInst(Inst *old_inst, Inst *new_inst);
H A Dinst.h2800 void ReplaceThrowableInst(const Inst *old_inst, const Inst *new_inst);
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph.h1087 auto new_inst = CreateInst##OPCODE(inst->GetType(), inst->GetPc(), std::forward<Args>(args)...); \
1088 new_inst->SetCurrentMethod(inst->GetCurrentMethod()); \
1089 return new_inst; \
1099 auto new_inst = CreateInst##OPCODE(inst->GetType(), inst->GetPc(), std::forward<Args>(args)...); \
1100 return new_inst; \

Completed in 13 milliseconds