LLVM API Documentation

ValueTypes.h File Reference

#include <cassert>
#include "llvm/Support/DataTypes.h"

Include dependency graph for ValueTypes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
namespace  llvm::MVT

Enumerations

enum  llvm::MVT::ValueType {
  llvm::MVT::Other = 0, llvm::MVT::i1 = 1, llvm::MVT::i8 = 2, llvm::MVT::i16 = 3,
  llvm::MVT::i32 = 4, llvm::MVT::i64 = 5, llvm::MVT::i128 = 6, llvm::MVT::f32 = 7,
  llvm::MVT::f64 = 8, llvm::MVT::f80 = 9, llvm::MVT::f128 = 10, llvm::MVT::Flag = 11,
  llvm::MVT::isVoid = 12, llvm::MVT::Vector = 13, llvm::MVT::v8i8 = 14, llvm::MVT::v4i16 = 15,
  llvm::MVT::v2i32 = 16, llvm::MVT::v16i8 = 17, llvm::MVT::v8i16 = 18, llvm::MVT::v4i32 = 19,
  llvm::MVT::v2i64 = 20, llvm::MVT::v2f32 = 21, llvm::MVT::v4f32 = 22, llvm::MVT::v2f64 = 23,
  llvm::MVT::FIRST_VECTOR_VALUETYPE = v8i8, llvm::MVT::LAST_VECTOR_VALUETYPE = v2f64, llvm::MVT::LAST_VALUETYPE = 24, llvm::MVT::iPTR = 255
}

Functions

static bool llvm::MVT::isInteger (ValueType VT)
static bool llvm::MVT::isFloatingPoint (ValueType VT)
static bool llvm::MVT::isVector (ValueType VT)
static unsigned llvm::MVT::getSizeInBits (ValueType VT)
ValueType llvm::MVT::getVectorType (ValueType VT, unsigned NumElements)
static ValueType llvm::MVT::getVectorBaseType (ValueType VT)
static unsigned llvm::MVT::getVectorNumElements (ValueType VT)
static ValueType llvm::MVT::getIntVectorWithNumElements (unsigned NumElts)
static uint64_t llvm::MVT::getIntVTBitMask (ValueType VT)
static uint64_t llvm::MVT::getIntVTSignBit (ValueType VT)
const char * llvm::MVT::getValueTypeString (ValueType VT)
const Typellvm::MVT::getTypeForValueType (ValueType VT)