aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ParameterAttributes.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2007-07-06 10:57:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2007-07-06 10:57:03 +0000
commit1aa7efbd2c98e761f50992197473304b99257ca9 (patch)
treeef01e24db9a8f28dc6da9d24dbd936e1bff0194f /include/llvm/ParameterAttributes.h
parentaa6b7fd5ec21855bc712de4c73b60b9580406227 (diff)
downloadexternal_llvm-1aa7efbd2c98e761f50992197473304b99257ca9.zip
external_llvm-1aa7efbd2c98e761f50992197473304b99257ca9.tar.gz
external_llvm-1aa7efbd2c98e761f50992197473304b99257ca9.tar.bz2
Add the byval attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ParameterAttributes.h')
-rw-r--r--include/llvm/ParameterAttributes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ParameterAttributes.h b/include/llvm/ParameterAttributes.h
index c2d6078..b1cb966 100644
--- a/include/llvm/ParameterAttributes.h
+++ b/include/llvm/ParameterAttributes.h
@@ -36,7 +36,8 @@ enum Attributes {
InReg = 1 << 3, ///< force argument to be passed in register
StructRet = 1 << 4, ///< hidden pointer to structure to return
NoUnwind = 1 << 5, ///< Function doesn't unwind stack
- NoAlias = 1 << 6 ///< Considered to not alias after call.
+ NoAlias = 1 << 6, ///< Considered to not alias after call.
+ ByVal = 1 << 7 ///< Pass structure by value
};
}