mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-09 15:57:28 +00:00
2f9b28e59a
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
|