15#ifndef LLVM_LIB_TARGET_RISCV_RISCVEXPANDPSEUDOBASE_H
16#define LLVM_LIB_TARGET_RISCV_RISCVEXPANDPSEUDOBASE_H
MachineBasicBlock MachineBasicBlock::iterator MBBI
MachineInstrBundleIterator< MachineInstr > iterator
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.
virtual ~RISCVExpandPseudoImplBase()=default
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.
LLVM_ABI void reportFatalInternalError(Error Err)
Report a fatal error that indicates a bug in LLVM.