summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/CallingConvLower.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-01-15 07:49:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-01-15 07:49:54 +0000
commite14af4fe741a15b37cd1f00b67d65e63aec8feef (patch)
tree14c49c80567c04c69927c390bbb279d2dea5d58d /include/llvm/CodeGen/CallingConvLower.h
parent4c46fc6bbf206a59b1b46d8b1af43896a4675c65 (diff)
downloadllvm-e14af4fe741a15b37cd1f00b67d65e63aec8feef.tar.gz
llvm-e14af4fe741a15b37cd1f00b67d65e63aec8feef.tar.bz2
llvm-e14af4fe741a15b37cd1f00b67d65e63aec8feef.tar.xz
Oops. Forgot to commit this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h
index a8f2d1eca9..1c9a0c179d 100644
--- a/include/llvm/CodeGen/CallingConvLower.h
+++ b/include/llvm/CodeGen/CallingConvLower.h
@@ -191,9 +191,13 @@ public:
return Result;
}
- void HandleStruct(unsigned ValNo, MVT::ValueType ValVT,
- MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo,
- unsigned ArgFlags);
+ // HandleByVal - Allocate a stack slot large enough to pass an argument by
+ // value. The size and alignment information of the argument is encoded in its
+ // parameter attribute.
+ void HandleByVal(unsigned ValNo, MVT::ValueType ValVT,
+ MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo,
+ int MinSize, int MinAlign, unsigned ArgFlags);
+
private:
/// MarkAllocated - Mark a register and all of its aliases as allocated.
void MarkAllocated(unsigned Reg);