1 //== llvm/CodeGen/LowLevelType.h ------------------------------- -*- C++ -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 /// Implement a low-level type suitable for MachineInstr level instruction
13 /// This provides the CodeGen aspects of LowLevelType, such as Type conversion.
15 //===----------------------------------------------------------------------===//
17 #ifndef LLVM_CODEGEN_LOWLEVELTYPE_H
18 #define LLVM_CODEGEN_LOWLEVELTYPE_H
20 #include "llvm/Support/LowLevelTypeImpl.h"
27 /// Construct a low-level type based on an LLVM type.
28 LLT getLLTForType(Type &Ty, const DataLayout &DL);
32 #endif // LLVM_CODEGEN_LOWLEVELTYPE_H