LLVM
8.0.1
include
llvm
CodeGen
GlobalISel
Types.h
Go to the documentation of this file.
1
//===- llvm/CodeGen/GlobalISel/Types.h - Types used by GISel ----*- 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
/// \file
11
/// This file describes high level types that are used by several passes or
12
/// APIs involved in the GlobalISel pipeline.
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_CODEGEN_GLOBALISEL_TYPES_H
16
#define LLVM_CODEGEN_GLOBALISEL_TYPES_H
17
18
#include "
llvm/ADT/DenseMap.h
"
19
20
namespace
llvm
{
21
22
class
Value;
23
24
/// Map a value to a virtual register.
25
/// For now, we chose to map aggregate types to on single virtual
26
/// register. This might be revisited if it turns out to be inefficient.
27
/// PR26161 tracks that.
28
/// Note: We need to expose this type to the target hooks for thing like
29
/// ABI lowering that would be used during IRTranslation.
30
using
ValueToVReg
=
DenseMap<const Value *, unsigned>
;
31
32
}
// end namespace llvm
33
34
#endif // LLVM_CODEGEN_GLOBALISEL_TYPES_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::DenseMap< const Value *, unsigned >
DenseMap.h
Generated on Sun Dec 20 2020 13:53:10 for LLVM by
1.8.13