Represents an initializer containing a string value.
Synopsis
Declared in <llvm/TableGen/Record.h>
class StringInit final
: public TypedInit
Base Classes
Name |
Description |
This is the common superclass of types that have a specific, explicit type, stored in ValueTy. |
Enums
Name |
Description |
Selects the textual representation of a string. |
Member Functions
Name |
Description |
|
Deleted copy constructor. |
Assignment operators |
|
|
Return the bits selected by |
|
Convert this initializer to |
Debugging method that may be called through a debugger; just invokes print on stderr. |
|
|
Return this initializer as quoted TableGen source text. |
|
Return the contained string without quotes. |
|
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. |
Return the textual format. |
|
Get the kind (type) of the value. |
|
Get the record keeper that initialized this Init. |
|
Get the type of the Init as a RecTy. |
|
Return the contained string value. |
|
Return whether this string uses code format. |
|
|
Is this a complete value with no unset (uninitialized) subvalues? |
|
Return whether this initializer is concrete. |
Print this value. |
|
|
Resolve references in this initializer. |
Static Member Functions
Name |
Description |
Return true if |
|
Return the stronger of two string formats. |
|
Return the string initializer for the given value and format. |
Protected Enums
Name |
Description |
Discriminator enum (for isa<>, dyn_cast<>, et al.) |