mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
need to know _anything_ about RegAlloc to use it. Well in the end maybe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1681 91177308-0d34-0410-b5e6-96231b3b80d8
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
|