Searched defs:MIRPrintingPass (Results 1 – 1 of 1) sorted by relevance
28 struct MIRPrintingPass : public MachineFunctionPass { struct29 static char ID;30 raw_ostream &OS;31 std::string MachineFunctions;33 MIRPrintingPass() : MachineFunctionPass(ID), OS(dbgs()) {} in MIRPrintingPass() function34 MIRPrintingPass(raw_ostream &OS) : MachineFunctionPass(ID), OS(OS) {} in MIRPrintingPass() argument36 const char *getPassName() const override { return "MIR Printing Pass"; } in getPassName()38 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()43 bool runOnMachineFunction(MachineFunction &MF) override { in runOnMachineFunction()51 bool doFinalization(Module &M) override { in doFinalization()