LLVM API Documentation
00001 //===-- PPCTargetStreamer.h - PPC Target Streamer --s-----------*- C++ -*--===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H 00011 #define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H 00012 00013 #include "llvm/MC/MCStreamer.h" 00014 00015 namespace llvm { 00016 class PPCTargetStreamer : public MCTargetStreamer { 00017 public: 00018 PPCTargetStreamer(MCStreamer &S); 00019 virtual ~PPCTargetStreamer(); 00020 virtual void emitTCEntry(const MCSymbol &S) = 0; 00021 virtual void emitMachine(StringRef CPU) = 0; 00022 virtual void emitAbiVersion(int AbiVersion) = 0; 00023 virtual void emitLocalEntry(MCSymbol *S, const MCExpr *LocalOffset) = 0; 00024 }; 00025 } 00026 00027 #endif