//===- CodeGen/ValueTypes.h - Low-Level Target independ. types --*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines the set of low-level target independent types which various // values in the code generator are. This allows the target specific behavior // of instructions to be described to target independent passes. // //===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_VALUETYPES_H #define LLVM_CODEGEN_VALUETYPES_H #include "llvm/CodeGenTypes/MachineValueType.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/TypeSize.h" #include <cassert> #include <cstdint> #include <string> namespace llvm { class LLVMContext; class Type; struct fltSemantics; /// Extended Value Type. Capable of holding value types which are not native /// for any processor (such as the i12345 type), as well as the types an MVT /// can represent. struct EVT { … }; inline raw_ostream &operator<<(raw_ostream &OS, const EVT &V) { … } } // end namespace llvm #endif // LLVM_CODEGEN_VALUETYPES_H