aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/RegisterAllocation.h
blob: a0e5da8a756a5f280c4ac2f0e0379cb283128cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- CodeGen/RegisterAllocation.h - RegAlloc Pass -------------*- C++ -*--=//
//
// This pass register allocates a module, a method at a time.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CODEGEN_REGISTERALLOCATION_H
#define LLVM_CODEGEN_REGISTERALLOCATION_H

class Pass;
class TargetMachine;

//----------------------------------------------------------------------------
// Entry point for register allocation for a module
//----------------------------------------------------------------------------

Pass *getRegisterAllocator(TargetMachine &T);

#endif