Home
last modified time | relevance | path

Searched refs:newInsns (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/core/
DregAllocator.cpp115 ArenaList<IRNode *> newInsns(Allocator()->Adapter()); in AdjustInsRegWhenHasSpill() local
123 newInsns.push_back(ins); in AdjustInsRegWhenHasSpill()
134 newInsns.push_back(ins); in AdjustInsRegWhenHasSpill()
140 AdjustRangeInsSpill(registers, ins, newInsns); in AdjustInsRegWhenHasSpill()
144 AdjustInsSpill(registers, ins, newInsns, regsKind); in AdjustInsRegWhenHasSpill()
146 pg_->SetInsns(newInsns); in AdjustInsRegWhenHasSpill()
149 …llocator::AdjustInsSpill(const Span<VReg *> &registers, IRNode *ins, ArenaList<IRNode *> &newInsns, in AdjustInsSpill() argument
164 Add<Mov>(newInsns, ins->Node(), spillReg, originReg); in AdjustInsSpill()
173 newInsns.push_back(ins); in AdjustInsSpill()
176 Add<Mov>(newInsns, ins->Node(), spillPair.first, spillPair.second); in AdjustInsSpill()
[all …]
DregAllocator.h124 void AdjustInsSpill(const Span<VReg *> &registers, IRNode *ins, ArenaList<IRNode *> &newInsns,
126 void AdjustRangeInsSpill(Span<VReg *> &registers, IRNode *ins, ArenaList<IRNode *> &newInsns);
Dpandagen.h145 void SetInsns(ArenaList<IRNode *> &newInsns) in SetInsns() argument
147 insns_.assign(newInsns.begin(), newInsns.end()); in SetInsns()
/arkcompiler/ets_frontend/ts2panda/src/
DregAllocator.ts34 private newInsns: IRNode[] = []; property in RegAllocator
108 this.newInsns.push(...head, irNodes[index], ...tail);
163 this.newInsns.push(...head, irNodes[index]);
173 this.newInsns.push(irNodes[i]);
193 this.newInsns.push(irNodes[i]);
272 this.newInsns.unshift(new Mov(locals[i], v));
275 pandaGen.setInsns(this.newInsns);