LLVM
22.0.0git
lib
Target
AMDGPU
MCTargetDesc
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
MCELFStreamer
;
23
class
MCObjectWriter
;
24
class
Triple
;
25
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
}
// namespace llvm.
31
32
#endif
Emitter
dxil DXContainer Global Emitter
Definition
DXContainerGlobals.cpp:305
Context
@ Context
Definition
MemProfContextDisambiguation.cpp:124
T
#define T
Definition
Mips16ISelLowering.cpp:353
llvm::MCAsmBackend
Generic interface to target specific assembler backends.
Definition
MCAsmBackend.h:55
llvm::MCCodeEmitter
MCCodeEmitter - Generic instruction encoding interface.
Definition
MCCodeEmitter.h:23
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:83
llvm::MCELFStreamer
Definition
MCELFStreamer.h:31
llvm::MCObjectWriter
Defines the object file and target independent interfaces used by the assembler backend to write nati...
Definition
MCObjectWriter.h:34
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition
Triple.h:47
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
llvm::createAMDGPUELFStreamer
MCELFStreamer * createAMDGPUELFStreamer(const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
Definition
AMDGPUELFStreamer.cpp:32
Generated on
for LLVM by
1.14.0