mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
ooops, forgot to include the pointless-write eliminator in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
508d338fee
commit
f3841fcbd5
@ -44,6 +44,7 @@ template<> struct ilist_traits<Instruction>
|
|||||||
|
|
||||||
Instruction *provideInitialHead() const { return createSentinel(); }
|
Instruction *provideInitialHead() const { return createSentinel(); }
|
||||||
Instruction *ensureHead(Instruction*) const { return createSentinel(); }
|
Instruction *ensureHead(Instruction*) const { return createSentinel(); }
|
||||||
|
static void noteHead(Instruction*, Instruction*) {}
|
||||||
|
|
||||||
static iplist<Instruction> &getList(BasicBlock *BB);
|
static iplist<Instruction> &getList(BasicBlock *BB);
|
||||||
static ValueSymbolTable *getSymTab(BasicBlock *ItemParent);
|
static ValueSymbolTable *getSymTab(BasicBlock *ItemParent);
|
||||||
|
@ -40,6 +40,7 @@ public:
|
|||||||
|
|
||||||
MachineInstr *provideInitialHead() const { return createSentinel(); }
|
MachineInstr *provideInitialHead() const { return createSentinel(); }
|
||||||
MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); }
|
MachineInstr *ensureHead(MachineInstr*) const { return createSentinel(); }
|
||||||
|
static void noteHead(MachineInstr*, MachineInstr*) {}
|
||||||
|
|
||||||
void addNodeToList(MachineInstr* N);
|
void addNodeToList(MachineInstr* N);
|
||||||
void removeNodeFromList(MachineInstr* N);
|
void removeNodeFromList(MachineInstr* N);
|
||||||
|
@ -48,6 +48,7 @@ public:
|
|||||||
MachineBasicBlock *ensureHead(MachineBasicBlock*) const {
|
MachineBasicBlock *ensureHead(MachineBasicBlock*) const {
|
||||||
return createSentinel();
|
return createSentinel();
|
||||||
}
|
}
|
||||||
|
static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {}
|
||||||
|
|
||||||
void addNodeToList(MachineBasicBlock* MBB);
|
void addNodeToList(MachineBasicBlock* MBB);
|
||||||
void removeNodeFromList(MachineBasicBlock* MBB);
|
void removeNodeFromList(MachineBasicBlock* MBB);
|
||||||
|
@ -48,6 +48,7 @@ public:
|
|||||||
|
|
||||||
SDNode *provideInitialHead() const { return createSentinel(); }
|
SDNode *provideInitialHead() const { return createSentinel(); }
|
||||||
SDNode *ensureHead(SDNode*) const { return createSentinel(); }
|
SDNode *ensureHead(SDNode*) const { return createSentinel(); }
|
||||||
|
static void noteHead(SDNode*, SDNode*) {}
|
||||||
|
|
||||||
static void deleteNode(SDNode *) {
|
static void deleteNode(SDNode *) {
|
||||||
assert(0 && "ilist_traits<SDNode> shouldn't see a deleteNode call!");
|
assert(0 && "ilist_traits<SDNode> shouldn't see a deleteNode call!");
|
||||||
|
@ -41,6 +41,7 @@ template<> struct ilist_traits<BasicBlock>
|
|||||||
|
|
||||||
BasicBlock *provideInitialHead() const { return createSentinel(); }
|
BasicBlock *provideInitialHead() const { return createSentinel(); }
|
||||||
BasicBlock *ensureHead(BasicBlock*) const { return createSentinel(); }
|
BasicBlock *ensureHead(BasicBlock*) const { return createSentinel(); }
|
||||||
|
static void noteHead(BasicBlock*, BasicBlock*) {}
|
||||||
|
|
||||||
static iplist<BasicBlock> &getList(Function *F);
|
static iplist<BasicBlock> &getList(Function *F);
|
||||||
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
||||||
@ -59,6 +60,7 @@ template<> struct ilist_traits<Argument>
|
|||||||
|
|
||||||
Argument *provideInitialHead() const { return createSentinel(); }
|
Argument *provideInitialHead() const { return createSentinel(); }
|
||||||
Argument *ensureHead(Argument*) const { return createSentinel(); }
|
Argument *ensureHead(Argument*) const { return createSentinel(); }
|
||||||
|
static void noteHead(Argument*, Argument*) {}
|
||||||
|
|
||||||
static iplist<Argument> &getList(Function *F);
|
static iplist<Argument> &getList(Function *F);
|
||||||
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
static ValueSymbolTable *getSymTab(Function *ItemParent);
|
||||||
|
@ -48,6 +48,7 @@ struct ilist_traits<RecyclerStruct> : ilist_default_traits<RecyclerStruct> {
|
|||||||
|
|
||||||
RecyclerStruct *provideInitialHead() const { return createSentinel(); }
|
RecyclerStruct *provideInitialHead() const { return createSentinel(); }
|
||||||
RecyclerStruct *ensureHead(RecyclerStruct*) const { return createSentinel(); }
|
RecyclerStruct *ensureHead(RecyclerStruct*) const { return createSentinel(); }
|
||||||
|
static void noteHead(RecyclerStruct*, RecyclerStruct*) {}
|
||||||
|
|
||||||
static void deleteNode(RecyclerStruct *) {
|
static void deleteNode(RecyclerStruct *) {
|
||||||
assert(0 && "Recycler's ilist_traits shouldn't see a deleteNode call!");
|
assert(0 && "Recycler's ilist_traits shouldn't see a deleteNode call!");
|
||||||
|
Loading…
Reference in New Issue
Block a user