summaryrefslogtreecommitdiffstats
path: root/include/llvm/Argument.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Argument.h')
-rw-r--r--include/llvm/Argument.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h
index 71c001f..ff86378 100644
--- a/include/llvm/Argument.h
+++ b/include/llvm/Argument.h
@@ -51,6 +51,9 @@ public:
/// hasByValAttr - Return true if this argument has the byval attribute on it
/// in its containing function.
bool hasByValAttr() const;
+
+ /// getParamAlignment - If this is a byval argument, return its alignment.
+ unsigned getParamAlignment() const;
/// hasNestAttr - Return true if this argument has the nest attribute on
/// it in its containing function.
OpenPOWER on IntegriCloud