33 for (
auto *DBI : DbgValues)
34 DBI->getOperand(0).setReg(Reg);
44 MBB->
insert(Insert, Clone);
void collectDebugValues(SmallVectorImpl< MachineInstr *> &DbgValues)
Scan instructions following MI and collect any matching DBG_VALUEs.
This class represents lattice values for constants.
void updateReg(unsigned Reg)
WebAssemblyDebugValueManager(MachineInstr *Instr)
auto reverse(ContainerTy &&C, typename std::enable_if< has_rbegin< ContainerTy >::value >::type *=nullptr) -> decltype(make_range(C.rbegin(), C.rend()))
instr_iterator insert(instr_iterator I, MachineInstr *M)
Insert MI into the instruction list before I, possibly inside a bundle.
MachineInstr * CloneMachineInstr(const MachineInstr *Orig)
Create a new MachineInstr which is a copy of Orig, identical in all ways except the instruction has n...
const MachineBasicBlock * getParent() const
Representation of each machine instruction.
const MachineFunction * getParent() const
Return the MachineFunction containing this basic block.
void splice(iterator Where, MachineBasicBlock *Other, iterator From)
Take an instruction from MBB 'Other' at the position From, and insert it into this MBB right before '...
void setReg(unsigned Reg)
Change the register this operand corresponds to.
This file declares WebAssembly-specific per-machine-function information.
void move(MachineInstr *Insert)
This file contains the declaration of the WebAssembly-specific manager for DebugValues associated wit...
const MachineOperand & getOperand(unsigned i) const
void clone(MachineInstr *Insert, unsigned NewReg)