Changed for adding Phi Elimination code
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Mon, 12 Nov 2001 14:46:00 +0000 (14:46 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Mon, 12 Nov 2001 14:46:00 +0000 (14:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1266 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MachineInstrInfo.h
include/llvm/Target/TargetInstrInfo.h

index 383e9ca969397b184ce44fcf7d86c80ad380b8e8..547ebb7cc46e1542a01f3e98df320285938040c8 100644 (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
index 383e9ca969397b184ce44fcf7d86c80ad380b8e8..547ebb7cc46e1542a01f3e98df320285938040c8 100644 (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