LLVM 24.0.0git
llvm::MVT::VecVTTable Struct Reference

Lookup table for getVectorVT. More...

#include "llvm/CodeGenTypes/MachineValueType.h"

Public Attributes

uint8_t Slots [MaxNumElements+1] = {}
SimpleValueType Tys [2][FIRST_VECTOR_VALUETYPE][NumSlots] = {}

Static Public Attributes

static constexpr unsigned MaxNumElements = 4096
static constexpr unsigned NumSlots = 32

Detailed Description

Lookup table for getVectorVT.

All simple vector types must fit into the table; if a target has vector VTs that do not fit, building MachineValueType.cpp, which defines the table, will fail.

Definition at line 538 of file MachineValueType.h.

Member Data Documentation

◆ MaxNumElements

unsigned llvm::MVT::VecVTTable::MaxNumElements = 4096
staticconstexpr

Definition at line 539 of file MachineValueType.h.

Referenced by llvm::MVT::getVectorVT().

◆ NumSlots

unsigned llvm::MVT::VecVTTable::NumSlots = 32
staticconstexpr

Definition at line 540 of file MachineValueType.h.

◆ Slots

uint8_t llvm::MVT::VecVTTable::Slots[MaxNumElements+1] = {}

Definition at line 544 of file MachineValueType.h.

◆ Tys

SimpleValueType llvm::MVT::VecVTTable::Tys[2][FIRST_VECTOR_VALUETYPE][NumSlots] = {}

Definition at line 548 of file MachineValueType.h.


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