LLVM 20.0.0git
PPCTargetStreamer.h
Go to the documentation of this file.
1//===- PPCTargetStreamer.h - PPC 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_POWERPC_PPCTARGETSTREAMER_H
10#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
11
12#include "llvm/ADT/StringRef.h"
13#include "llvm/MC/MCExpr.h"
14#include "llvm/MC/MCStreamer.h"
15
16namespace llvm {
17
18class MCExpr;
19class MCSymbol;
20class MCSymbolELF;
21
23public:
26
27 virtual void emitTCEntry(const MCSymbol &S,
29 virtual void emitMachine(StringRef CPU){};
30 virtual void emitAbiVersion(int AbiVersion){};
31 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset){};
32};
33
34} // end namespace llvm
35
36#endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:34
Streaming machine code generation interface.
Definition: MCStreamer.h:213
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
Target specific streamer interface.
Definition: MCStreamer.h:94
~PPCTargetStreamer() override
virtual void emitAbiVersion(int AbiVersion)
virtual void emitTCEntry(const MCSymbol &S, MCSymbolRefExpr::VariantKind Kind)
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset)
virtual void emitMachine(StringRef CPU)
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18