[#llvm-FieldInit] = xref:llvm.adoc[llvm]::FieldInit :relfileprefix: ../ :mrdocs: X.Y ‐ Represent a reference to a subfield of a variable == Synopsis Declared in `<llvm/TableGen/Record.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class FieldInit final : public xref:llvm/TypedInit.adoc[TypedInit] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/TypedInit.adoc[TypedInit]` | This is the common superclass of types that have a specific, explicit type, stored in ValueTy. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/FieldInit/2constructor.adoc[`FieldInit`] [.small]#[constructor]# [.small]#[deleted]# | Deleted copy constructor. | xref:llvm/FieldInit/operator_assign-07.adoc[`operator=`] | Assignment operators | xref:llvm/FieldInit/Fold.adoc[`Fold`] | Fold this initializer when possible. | xref:llvm/TypedInit/convertInitializerBitRange.adoc[`convertInitializerBitRange`] [.small]#[virtual]# | Return the bits selected by `Bits.` | xref:llvm/TypedInit/convertInitializerTo.adoc[`convertInitializerTo`] [.small]#[virtual]# | Return this initializer converted to `Ty.` | xref:llvm/Init/dump.adoc[`dump`] | Debugging method that may be called through a debugger; just invokes print on stderr. | xref:llvm/FieldInit/getAsString.adoc[`getAsString`] [.small]#[virtual]# | Return this initializer as TableGen source text. | xref:llvm/Init/getAsUnquotedString.adoc[`getAsUnquotedString`] [.small]#[virtual]# | Convert this value to a literal form, without adding quotes around a string. | xref:llvm/FieldInit/getBit.adoc[`getBit`] [.small]#[virtual]# | Return the bit at index `Bit.` | xref:llvm/TypedInit/getCastTo.adoc[`getCastTo`] [.small]#[virtual]# | Return this initializer cast to `Ty.` | xref:llvm/FieldInit/getFieldName.adoc[`getFieldName`] | Return the field name. | xref:llvm/TypedInit/getFieldType.adoc[`getFieldType`] [.small]#[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. | xref:llvm/Init/getKind.adoc[`getKind`] | Get the kind (type) of the value. | xref:llvm/FieldInit/getRecord.adoc[`getRecord`] | Return the record expression. | xref:llvm/TypedInit/getRecordKeeper.adoc[`getRecordKeeper`] | Get the record keeper that initialized this Init. | xref:llvm/TypedInit/getType.adoc[`getType`] | Get the type of the Init as a RecTy. | xref:llvm/Init/isComplete.adoc[`isComplete`] [.small]#[virtual]# | Is this a complete value with no unset (uninitialized) subvalues? | xref:llvm/FieldInit/isConcrete.adoc[`isConcrete`] [.small]#[virtual]# | Return whether this initializer is concrete. | xref:llvm/Init/print.adoc[`print`] | Print this value. | xref:llvm/FieldInit/resolveReferences.adoc[`resolveReferences`] [.small]#[virtual]# | Resolve variable references using `R.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/FieldInit/classof.adoc[`classof`] | Return true if `I` is a FieldInit. | xref:llvm/FieldInit/get.adoc[`get`] | Return a field‐reference initializer. |=== == Protected Enums [cols="1,4"] |=== | Name| Description | xref:llvm/Init/InitKind.adoc[`InitKind`] | Discriminator enum (for isa<>, dyn_cast<>, et al.) |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/Init/Opc.adoc[`Opc`] | Stores the opcode for unary, binary, and ternary operation initializers. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#