Path: blob/main/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/PPCTargetStreamer.h
213845 views
//===- PPCTargetStreamer.h - PPC Target Streamer ----------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H9#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H1011#include "PPCMCAsmInfo.h"12#include "llvm/ADT/StringRef.h"13#include "llvm/MC/MCExpr.h"14#include "llvm/MC/MCStreamer.h"1516namespace llvm {1718class MCExpr;19class MCSymbol;20class MCSymbolELF;2122class PPCTargetStreamer : public MCTargetStreamer {23public:24PPCTargetStreamer(MCStreamer &S);25~PPCTargetStreamer() override;2627virtual void emitTCEntry(const MCSymbol &S, PPCMCExpr::Specifier Kind) {}28virtual void emitMachine(StringRef CPU){};29virtual void emitAbiVersion(int AbiVersion){};30virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset){};31};3233} // end namespace llvm3435#endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H363738