diff options
| author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-03-31 18:58:49 +0000 |
|---|---|---|
| committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-03-31 18:58:49 +0000 |
| commit | 429621cad000461601feab3b2204bf1159f85a6b (patch) | |
| tree | 0b573de653e607f861a86a27656ec71e288c37d9 | |
| parent | c533f04176b460866cfd31e1b3d394a9ecb8591f (diff) | |
| download | bcm5719-llvm-429621cad000461601feab3b2204bf1159f85a6b.tar.gz bcm5719-llvm-429621cad000461601feab3b2204bf1159f85a6b.zip | |
Add method getCallInstIndirectAddrVal() to add call interference
for this value.
llvm-svn: 2072
| -rw-r--r-- | llvm/include/llvm/Target/TargetRegInfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetRegInfo.h b/llvm/include/llvm/Target/TargetRegInfo.h index 5b3bf70c8bb..5225fea677b 100644 --- a/llvm/include/llvm/Target/TargetRegInfo.h +++ b/llvm/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 // |

