LLVM 22.0.0git
LoongArchTargetStreamer.h
Go to the documentation of this file.
1//===-- LoongArchTargetStreamer.h - LoongArch Target Streamer --*- 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#ifndef LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHTARGETSTREAMER_H
10#define LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHTARGETSTREAMER_H
11
12#include "LoongArch.h"
13#include "llvm/MC/MCStreamer.h"
16
17namespace llvm {
20
21public:
24 LoongArchABI::ABI getTargetABI() const { return TargetABI; }
25
26 virtual void emitDirectiveOptionPush();
27 virtual void emitDirectiveOptionPop();
28 virtual void emitDirectiveOptionRelax();
29 virtual void emitDirectiveOptionNoRelax();
30};
31
32// This part is for ascii assembly output.
44
45} // end namespace llvm
46#endif
LoongArchTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS)
LoongArchABI::ABI getTargetABI() const
void setTargetABI(LoongArchABI::ABI ABI)
Streaming machine code generation interface.
Definition MCStreamer.h:220
MCTargetStreamer(MCStreamer &S)
formatted_raw_ostream - A raw_ostream that wraps another one and keeps track of line and column posit...
This is an optimization pass for GlobalISel generic memory operations.