LLVM 19.0.0git
MCDXContainerStreamer.cpp
Go to the documentation of this file.
1//===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- 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 file contains the object streamer for DXContainer files.
10//
11//===----------------------------------------------------------------------===//
12
14#include "llvm/MC/MCAssembler.h"
16
17using namespace llvm;
18
19void MCDXContainerStreamer::emitInstToData(const MCInst &,
20 const MCSubtargetInfo &) {}
21
23 MCContext &Context, std::unique_ptr<MCAsmBackend> &&MAB,
24 std::unique_ptr<MCObjectWriter> &&OW, std::unique_ptr<MCCodeEmitter> &&CE) {
25 auto *S = new MCDXContainerStreamer(Context, std::move(MAB), std::move(OW),
26 std::move(CE));
27 return S;
28}
Context object for machine code objects.
Definition: MCContext.h:81
Instances of this class represent a single low-level machine instruction.
Definition: MCInst.h:184
Streaming machine code generation interface.
Definition: MCStreamer.h:212
Generic base class for all target subtargets.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
MCStreamer * createDXContainerStreamer(MCContext &Ctx, std::unique_ptr< MCAsmBackend > &&TAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE)