LLVM  10.0.0svn
MCSymbolXCOFF.h
Go to the documentation of this file.
1 //===- MCSymbolXCOFF.h - ----------------------------------------*- 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 #ifndef LLVM_MC_MCSYMBOLXCOFF_H
9 #define LLVM_MC_MCSYMBOLXCOFF_H
10 
12 #include "llvm/MC/MCSymbol.h"
13 
14 namespace llvm {
15 
16 class MCSymbolXCOFF : public MCSymbol {
17 public:
19  : MCSymbol(SymbolKindXCOFF, Name, isTemporary) {}
20 
21  static bool classof(const MCSymbol *S) { return S->isXCOFF(); }
22 };
23 
24 } // end namespace llvm
25 
26 #endif // LLVM_MC_MCSYMBOLXCOFF_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
Definition: StringMap.h:125
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
static bool classof(const MCSymbol *S)
Definition: MCSymbolXCOFF.h:21
MCSymbolXCOFF(const StringMapEntry< bool > *Name, bool isTemporary)
Definition: MCSymbolXCOFF.h:18
bool isXCOFF() const
Definition: MCSymbol.h:290
bool isTemporary() const
isTemporary - Check if this is an assembler temporary symbol.
Definition: MCSymbol.h:221