[llvm] r182560 - clang-format this file.
Rafael Espindola
rafael.espindola at gmail.com
Wed May 22 20:28:39 PDT 2013
Author: rafael
Date: Wed May 22 22:28:39 2013
New Revision: 182560
URL: http://llvm.org/viewvc/llvm-project?rev=182560&view=rev
Log:
clang-format this file.
Modified:
llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.h
Modified: llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.h?rev=182560&r1=182559&r2=182560&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.h (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.h Wed May 22 22:28:39 2013
@@ -25,7 +25,7 @@
namespace llvm {
-MCAsmInfo* createMCAsmInfo(const Target &T, StringRef TT);
+MCAsmInfo *createMCAsmInfo(const Target &T, StringRef TT);
class AMDGPUTargetMachine : public LLVMTargetMachine {
@@ -33,36 +33,32 @@ class AMDGPUTargetMachine : public LLVMT
const DataLayout Layout;
AMDGPUFrameLowering FrameLowering;
AMDGPUIntrinsicInfo IntrinsicInfo;
- const AMDGPUInstrInfo * InstrInfo;
- AMDGPUTargetLowering * TLInfo;
- const InstrItineraryData* InstrItins;
+ const AMDGPUInstrInfo *InstrInfo;
+ AMDGPUTargetLowering *TLInfo;
+ const InstrItineraryData *InstrItins;
public:
- AMDGPUTargetMachine(const Target &T, StringRef TT, StringRef FS,
- StringRef CPU,
- TargetOptions Options,
- Reloc::Model RM, CodeModel::Model CM,
- CodeGenOpt::Level OL);
- ~AMDGPUTargetMachine();
- virtual const AMDGPUFrameLowering* getFrameLowering() const {
- return &FrameLowering;
- }
- virtual const AMDGPUIntrinsicInfo* getIntrinsicInfo() const {
- return &IntrinsicInfo;
- }
- virtual const AMDGPUInstrInfo *getInstrInfo() const {return InstrInfo;}
- virtual const AMDGPUSubtarget *getSubtargetImpl() const {return &Subtarget; }
- virtual const AMDGPURegisterInfo *getRegisterInfo() const {
- return &InstrInfo->getRegisterInfo();
- }
- virtual AMDGPUTargetLowering * getTargetLowering() const {
- return TLInfo;
- }
- virtual const InstrItineraryData* getInstrItineraryData() const {
- return InstrItins;
- }
- virtual const DataLayout* getDataLayout() const { return &Layout; }
- virtual TargetPassConfig *createPassConfig(PassManagerBase &PM);
+ AMDGPUTargetMachine(const Target &T, StringRef TT, StringRef FS,
+ StringRef CPU, TargetOptions Options, Reloc::Model RM,
+ CodeModel::Model CM, CodeGenOpt::Level OL);
+ ~AMDGPUTargetMachine();
+ virtual const AMDGPUFrameLowering *getFrameLowering() const {
+ return &FrameLowering;
+ }
+ virtual const AMDGPUIntrinsicInfo *getIntrinsicInfo() const {
+ return &IntrinsicInfo;
+ }
+ virtual const AMDGPUInstrInfo *getInstrInfo() const { return InstrInfo; }
+ virtual const AMDGPUSubtarget *getSubtargetImpl() const { return &Subtarget; }
+ virtual const AMDGPURegisterInfo *getRegisterInfo() const {
+ return &InstrInfo->getRegisterInfo();
+ }
+ virtual AMDGPUTargetLowering *getTargetLowering() const { return TLInfo; }
+ virtual const InstrItineraryData *getInstrItineraryData() const {
+ return InstrItins;
+ }
+ virtual const DataLayout *getDataLayout() const { return &Layout; }
+ virtual TargetPassConfig *createPassConfig(PassManagerBase &PM);
};
} // End namespace llvm
More information about the llvm-commits
mailing list