LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
include
llvm
CodeGen
GlobalISel
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
#include "
llvm/IR/Value.h
"
20
21
namespace
llvm {
22
23
/// Map a value to a virtual register.
24
/// For now, we chose to map aggregate types to on single virtual
25
/// register. This might be revisited if it turns out to be inefficient.
26
/// PR26161 tracks that.
27
/// Note: We need to expose this type to the target hooks for thing like
28
/// ABI lowering that would be used during IRTranslation.
29
typedef
DenseMap<const Value *, unsigned>
ValueToVReg
;
30
31
}
// End namespace llvm.
32
#endif
llvm::DenseMap< const Value *, unsigned >
DenseMap.h
llvm::ValueToVReg
DenseMap< const Value *, unsigned > ValueToVReg
Map a value to a virtual register.
Definition:
CodeGen/GlobalISel/Types.h:29
Value.h
Generated on Wed Mar 8 2017 17:30:07 for LLVM by
1.8.6