From bcfc97dbf40c256ed59c2424e0c55b845f0f2569 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 11 May 2012 13:44:24 -0400 Subject: radeon/llvm: More comments and cleanups --- src/gallium/drivers/radeon/SIAssignInterpRegs.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'src/gallium/drivers/radeon/SIAssignInterpRegs.cpp') diff --git a/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp b/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp index 1ef097f7b1e..a2d14b5fb2f 100644 --- a/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp +++ b/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp @@ -28,20 +28,22 @@ using namespace llvm; namespace { - class SIAssignInterpRegsPass : public MachineFunctionPass { - private: - static char ID; - TargetMachine &TM; +class SIAssignInterpRegsPass : public MachineFunctionPass { - public: - SIAssignInterpRegsPass(TargetMachine &tm) : - MachineFunctionPass(ID), TM(tm) { } +private: + static char ID; + TargetMachine &TM; - virtual bool runOnMachineFunction(MachineFunction &MF); +public: + SIAssignInterpRegsPass(TargetMachine &tm) : + MachineFunctionPass(ID), TM(tm) { } + + virtual bool runOnMachineFunction(MachineFunction &MF); + + const char *getPassName() const { return "SI Assign intrpolation registers"; } +}; - const char *getPassName() const { return "SI Assign intrpolation registers"; } - }; } // End anonymous namespace char SIAssignInterpRegsPass::ID = 0; -- cgit v1.2.3