diff options
-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 383e9ca969..547ebb7cc4 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 383e9ca969..547ebb7cc4 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 |