LLVM  8.0.1
SparcMCAsmInfo.h
Go to the documentation of this file.
1 //===- SparcMCAsmInfo.h - Sparc asm properties -----------------*- C++ -*--===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the SparcMCAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
15 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
16 
17 #include "llvm/MC/MCAsmInfoELF.h"
18 
19 namespace llvm {
20 
21 class Triple;
22 
24  void anchor() override;
25 
26 public:
27  explicit SparcELFMCAsmInfo(const Triple &TheTriple);
28 
29  const MCExpr*
30  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
31  MCStreamer &Streamer) const override;
32  const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
33  unsigned Encoding,
34  MCStreamer &Streamer) const override;
35 
36 };
37 
38 } // end namespace llvm
39 
40 #endif // LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:42
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:36
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
Streaming machine code generation interface.
Definition: MCStreamer.h:189
SparcELFMCAsmInfo(const Triple &TheTriple)
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override