diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-23 03:28:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-23 03:28:39 +0000 |
commit | 23e24bd284b585d906bec112aba1a5b5363cc4be (patch) | |
tree | 65fbc7995e0d7c3580071c365441b42c21b44d07 | |
parent | 1529f0c7188ad21c598ffb748caf0dfa54b6a469 (diff) | |
download | external_llvm-23e24bd284b585d906bec112aba1a5b5363cc4be.zip external_llvm-23e24bd284b585d906bec112aba1a5b5363cc4be.tar.gz external_llvm-23e24bd284b585d906bec112aba1a5b5363cc4be.tar.bz2 |
clang-format this file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182560 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/R600/AMDGPUTargetMachine.h | 54 |
1 files changed, 25 insertions, 29 deletions
diff --git a/lib/Target/R600/AMDGPUTargetMachine.h b/lib/Target/R600/AMDGPUTargetMachine.h index 2afe787..0db6639 100644 --- a/lib/Target/R600/AMDGPUTargetMachine.h +++ b/lib/Target/R600/AMDGPUTargetMachine.h @@ -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 LLVMTargetMachine { 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 |