15 #ifndef LLVM_LIB_CODEGEN_MIRPRINTER_H
16 #define LLVM_LIB_CODEGEN_MIRPRINTER_H
20 class MachineBasicBlock;
21 class MachineFunction;
24 template <
typename T>
class SmallVectorImpl;
27 void printMIR(raw_ostream &OS,
const Module &M);
31 void printMIR(raw_ostream &OS,
const MachineFunction &MF);
41 SmallVectorImpl<MachineBasicBlock*> &Successors,
void guessSuccessors(const MachineBasicBlock &MBB, SmallVectorImpl< MachineBasicBlock * > &Successors, bool &IsFallthrough)
Determine a possible list of successors of a basic block based on the basic block machine operand bei...
void printMIR(raw_ostream &OS, const Module &M)
Print LLVM IR using the MIR serialization format to the given output stream.