LLVM 23.0.0git
MCAsmStreamer.h
Go to the documentation of this file.
1//===- MCAsmStreamer.h - Base Class for Asm Streamers -----------*- 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 declares the MCAsmBaseStreamer class, a base class for streamers
10// which emits assembly text.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_MC_MCASMSTREAMER_H
15#define LLVM_MC_MCASMSTREAMER_H
16
17#include "llvm/MC/MCStreamer.h"
18
19namespace llvm {
20
21class MCContext;
22
24protected:
25 MCAsmBaseStreamer(MCContext &Context) : MCStreamer(Context) {}
26};
27
28} // end namespace llvm
29
30#endif // LLVM_MC_MCASMSTREAMER_H
MCAsmBaseStreamer(MCContext &Context)
Context object for machine code objects.
Definition MCContext.h:83
MCStreamer(MCContext &Ctx)
This is an optimization pass for GlobalISel generic memory operations.