LLVM 22.0.0git
llvm::SDTypeConstraint Struct Reference

#include "llvm/CodeGen/SDNodeInfo.h"

Public Attributes

SDTC Kind
uint8_t ConstrainedValIdx
uint8_t ConstrainingValIdx
uint8_t NumHwModes
 For Kind == SDTCisVT or SDTCVecEltisVT:
uint16_t VT

Detailed Description

Definition at line 56 of file SDNodeInfo.h.

Member Data Documentation

◆ ConstrainedValIdx

uint8_t llvm::SDTypeConstraint::ConstrainedValIdx

Definition at line 58 of file SDNodeInfo.h.

◆ ConstrainingValIdx

uint8_t llvm::SDTypeConstraint::ConstrainingValIdx

Definition at line 59 of file SDNodeInfo.h.

◆ Kind

SDTC llvm::SDTypeConstraint::Kind

Definition at line 57 of file SDNodeInfo.h.

◆ NumHwModes

uint8_t llvm::SDTypeConstraint::NumHwModes

For Kind == SDTCisVT or SDTCVecEltisVT:

  • if not using HwMode, NumHwModes == 0 and VT is MVT::SimpleValueType;
  • otherwise, VT is offset into VTByHwModeTable and NumHwModes specifies the number of entries.

Definition at line 64 of file SDNodeInfo.h.

◆ VT

uint16_t llvm::SDTypeConstraint::VT

Definition at line 65 of file SDNodeInfo.h.


The documentation for this struct was generated from the following file: