1//== llvm/CodeGen/LowLevelType.h ------------------------------- -*- C++ -*-==// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10/// Implement a low-level type suitable for MachineInstr level instruction 11/// selection. 12/// 13/// This provides the CodeGen aspects of LowLevelType, such as Type conversion. 14// 15//===----------------------------------------------------------------------===// 16 17#ifndef LLVM_CODEGEN_LOWLEVELTYPE_H 18#define LLVM_CODEGEN_LOWLEVELTYPE_H 19 20#include "llvm/Support/LowLevelTypeImpl.h" 21 22namespace llvm { 23 24class DataLayout; 25class Type; 26 27/// Construct a low-level type based on an LLVM type. 28LLT getLLTForType(Type &Ty, const DataLayout &DL); 29 30} 31 32#endif // LLVM_CODEGEN_LOWLEVELTYPE_H 33