llvm::FieldInit

X.Y - Represent a reference to a subfield of a variable

Synopsis

Declared in <llvm/TableGen/Record.h>

class FieldInit final
    : public TypedInit

Base Classes

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

Member Functions

NameDescription
FieldInit [constructor] [deleted]Deleted copy constructor.
operator= Assignment operators
Fold Fold this initializer when possible.
convertInitializerBitRange [virtual]Return the bits selected by Bits.
convertInitializerTo [virtual]Return this initializer converted to Ty.
dump Debugging method that may be called through a debugger; just invokes print on stderr.
getAsString [virtual]Return this initializer as TableGen source text.
getAsUnquotedString [virtual]Convert this value to a literal form, without adding quotes around a string.
getBit [virtual]Return the bit at index Bit.
getCastTo [virtual]Return this initializer cast to Ty.
getFieldName Return the field name.
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.
getKind Get the kind (type) of the value.
getRecord Return the record expression.
getRecordKeeper Get the record keeper that initialized this Init.
getType Get the type of the Init as a RecTy.
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 variable references using R.

Static Member Functions

NameDescription
classof Return true if I is a FieldInit.
get Return a field-reference initializer.

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.