42 assert(OldSize >= NewSize &&
43 "Expanding Pseudos should not increase function size estimate");
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
MachineBasicBlock MachineBasicBlock::iterator MBBI
const HexagonInstrInfo * TII
static unsigned getFuncSizeFromInsts(const MachineFunction &MF, const RISCVInstrInfo *TII)
MachineInstrBundleIterator< MachineInstr > iterator
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
const RISCVInstrInfo * TII
The derived TargetInstrInfo for the current function.
virtual bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, MachineBasicBlock::iterator &NextMBBI) const
This method should be implemented to expand the instruction at *MBBI.
bool run(MachineFunction &MF)
Expand a subset of pseudos in the current function.
const RISCVSubtarget * STI
The Subtarget for the current function.
This is an optimization pass for GlobalISel generic memory operations.