aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-03-31 18:58:49 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-03-31 18:58:49 +0000
commitd0bac697929bc75aea432316fd8c588f67751869 (patch)
tree3b47b54c0872bfbe1f98fb87cd748833fe396fe6 /include
parent1f818610285249f94626d53ebf54e9bf7cf65f5b (diff)
downloadexternal_llvm-d0bac697929bc75aea432316fd8c588f67751869.zip
external_llvm-d0bac697929bc75aea432316fd8c588f67751869.tar.gz
external_llvm-d0bac697929bc75aea432316fd8c588f67751869.tar.bz2
Add method getCallInstIndirectAddrVal() to add call interference
for this value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetRegInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h
index 5b3bf70..5225fea 100644
--- a/include/llvm/Target/TargetRegInfo.h
+++ b/include/llvm/Target/TargetRegInfo.h
@@ -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
//