12 #include "llvm/Config/llvm-config.h" 42 "Bad alignment of MCSymbol");
50 assert(!
IsUsed &&
"Cannot set a variable that has already been used.");
51 assert(Value &&
"Invalid variable value!");
54 "Cannot give common/offset symbol a variable value");
85 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
union { const StringMapEntry< bool > *NameEntry NameEntryStorageTy
The name for a symbol.
LLVM_ATTRIBUTE_NORETURN void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
This class represents lattice values for constants.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
bool supportsNameQuoting() const
amdgpu Simplify well known AMD library false Value Value const Twine & Name
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
This class is intended to be used as a base class for asm properties and features specific to the tar...
static MCFragment * AbsolutePseudoFragment
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
void setUndefined()
Mark the symbol as undefined.
unsigned IsUsed
IsUsed - True if this symbol has been used.
unsigned SymbolContents
This is actually a Contents enumerator, but is unsigned to avoid sign extension and achieve better bi...
void setVariableValue(const MCExpr *Value)
void dump() const
dump - Print the value to stderr.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
static MCDummyFragment SentinelFragment(nullptr)
StringRef getName() const
getName - Get the symbol name.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream...
const MCExpr * Value
If non-null, the value for a variable symbol.
StringRef - Represent a constant reference to a string, i.e.
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.