[PowerPC] Do not emit record-form rotates when record-form andi/andis suffices
[llvm-core.git] / lib / Target / AMDGPU / AMDGPUTargetObjectFile.h
blobdd9dc1a88fc2b68148bc083b9da0560452ccc3bb
1 //===-- AMDGPUTargetObjectFile.h - AMDGPU Object Info ----*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// This file declares the AMDGPU-specific subclass of
12 /// TargetLoweringObjectFile.
13 ///
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
17 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
19 #include "AMDGPU.h"
20 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
21 #include "llvm/Target/TargetMachine.h"
23 namespace llvm {
25 class AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF {
26 public:
27 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
28 const TargetMachine &TM) const override;
31 } // end namespace llvm
33 #endif