14 #ifndef LLVM_MC_MCSYMBOL_H
15 #define LLVM_MC_MCSYMBOL_H
37 static const MCSection *AbsolutePseudoSection;
54 unsigned IsTemporary : 1;
57 mutable unsigned IsUsed : 1;
64 IsTemporary(isTemporary), IsUsed(
false) {}
67 void operator=(const
MCSymbol&) LLVM_DELETED_FUNCTION;
79 bool isUsed()
const {
return IsUsed; }
106 return Section == AbsolutePseudoSection;
void setAbsolute()
setAbsolute - Mark the symbol as absolute.
const MCSection & getSection() const
const MCExpr * getVariableValue() const
getVariableValue() - Get the value for variable symbols.
bool isUsed() const
isUsed - Check if this is used.
bool isAbsolute() const
isAbsolute - Check if this is an absolute symbol.
void setUndefined()
setUndefined - Mark the symbol as undefined.
void setUsed(bool Value) const
void setVariableValue(const MCExpr *Value)
#define LLVM_DELETED_FUNCTION
bool isTemporary() const
isTemporary - Check if this is an assembler temporary symbol.
StringRef getName() const
getName - Get the symbol name.
const MCSymbol & AliasedSymbol() const
void setSection(const MCSection &S)
setSection - Mark the symbol as defined in the section S.
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
bool isVariable() const
isVariable - Check if this is a variable symbol.
LLVM Value Representation.
void print(raw_ostream &OS) const
print - Print the value to the stream OS.
bool isUndefined() const
isUndefined - Check if this symbol undefined (i.e., implicitly defined).
void dump() const
dump - Print the value to stderr.