llvm::StringInit

Represents an initializer containing a string value.

Synopsis

Declared in <llvm/TableGen/Record.h>

class StringInit final
    : public TypedInit

Base Classes

NameDescription
TypedInitThis is the common superclass of types that have a specific, explicit type, stored in ValueTy.

Enums

NameDescription
StringFormat Selects the textual representation of a string.

Member Functions

NameDescription
StringInit [constructor] [deleted]Deleted copy constructor.
operator= Assignment operators
convertInitializerBitRange [virtual]Return the bits selected by Bits.
convertInitializerTo [virtual]Convert this initializer to Ty.
dump Debugging method that may be called through a debugger; just invokes print on stderr.
getAsString [virtual]Return this initializer as quoted TableGen source text.
getAsUnquotedString [virtual]Return the contained string without quotes.
getBit [virtual]Return the bit at index Bit.
getCastTo [virtual]Return this initializer cast to Ty.
getFieldType [virtual]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.
getFormat Return the textual format.
getKind Get the kind (type) of the value.
getRecordKeeper Get the record keeper that initialized this Init.
getType Get the type of the Init as a RecTy.
getValue Return the contained string value.
hasCodeFormat Return whether this string uses code format.
isComplete [virtual]Is this a complete value with no unset (uninitialized) subvalues?
isConcrete [virtual]Return whether this initializer is concrete.
print Print this value.
resolveReferences [virtual]Resolve references in this initializer.

Static Member Functions

NameDescription
classof Return true if I is a StringInit.
determineFormat Return the stronger of two string formats.
get Return the string initializer for the given value and format.

Protected Enums

NameDescription
InitKind Discriminator enum (for isa<>, dyn_cast<>, et al.)

Protected Data Members

NameDescription
Opc Stores the opcode for unary, binary, and ternary operation initializers.