Binary assembler expressions.
Synopsis
Declared in <llvm/MC/MCExpr.h>
class MCBinaryExpr
: 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. |
|
Get the left‐hand side expression of the binary operator. |
|
Return the source location of this expression. |
|
Get the kind of this binary expression. |
|
Get the right‐hand side expression of the binary operator. |
Static Member Functions
Name |
Description |
Return true if |
|
Create a binary expression with operator |
|
Create an arithmetic right shift of |
|
Create an addition of |
|
Create a bitwise AND of |
|
Create a signed division of |
|
Create an equality comparison of |
|
Create a signed greater‐than comparison of |
|
Create a signed greater‐than‐or‐equal comparison of |
|
Create a logical AND of |
|
Create a logical OR of |
|
Create a logical right shift of |
|
Create a signed less‐than comparison of |
|
Create a signed less‐than‐or‐equal comparison of |
|
Create a signed remainder of |
|
Create a multiplication of |
|
Create a not‐equal comparison of |
|
Create a bitwise OR of |
|
Create a left shift of |
|
Create a subtraction of |
|
Create a bitwise XOR 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