Unary assembler expressions.
Synopsis
Declared in <llvm/MC/MCExpr.h>
class MCUnaryExpr
: public MCExpr
Base Classes
Name |
Description |
Base class for the full range of assembler expressions which are needed for parsing. |
Enums
Member Functions
Name |
Description |
|
Deleted copy assignment. |
Dump this expression to stderr. |
|
|
|
Try to evaluate the expression to a relocatable value, i.e. an expression of the fixed form (a ‐ b + constant). |
|
Try to evaluate the expression to the form (a ‐ b + constant) where neither a nor b are variables. |
|
Aggressive variant of evaluateAsRelocatable when relocations are unavailable (e.g. .fill). Expects callers to handle errors when true is returned. |
|
Find the fragment associated with this expression. |
|
Return the kind of this expression. |
|
Return the source location of this expression. |
|
Get the kind of this unary expression. |
|
Get the child of this unary expression. |
Static Member Functions
Name |
Description |
Return true if |
|
Create a unary expression with operator |
|
Create a logical‐not unary expression of |
|
Create a unary minus of |
|
Create a bitwise‐not unary expression of |
|
Create a unary plus of |
|
Add two symbolic relocatable values, folding resolved differences when possible. |
Protected Type Aliases
Name |
Description |
Relocation specifier type stored in subclass data. |
Protected Member Functions
Name |
Description |
Evaluate this expression as a relocatable value. |
|
Return subclass‐specific data stored in this expression. |
Created with MrDocs