LLVM
10.0.0svn
include
llvm
CodeGen
LowLevelType.h
Go to the documentation of this file.
1
//== llvm/CodeGen/LowLevelType.h ------------------------------- -*- C++ -*-==//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
/// Implement a low-level type suitable for MachineInstr level instruction
10
/// selection.
11
///
12
/// This provides the CodeGen aspects of LowLevelType, such as Type conversion.
13
//
14
//===----------------------------------------------------------------------===//
15
16
#ifndef LLVM_CODEGEN_LOWLEVELTYPE_H
17
#define LLVM_CODEGEN_LOWLEVELTYPE_H
18
19
#include "
llvm/Support/LowLevelTypeImpl.h
"
20
21
namespace
llvm
{
22
23
class
DataLayout;
24
class
Type
;
25
26
/// Construct a low-level type based on an LLVM type.
27
LLT
getLLTForType
(
Type
&Ty,
const
DataLayout &DL);
28
29
}
30
31
#endif // LLVM_CODEGEN_LOWLEVELTYPE_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
llvm::getLLTForType
LLT getLLTForType(Type &Ty, const DataLayout &DL)
Construct a low-level type based on an LLVM type.
Definition:
LowLevelType.cpp:20
TemplateParamKind::Type
LowLevelTypeImpl.h
Generated on Mon Nov 4 2019 00:33:01 for LLVM by
1.8.13