summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/RegisterAllocation.h
blob: 60d0df511ac3896a9f6224a2bd52a2359db0ec64 (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 FunctionPass;
class TargetMachine;

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

FunctionPass *getRegisterAllocator(TargetMachine &T);

#endif