diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-13 01:54:27 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-13 01:54:27 +0000 |
commit | 705e3f774254a03ef28a27c1d15903547a0e9d4c (patch) | |
tree | be6c4833a95fbd06a8315df342c5ee55aef50473 /lib/Target/PowerPC/PPCISelLowering.h | |
parent | 00330db76463b811bc5908306a1c7248a1eeaf2b (diff) | |
download | external_llvm-705e3f774254a03ef28a27c1d15903547a0e9d4c.zip external_llvm-705e3f774254a03ef28a27c1d15903547a0e9d4c.tar.gz external_llvm-705e3f774254a03ef28a27c1d15903547a0e9d4c.tar.bz2 |
Define CallSDNode, an SDNode subclass for use with ISD::CALL.
Currently it just holds the calling convention and flags
for isVarArgs and isTailCall.
And it has several utility methods, which eliminate magic
5+2*i and similar index computations in several places.
CallSDNodes are not CSE'd. Teach UpdateNodeOperands to handle
nodes that are not CSE'd gracefully.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h index ff969d2..72e00f6 100644 --- a/lib/Target/PowerPC/PPCISelLowering.h +++ b/lib/Target/PowerPC/PPCISelLowering.h @@ -322,7 +322,7 @@ namespace llvm { /// IsEligibleForTailCallOptimization - Check whether the call is eligible /// for tail call optimization. Target which want to do tail call /// optimization should implement this function. - virtual bool IsEligibleForTailCallOptimization(SDValue Call, + virtual bool IsEligibleForTailCallOptimization(CallSDNode *TheCall, SDValue Ret, SelectionDAG &DAG) const; |