Home
last modified time | relevance | path

Searched defs:MIRPrintingPass (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/CodeGen/
DMIRPrintingPass.cpp28 struct MIRPrintingPass : public MachineFunctionPass { struct
29 static char ID;
30 raw_ostream &OS;
31 std::string MachineFunctions;
33 MIRPrintingPass() : MachineFunctionPass(ID), OS(dbgs()) {} in MIRPrintingPass() function
34 MIRPrintingPass(raw_ostream &OS) : MachineFunctionPass(ID), OS(OS) {} in MIRPrintingPass() argument
36 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()