Add method getCallInstIndirectAddrVal() to add call interference
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 31 Mar 2002 18:58:49 +0000 (18:58 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 31 Mar 2002 18:58:49 +0000 (18:58 +0000)
for this value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2072 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetRegInfo.h

index 5b3bf70c8bb5802696f40ef075493d620ae81a87..5225fea677bfaf6743efdcc0231081a63c5394ed 100644 (file)
@@ -174,9 +174,11 @@ public:
   //
   virtual int getRegType(const LiveRange *LR) const = 0;
 
-  // Gives the return value contained in a CALL machine instruction
+  // To obtain the return value and the indirect call address (if any)
+  // contained in a CALL machine instruction
   //
   virtual const Value *getCallInstRetVal(const MachineInstr *CallMI) const = 0;
+  virtual const Value *getCallInstIndirectAddrVal(const MachineInstr *CallMI) const = 0;
 
   // The following methods are used to get the frame/stack pointers
   //