enum Init::InitKind
Description
Discriminator enum (for isa < >, dyn_cast < >, et al.) This enum is laid out by a preorder traversal of the inheritance hierarchy, and does not contain an entry for abstract classes, as per the recommendation in docs/HowToSetUpLLVMStyleRTTI.rst. We also explicitly include "first" and "last" values for each interior node of the inheritance tree, to make it easier to read the corresponding classof(). We could pack these a bit tighter by not having the IK_FirstXXXInit and IK_LastXXXInit be their own values, but that would degrade readability for really no benefit.
Declared at: llvm/include/llvm/TableGen/Record.h:302
Enumerators
| Name | Value | Comment |
|---|---|---|
| IK_First | 0 | |
| IK_FirstTypedInit | 1 | |
| IK_BitInit | 2 | |
| IK_BitsInit | 3 | |
| IK_CodeInit | 4 | |
| IK_DagInit | 5 | |
| IK_DefInit | 6 | |
| IK_FieldInit | 7 | |
| IK_IntInit | 8 | |
| IK_ListInit | 9 | |
| IK_FirstOpInit | 10 | |
| IK_BinOpInit | 11 | |
| IK_TernOpInit | 12 | |
| IK_UnOpInit | 13 | |
| IK_LastOpInit | 14 | |
| IK_CondOpInit | 15 | |
| IK_FoldOpInit | 16 | |
| IK_IsAOpInit | 17 | |
| IK_StringInit | 18 | |
| IK_VarInit | 19 | |
| IK_VarListElementInit | 20 | |
| IK_VarBitInit | 21 | |
| IK_VarDefInit | 22 | |
| IK_LastTypedInit | 23 | |
| IK_UnsetInit | 24 |