LLVM  10.0.0svn
SparcMCAsmInfo.h
Go to the documentation of this file.
1 //===- SparcMCAsmInfo.h - Sparc asm properties -----------------*- 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 // This file contains the declaration of the SparcMCAsmInfo class.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
14 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
15 
16 #include "llvm/MC/MCAsmInfoELF.h"
17 
18 namespace llvm {
19 
20 class Triple;
21 
23  void anchor() override;
24 
25 public:
26  explicit SparcELFMCAsmInfo(const Triple &TheTriple);
27 
28  const MCExpr*
29  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
30  MCStreamer &Streamer) const override;
31  const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
32  unsigned Encoding,
33  MCStreamer &Streamer) const override;
34 
35 };
36 
37 } // end namespace llvm
38 
39 #endif // LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
Streaming machine code generation interface.
Definition: MCStreamer.h:188
SparcELFMCAsmInfo(const Triple &TheTriple)
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:43
const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override