LLVM  13.0.0git
AMDGPUELFStreamer.h
Go to the documentation of this file.
1 //===-------- AMDGPUELFStreamer.h - ELF Object Output -----------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This is a custom MCELFStreamer which allows us to insert some hooks before
10 // emitting data into an actual object file.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUELFSTREAMER_H
15 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUELFSTREAMER_H
16 
17 #include <memory>
18 namespace llvm {
19 class MCAsmBackend;
20 class MCCodeEmitter;
21 class MCContext;
22 class MCSubtargetInfo;
23 class MCELFStreamer;
24 class Triple;
25 class MCObjectWriter;
26 
27 MCELFStreamer *createAMDGPUELFStreamer(const Triple &T, MCContext &Context,
28  std::unique_ptr<MCAsmBackend> MAB,
29  std::unique_ptr<MCObjectWriter> OW,
30  std::unique_ptr<MCCodeEmitter> Emitter,
31  bool RelaxAll);
32 } // namespace llvm.
33 
34 #endif
llvm
Definition: AllocatorList.h:23
llvm::createAMDGPUELFStreamer
MCELFStreamer * createAMDGPUELFStreamer(const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter, bool RelaxAll)
Definition: AMDGPUELFStreamer.cpp:31
T
#define T
Definition: Mips16ISelLowering.cpp:341
Context
LLVMContext & Context
Definition: NVVMIntrRange.cpp:66