mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Move SimpleRegisterCoalescing.h to lib/CodeGen since there is now a common
register coalescer interface: RegisterCoalescing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43714 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc60ab0487
commit
a461c4d75b
@ -13,9 +13,9 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#define DEBUG_TYPE "regcoalescing"
|
#define DEBUG_TYPE "regcoalescing"
|
||||||
#include "llvm/CodeGen/SimpleRegisterCoalescing.h"
|
#include "SimpleRegisterCoalescing.h"
|
||||||
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
|
|
||||||
#include "VirtRegMap.h"
|
#include "VirtRegMap.h"
|
||||||
|
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
|
||||||
#include "llvm/Value.h"
|
#include "llvm/Value.h"
|
||||||
#include "llvm/Analysis/LoopInfo.h"
|
#include "llvm/Analysis/LoopInfo.h"
|
||||||
#include "llvm/CodeGen/LiveVariables.h"
|
#include "llvm/CodeGen/LiveVariables.h"
|
||||||
|
@ -56,6 +56,10 @@ namespace llvm {
|
|||||||
///
|
///
|
||||||
SmallVector<std::pair<unsigned, unsigned>, 32> SubRegIdxes;
|
SmallVector<std::pair<unsigned, unsigned>, 32> SubRegIdxes;
|
||||||
|
|
||||||
|
/// JoinedCopies - Keep track of copies eliminated due to coalescing.
|
||||||
|
///
|
||||||
|
SmallPtrSet<MachineInstr*, 32> JoinedCopies;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static char ID; // Pass identifcation, replacement for typeid
|
static char ID; // Pass identifcation, replacement for typeid
|
||||||
SimpleRegisterCoalescing() : MachineFunctionPass((intptr_t)&ID) {}
|
SimpleRegisterCoalescing() : MachineFunctionPass((intptr_t)&ID) {}
|
Loading…
Reference in New Issue
Block a user