diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-12 14:46:00 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-12 14:46:00 +0000 |
commit | 8486cdd3f9850eb08fceea05deb6a0315e962574 (patch) | |
tree | c2b5f03edfcbb48685c9d96d1b3e4ebea5c24b4b /include | |
parent | 67a463ac04f439fa24ad9777e29ea487bb99b7c3 (diff) | |
download | external_llvm-8486cdd3f9850eb08fceea05deb6a0315e962574.zip external_llvm-8486cdd3f9850eb08fceea05deb6a0315e962574.tar.gz external_llvm-8486cdd3f9850eb08fceea05deb6a0315e962574.tar.bz2 |
Changed for adding Phi Elimination code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/MachineInstrInfo.h | 11 | ||||
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index 383e9ca..547ebb7 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -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 diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 383e9ca..547ebb7 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -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 |