Searched defs:MIRPrintingPass (Results 1 – 1 of 1) sorted by relevance
36 struct MIRPrintingPass : public MachineFunctionPass { struct37 static char ID;38 raw_ostream &OS;39 std::string MachineFunctions;41 MIRPrintingPass() : MachineFunctionPass(ID), OS(dbgs()) {} in MIRPrintingPass() argument42 MIRPrintingPass(raw_ostream &OS) : MachineFunctionPass(ID), OS(OS) {} in MIRPrintingPass() argument44 StringRef getPassName() const override { return "MIR Printing Pass"; } in getPassName()46 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()51 bool runOnMachineFunction(MachineFunction &MF) override { in runOnMachineFunction()59 bool doFinalization(Module &M) override { in doFinalization()