[PowerPC] Do not emit record-form rotates when record-form andi/andis suffices
[llvm-core.git] / lib / Target / AVR / AVRTargetObjectFile.h
blobba91036fd64cff072aef0677681697c521a3bbc3
1 //===-- AVRTargetObjectFile.h - AVR 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 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_AVR_TARGET_OBJECT_FILE_H
11 #define LLVM_AVR_TARGET_OBJECT_FILE_H
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
15 namespace llvm {
17 /// Lowering for an AVR ELF32 object file.
18 class AVRTargetObjectFile : public TargetLoweringObjectFileELF {
19 typedef TargetLoweringObjectFileELF Base;
21 public:
22 void Initialize(MCContext &ctx, const TargetMachine &TM) override;
24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
25 const TargetMachine &TM) const override;
27 private:
28 MCSection *ProgmemDataSection;
31 } // end namespace llvm
33 #endif // LLVM_AVR_TARGET_OBJECT_FILE_H