Represents a relocatable expression in its most general form: Specifier(SymA - SymB + Imm).
Declared in <llvm/MC/MCValue.h>
class MCValue;
Not all targets support SymB. For PC-relative relocations, a specifier is typically used instead of setting SymB to DOT.
This class must remain a simple POD value class, as it needs to reside in unions and similar structures.
| Name | Description |
|---|---|
MCValue [constructor] | Construct a zero absolute MCValue. |
getAddSym | Return the additive symbol (SymA) of this value. |
getConstant | Return the constant immediate of this value. |
getSpecifier | Return the relocation specifier of this value. |
getSubSym | Return the subtractive symbol (SymB) of this value. |
isAbsolute | Is this an absolute (as opposed to relocatable) value. |
setAddSym | Set the additive symbol (SymA) of this value. |
setConstant | Set the constant immediate of this value. |
setSpecifier | Set the relocation specifier of this value. |
| Name | Description |
|---|---|
get | get overloads |
| Name | Description |
|---|---|
llvm::MCExpr | Base class for the full range of assembler expressions which are needed for parsing. |
llvm::MCAssembler | Assembles machine-code sections, lays them out, and writes object files. |