mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Move getAnalysisUsage method from header to .cpp file. Add a normal file
header comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8679 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,6 +43,12 @@ FunctionPass *getRegisterAllocator(TargetMachine &T) {
|
||||
return new PhyRegAlloc (T);
|
||||
}
|
||||
|
||||
void PhyRegAlloc::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<LoopInfo> ();
|
||||
AU.addRequired<FunctionLiveVarInfo> ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// This method initially creates interference graphs (one in each reg class)
|
||||
|
Reference in New Issue
Block a user