LLVM 20.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, NElem, EltTy)   Ty = n,
 
#define GET_VT_RANGES
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc, NElem, EltTy)
 
#define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, NElem, EltTy)   EltTy,
 
#define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, NElem, EltTy)   NElem,
 
#define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, NElem, EltTy)    TypeSize(Sz, Sc || Ty == aarch64svcount /* FIXME: Not in the td. */),
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc, NElem, EltTy)
 
#define GET_VT_ATTR(Ty, n, sz, Any, Int, FP, Vec, Sc, NElem, EltTy)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy)
 
#define GET_VT_VECATTR(Ty, Sc, nElem, ElTy)
 

Functions

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

Macro Definition Documentation

◆ GET_VT_ATTR [1/7]

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

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [2/7]

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

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [3/7]

#define GET_VT_ATTR (   Ty,
  N,
  Sz,
  Any,
  Int,
  FP,
  Vec,
  Sc,
  NElem,
  EltTy 
)    EltTy,

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [4/7]

#define GET_VT_ATTR (   Ty,
  N,
  Sz,
  Any,
  Int,
  FP,
  Vec,
  Sc,
  NElem,
  EltTy 
)    NElem,

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [5/7]

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

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [6/7]

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

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_ATTR [7/7]

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

Definition at line 42 of file MachineValueType.h.

◆ GET_VT_RANGES

#define GET_VT_RANGES

Definition at line 43 of file MachineValueType.h.

◆ GET_VT_VECATTR [1/2]

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

◆ GET_VT_VECATTR [2/2]

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