Represents a binary initializer operator.
Synopsis
Declared in <llvm/TableGen/Record.h>
class BinOpInit final
: public OpInit
, public FoldingSetNode
Base Classes
Name |
Description |
Base class for initializer operators. |
|
Convenience alias for the base node type stored in a folding set. |
Enums
Name |
Description |
Enumerates binary initializer operations. |
Member Functions
Name |
Description |
|
Deleted copy constructor. |
|
Deleted copy‐assignment operator. |
|
Assigning an Init is not supported. |
|
Deleted copy‐assignment operator. |
|
Assigning a TypedInit is not supported. |
Compare |
|
Fold this initializer when possible. |
|
Add this initializer to |
|
|
Return the bits selected by |
|
Return this initializer converted to |
Debugging method that may be called through a debugger; just invokes print on stderr. |
|
|
Return this initializer as TableGen source text. |
|
Convert this value to a literal form, without adding quotes around a string. |
|
Return the bit at index |
|
Return this initializer cast to |
|
This method is used to implement the FieldInit class. Implementors of this method should return the type of the named field if they are of type record. |
Get the kind (type) of the value. |
|
Return the left operand. |
|
Return the binary operation. |
|
Return the right operand. |
|
Get the record keeper that initialized this Init. |
|
Get the type of the Init as a RecTy. |
|
|
Is this a complete value with no unset (uninitialized) subvalues? |
|
Is this a concrete and fully resolved value without any references or stuck operations? Unset values are concrete. |
Print this value. |
|
|
Resolve variable references using |
Static Member Functions
Name |
Description |
Return true if |
|
Return a binary operator initializer. |
|
Return a list‐concatenation initializer. |
|
Return a string‐concatenation initializer. |
Protected Enums
Name |
Description |
Discriminator enum (for isa<>, dyn_cast<>, et al.) |