11#include "llvm/Config/llvm-config.h"
40 "Bad alignment of MCSymbol");
48 assert(!
IsUsed &&
"Cannot set a variable that has already been used.");
52 "Cannot give common/offset symbol a variable value");
83#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
static MCDummyFragment SentinelFragment
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class is intended to be used as a base class for asm properties and features specific to the tar...
bool supportsNameQuoting() const
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
unsigned IsUsed
IsUsed - True if this symbol has been used.
StringRef getName() const
getName - Get the symbol name.
union { const MCSymbolTableEntry *NameEntry NameEntryStorageTy
The name for a symbol.
void setVariableValue(const MCExpr *Value)
unsigned SymbolContents
This is actually a Contents enumerator, but is unsigned to avoid sign extension and achieve better bi...
void setUndefined()
Mark the symbol as undefined.
static MCFragment * AbsolutePseudoFragment
void dump() const
dump - Print the value to stderr.
const MCExpr * Value
If non-null, the value for a variable symbol.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.