[#llvm-SDTC] = xref:llvm.adoc[llvm]::SDTC :relfileprefix: ../ :mrdocs: SelectionDAG type‐constraint kinds used by generated SDNode descriptions. == Synopsis Declared in `<llvm/CodeGen/SDNodeInfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum SDTC : uint8_t; ---- == Members [cols="1,4"] |=== | Name| Description | `SDTCisVT` | Constrained value must have exactly the given value type. | `SDTCisPtrTy` | Constrained value must have pointer type. | `SDTCisInt` | Constrained value must have integer type. | `SDTCisFP` | Constrained value must have floating‐point type. | `SDTCisVec` | Constrained value must have vector type. | `SDTCisSameAs` | Constrained value must have the same type as the constraining value. | `SDTCisVTSmallerThanOp` | Constrained VT node must be smaller than the constraining operand. | `SDTCisOpSmallerThanOp` | Constrained operand must be smaller than the constraining operand. | `SDTCisEltOfVec` | Constrained value is a scalar element type of the constraining vector. | `SDTCisSubVecOfVec` | Constrained value is a shorter subvector of the constraining vector. | `SDTCVecEltisVT` | Constrained vector must have the given element type. | `SDTCisSameNumEltsAs` | Constrained value must have the same element count as the constraining value. | `SDTCisSameSizeAs` | Constrained value must have the same size as the constraining value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#