LLVM  14.0.0git
MCSymbolGOFF.h
Go to the documentation of this file.
1 //===-- llvm/MC/MCSymbolGOFF.h - GOFF Machine Code Symbols ------*- 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 /// \file
10 /// This file contains the MCSymbolGOFF class
11 ///
12 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_MC_MCSYMBOLGOFF_H
14 #define LLVM_MC_MCSYMBOLGOFF_H
15 
16 #include "llvm/MC/MCSymbol.h"
17 
18 namespace llvm {
19 
20 class MCSymbolGOFF : public MCSymbol {
21 public:
24  static bool classof(const MCSymbol *S) { return S->isGOFF(); }
25 };
26 } // end namespace llvm
27 
28 #endif
llvm::MCSymbolGOFF::MCSymbolGOFF
MCSymbolGOFF(const StringMapEntry< bool > *Name, bool IsTemporary)
Definition: MCSymbolGOFF.h:22
llvm
---------------------— PointerInfo ------------------------------------—
Definition: AllocatorList.h:23
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
llvm::StringMapEntry
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
Definition: StringMapEntry.h:98
llvm::MCSymbolGOFF
Definition: MCSymbolGOFF.h:20
MCSymbol.h
llvm::MCSymbol::SymbolKindGOFF
@ SymbolKindGOFF
Definition: MCSymbol.h:49
llvm::MCSymbol::IsTemporary
unsigned IsTemporary
IsTemporary - True if this is an assembler temporary label, which typically does not survive in the ....
Definition: MCSymbol.h:88
S
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Definition: README.txt:210
llvm::MCSymbolGOFF::classof
static bool classof(const MCSymbol *S)
Definition: MCSymbolGOFF.h:24
llvm::GraphProgram::Name
Name
Definition: GraphWriter.h:52