LLVM
20.0.0git
lib
Target
LoongArch
MCTargetDesc
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
"
14
#include "
llvm/MC/MCSubtargetInfo.h
"
15
16
namespace
llvm
{
17
class
LoongArchTargetStreamer
:
public
MCTargetStreamer
{
18
LoongArchABI::ABI
TargetABI =
LoongArchABI::ABI_Unknown
;
19
20
public
:
21
LoongArchTargetStreamer
(
MCStreamer
&S);
22
void
setTargetABI
(
LoongArchABI::ABI
ABI);
23
LoongArchABI::ABI
getTargetABI
()
const
{
return
TargetABI; }
24
};
25
26
}
// end namespace llvm
27
#endif
LoongArch.h
MCStreamer.h
MCSubtargetInfo.h
llvm::LoongArchTargetStreamer
Definition:
LoongArchTargetStreamer.h:17
llvm::LoongArchTargetStreamer::getTargetABI
LoongArchABI::ABI getTargetABI() const
Definition:
LoongArchTargetStreamer.h:23
llvm::LoongArchTargetStreamer::setTargetABI
void setTargetABI(LoongArchABI::ABI ABI)
Definition:
LoongArchTargetStreamer.cpp:20
llvm::MCStreamer
Streaming machine code generation interface.
Definition:
MCStreamer.h:213
llvm::MCTargetStreamer
Target specific streamer interface.
Definition:
MCStreamer.h:94
llvm::LoongArchABI::ABI
ABI
Definition:
LoongArchBaseInfo.h:62
llvm::LoongArchABI::ABI_Unknown
@ ABI_Unknown
Definition:
LoongArchBaseInfo.h:69
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Thu Nov 21 2024 04:09:13 for LLVM by
1.9.6