aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index e2b41fe25d..40b9c46de2 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -166,6 +166,9 @@ public:
/// @brief Determine whether the function has the given attribute.
bool paramHasAttr(uint16_t i, ParameterAttributes attr) const;
+ /// @brief Extract the alignment for a call or parameter (0=unknown).
+ uint16_t getParamAlignment(uint16_t i) const;
+
/// @brief Determine if the function cannot return.
bool doesNotReturn() const;