summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/CallingConvLower.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-05 16:59:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-05 16:59:26 +0000
commitc89d2feb35560883688e43b553b8e94e7cd371de (patch)
treeb3a56a1480e9bea1f57141d256de0f99c0b18f03 /include/llvm/CodeGen/CallingConvLower.h
parent6f0a7687ab9a0509e847279fae27554ce7da0ba1 (diff)
downloadllvm-c89d2feb35560883688e43b553b8e94e7cd371de.tar.gz
llvm-c89d2feb35560883688e43b553b8e94e7cd371de.tar.bz2
llvm-c89d2feb35560883688e43b553b8e94e7cd371de.tar.xz
Add a variant of AnalyzeCallOperands that can be used by fast isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h
index 2fda9e5bfb..4bad588bc3 100644
--- a/include/llvm/CodeGen/CallingConvLower.h
+++ b/include/llvm/CodeGen/CallingConvLower.h
@@ -145,6 +145,12 @@ public:
/// about the passed values into this state.
void AnalyzeCallOperands(SDNode *TheCall, CCAssignFn Fn);
+ /// AnalyzeCallOperands - Same as above except it takes vectors of types
+ /// and argument flags.
+ void AnalyzeCallOperands(SmallVectorImpl<MVT> ArgVTs,
+ SmallVectorImpl<ISD::ArgFlagsTy> &Flags,
+ CCAssignFn Fn);
+
/// AnalyzeCallResult - Analyze the return values of an ISD::CALL node,
/// incorporating info about the passed values into this state.
void AnalyzeCallResult(SDNode *TheCall, CCAssignFn Fn);