[PowerPC] Do not emit record-form rotates when record-form andi/andis suffices
[llvm-core.git] / lib / Target / AMDGPU / MCTargetDesc / AMDGPUELFStreamer.h
blob41e9063a759e88f9bf4e1d72a57da9fd8b4dddfb
1 //===-------- AMDGPUELFStreamer.h - ELF Object Output -----------*- 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 // This is a custom MCELFStreamer which allows us to insert some hooks before
11 // emitting data into an actual object file.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUELFSTREAMER_H
16 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUELFSTREAMER_H
18 #include "llvm/MC/MCELFStreamer.h"
20 namespace llvm {
21 class MCAsmBackend;
22 class MCCodeEmitter;
23 class MCContext;
24 class MCSubtargetInfo;
26 MCELFStreamer *createAMDGPUELFStreamer(const Triple &T, MCContext &Context,
27 std::unique_ptr<MCAsmBackend> MAB,
28 std::unique_ptr<MCObjectWriter> OW,
29 std::unique_ptr<MCCodeEmitter> Emitter,
30 bool RelaxAll);
31 } // namespace llvm.
33 #endif