summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeon/SIAssignInterpRegs.cpp')
-rw-r--r--src/gallium/drivers/radeon/SIAssignInterpRegs.cpp22
1 files changed, 12 insertions, 10 deletions
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;