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. |
Member Functions
Name |
Description |
|
Copy assignment operator |
@} |
|
Try to evaluate the expression to an absolute value. |
|
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 "associated section" for this expression, which is currently defined as the absolute section for constants, or otherwise the section associated with the first defined symbol in the expression. |
|
@{ |
|
Get the left‐hand side expression of the binary operator. |
|
Get the kind of this binary expression. |
|
Get the right‐hand side expression of the binary operator. |
Static Member Functions
Protected Type Aliases
Name |
Protected Member Functions
Name |
Created with MrDocs