LLVM 19.0.0git
Classes | Namespaces | Macros | Functions
MachineValueType.h File Reference
#include "llvm/ADT/Sequence.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TypeSize.h"
#include <cassert>
#include <cstdint>
#include "llvm/CodeGen/GenVT.inc"

Go to the source code of this file.

Classes

class  llvm::MVT
 Machine Value Type. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc)   Ty = n,
 
#define GET_VT_RANGES
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy, ElSz)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy, ElSz)
 
#define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc)    TypeSize(Sz, Sc || Ty == aarch64svcount /* FIXME: Not in the td. */),
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc)
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy, ElSz)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy, ElSz)
 

Functions

raw_ostream & llvm::operator<< (raw_ostream &OS, const MVT &VT)
 

Macro Definition Documentation

◆ GET_VT_ATTR [1/5]

#define GET_VT_ATTR (   Ty,
  n,
  sz,
  Any,
  Int,
  FP,
  Vec,
  Sc 
)    Ty = n,

Definition at line 41 of file MachineValueType.h.

◆ GET_VT_ATTR [2/5]

#define GET_VT_ATTR (   Ty,
  n,
  sz,
  Any,
  Int,
  FP,
  Vec,
  Sc 
)
Value:
case Ty: \
return Any;

Definition at line 41 of file MachineValueType.h.

◆ GET_VT_ATTR [3/5]

#define GET_VT_ATTR (   Ty,
  N,
  Sz,
  Any,
  Int,
  FP,
  Vec,
  Sc 
)     TypeSize(Sz, Sc || Ty == aarch64svcount /* FIXME: Not in the td. */),

Definition at line 41 of file MachineValueType.h.

◆ GET_VT_ATTR [4/5]

#define GET_VT_ATTR (   Ty,
  n,
  sz,
  Any,
  Int,
  FP,
  Vec,
  Sc 
)
Value:
if (FP == 3 && sz == BitWidth) \
return Ty;

Definition at line 41 of file MachineValueType.h.

◆ GET_VT_ATTR [5/5]

#define GET_VT_ATTR (   Ty,
  n,
  sz,
  Any,
  Int,
  FP,
  Vec,
  Sc 
)
Value:
if (Int == 3 && sz == BitWidth) \
return Ty;

Definition at line 41 of file MachineValueType.h.

◆ GET_VT_RANGES

#define GET_VT_RANGES

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_VECATTR [1/4]

#define GET_VT_VECATTR (   Ty,
  Sc,
  nElem,
  ElTy,
  ElSz 
)
Value:
case Ty: \
return ElTy;

◆ GET_VT_VECATTR [2/4]

#define GET_VT_VECATTR (   Ty,
  Sc,
  nElem,
  ElTy,
  ElSz 
)
Value:
case Ty: \
return nElem;

◆ GET_VT_VECATTR [3/4]

#define GET_VT_VECATTR (   Ty,
  Sc,
  nElem,
  ElTy,
  ElSz 
)
Value:
if (!Sc && VT.SimpleTy == ElTy && NumElements == nElem) \
return Ty;

◆ GET_VT_VECATTR [4/4]

#define GET_VT_VECATTR (   Ty,
  Sc,
  nElem,
  ElTy,
  ElSz 
)
Value:
if (Sc && VT.SimpleTy == ElTy && NumElements == nElem) \
return Ty;