Changed for adding Phi Elimination code

llvm-svn: 1266
This commit is contained in:
Ruchira Sasanka 2001-11-12 14:46:00 +00:00
parent fcdc2ff6e0
commit eb98368c29
2 changed files with 22 additions and 0 deletions

View File

@ -260,6 +260,17 @@ public:
vector<MachineInstr*>& minstrVec,
vector<TmpInstruction*>& tempVec,
TargetMachine& target) const = 0;
// create copy instruction(s)
virtual void
CreateCopyInstructionsByType(const TargetMachine& target,
Value* src,
Instruction* dest,
vector<MachineInstr*>& minstrVec) const = 0;
};
#endif

View File

@ -260,6 +260,17 @@ public:
vector<MachineInstr*>& minstrVec,
vector<TmpInstruction*>& tempVec,
TargetMachine& target) const = 0;
// create copy instruction(s)
virtual void
CreateCopyInstructionsByType(const TargetMachine& target,
Value* src,
Instruction* dest,
vector<MachineInstr*>& minstrVec) const = 0;
};
#endif