summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/RegisterAllocation.h
blob: 572c32561041e9adc17d05b542b1985bb4d1b674 (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