LLVM  8.0.1
LowLevelType.h
Go to the documentation of this file.
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 
21 
22 namespace llvm {
23 
24 class DataLayout;
25 class Type;
26 
27 /// Construct a low-level type based on an LLVM type.
28 LLT getLLTForType(Type &Ty, const DataLayout &DL);
29 
30 }
31 
32 #endif // LLVM_CODEGEN_LOWLEVELTYPE_H
Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
Definition: MsgPackReader.h:49
This class represents lattice values for constants.
Definition: AllocatorList.h:24
LLT getLLTForType(Type &Ty, const DataLayout &DL)
Construct a low-level type based on an LLVM type.