LLVM
17.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
18
namespace
llvm
{
19
20
class
MCSymbolGOFF
:
public
MCSymbol
{
21
public
:
22
MCSymbolGOFF
(
const
StringMapEntry<bool>
*
Name
,
bool
IsTemporary
)
23
:
MCSymbol
(
SymbolKindGOFF
,
Name
,
IsTemporary
) {}
24
static
bool
classof
(
const
MCSymbol
*S) {
return
S->
isGOFF
(); }
25
};
26
}
// end namespace llvm
27
28
#endif
Name
std::string Name
Definition:
ELFObjHandler.cpp:77
MCSymbol.h
llvm::MCSymbolGOFF
Definition:
MCSymbolGOFF.h:20
llvm::MCSymbolGOFF::MCSymbolGOFF
MCSymbolGOFF(const StringMapEntry< bool > *Name, bool IsTemporary)
Definition:
MCSymbolGOFF.h:22
llvm::MCSymbolGOFF::classof
static bool classof(const MCSymbol *S)
Definition:
MCSymbolGOFF.h:24
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:285
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 Thu Jun 1 2023 15:46:32 for LLVM by
1.9.6