summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/CallingConvLower.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2007-08-10 14:44:42 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2007-08-10 14:44:42 +0000
commit594d37e21aea4ef841d9ee5d9c328c4bf1c6bed7 (patch)
tree5f2d522f84dd3b83747f6182b98ba0fa17795c04 /include/llvm/CodeGen/CallingConvLower.h
parentae9671b838150c780c13e601574efa6641788f2b (diff)
propagate struct size and alignment of byval arguments to the DAG
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h
index 959d0528c651..9c776131b5a1 100644
--- a/include/llvm/CodeGen/CallingConvLower.h
+++ b/include/llvm/CodeGen/CallingConvLower.h
@@ -190,6 +190,10 @@ public:
StackOffset += Size;
return Result;
}
+
+ void HandleStruct(unsigned ValNo, MVT::ValueType ValVT,
+ MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo,
+ unsigned ArgFlags);
private:
/// MarkAllocated - Mark a register and all of its aliases as allocated.
void MarkAllocated(unsigned Reg);