mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 13:33:37 +02:00
8bfb48c8d3
need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681
21 lines
650 B
C++
21 lines
650 B
C++
//===-- 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
|
|
|
|
#include "llvm/Pass.h"
|
|
class TargetMachine;
|
|
class MethodPass;
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Entry point for register allocation for a module
|
|
//----------------------------------------------------------------------------
|
|
|
|
MethodPass *getRegisterAllocator(TargetMachine &T);
|
|
|
|
#endif
|