diff options
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp b/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp index 2e455fea8ab..42374ef1254 100644 --- a/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp +++ b/src/gallium/drivers/radeon/AMDGPULowerInstructions.cpp @@ -23,22 +23,24 @@ using namespace llvm; namespace { - class AMDGPULowerInstructionsPass : public MachineFunctionPass { - private: - static char ID; - TargetMachine &TM; - void lowerVCREATE_v4(MachineInstr &MI, MachineBasicBlock::iterator I, - MachineBasicBlock &MBB, MachineFunction &MF); +class AMDGPULowerInstructionsPass : public MachineFunctionPass { - public: - AMDGPULowerInstructionsPass(TargetMachine &tm) : - MachineFunctionPass(ID), TM(tm) { } +private: + static char ID; + TargetMachine &TM; + void lowerVCREATE_v4(MachineInstr &MI, MachineBasicBlock::iterator I, + MachineBasicBlock &MBB, MachineFunction &MF); - virtual bool runOnMachineFunction(MachineFunction &MF); +public: + AMDGPULowerInstructionsPass(TargetMachine &tm) : + MachineFunctionPass(ID), TM(tm) { } - }; -} /* End anonymous namespace */ + virtual bool runOnMachineFunction(MachineFunction &MF); + +}; + +} // End anonymous namespace char AMDGPULowerInstructionsPass::ID = 0; |