summaryrefslogtreecommitdiff
path: root/include/llvm/Instructions.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-04 07:18:12 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-04 07:18:12 +0000
commit365b9e0668d44038fa0c2739060c26acae12066e (patch)
tree6b3fd6f398b51b17305dccf6bd4b00d7a6ae2698 /include/llvm/Instructions.h
parent1f9855a814fd61207d7fd4586d97c467fa85db1c (diff)
downloadllvm-365b9e0668d44038fa0c2739060c26acae12066e.tar.gz
llvm-365b9e0668d44038fa0c2739060c26acae12066e.tar.bz2
llvm-365b9e0668d44038fa0c2739060c26acae12066e.tar.xz
Add method to query for NoCapture attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 711bced70f..5ff1c37ae6 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -1280,6 +1280,7 @@ public:
bool paramHasNestAttr(unsigned i) const;
bool paramHasByValAttr(unsigned i) const;
bool paramHasNoAliasAttr(unsigned i) const;
+ bool paramHasNoCaptureAttr(unsigned i) const;
/// @brief Determine whether the call or the callee has the given attribute.
bool paramHasAttr(unsigned i, Attributes attr) const;
@@ -3051,6 +3052,7 @@ public:
bool paramHasNestAttr(unsigned i) const;
bool paramHasByValAttr(unsigned i) const;
bool paramHasNoAliasAttr(unsigned i) const;
+ bool paramHasNoCaptureAttr(unsigned i) const;
/// @brief Determine whether the call or the callee has the given attribute.
bool paramHasAttr(unsigned i, Attributes attr) const;