LLVM
20.0.0git
include
llvm
MC
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
#include "
llvm/MC/MCSymbolTableEntry.h
"
18
19
namespace
llvm
{
20
21
class
MCSymbolGOFF
:
public
MCSymbol
{
22
public
:
23
MCSymbolGOFF
(
const
MCSymbolTableEntry
*
Name
,
bool
IsTemporary
)
24
:
MCSymbol
(
SymbolKindGOFF
,
Name
,
IsTemporary
) {}
25
static
bool
classof
(
const
MCSymbol
*S) {
return
S->
isGOFF
(); }
26
};
27
}
// end namespace llvm
28
29
#endif
Name
std::string Name
Definition:
ELFObjHandler.cpp:77
MCSymbolTableEntry.h
MCSymbol.h
llvm::MCSymbolGOFF
Definition:
MCSymbolGOFF.h:21
llvm::MCSymbolGOFF::MCSymbolGOFF
MCSymbolGOFF(const MCSymbolTableEntry *Name, bool IsTemporary)
Definition:
MCSymbolGOFF.h:23
llvm::MCSymbolGOFF::classof
static bool classof(const MCSymbol *S)
Definition:
MCSymbolGOFF.h:25
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition:
MCSymbol.h:41
llvm::MCSymbol::isGOFF
bool isGOFF() const
Definition:
MCSymbol.h:287
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
llvm::StringMapEntry
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
Definition:
StringMapEntry.h:102
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Oct 13 2024 17:27:09 for LLVM by
1.9.6