diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-09 05:54:39 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-09 05:54:39 +0000 |
commit | 50cf36351cefbc64bca9b82b4a3897394feecac7 (patch) | |
tree | f2ad4236dd7cfe87e299b7cd4f496738c5823aed /include/llvm/Instructions.h | |
parent | 1d872103fa200d9ad59f20543983e29fa8a97a00 (diff) | |
download | llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.tar.gz llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.tar.bz2 llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.tar.xz |
Remove some dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index bed828a885..eba57805cd 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1276,11 +1276,6 @@ public: bool fnHasReadOnlyAttr() const; bool fnHasReturnsTwiceAttr() const; - /// \brief Return true if this call has the given attribute. - bool hasFnAttr(Attributes N) const { - return paramHasAttr(~0, N); - } - /// @brief Determine whether the call or the callee has the given attributes. bool paramHasByValAttr(unsigned i) const; bool paramHasInRegAttr(unsigned i) const; @@ -1291,9 +1286,6 @@ public: bool paramHasStructRetAttr(unsigned i) const; bool paramHasZExtAttr(unsigned i) const; - /// @brief Determine whether the call or the callee has the given attribute. - bool paramHasAttr(unsigned i, Attributes attr) const; - /// @brief Extract the alignment for a call or parameter (0=unknown). unsigned getParamAlignment(unsigned i) const { return AttributeList.getParamAlignment(i); @@ -3060,11 +3052,6 @@ public: bool fnHasReadOnlyAttr() const; bool fnHasReturnsTwiceAttr() const; - /// \brief Return true if this call has the given attribute. - bool hasFnAttr(Attributes N) const { - return paramHasAttr(~0, N); - } - /// @brief Determine whether the call or the callee has the given attributes. bool paramHasSExtAttr(unsigned i) const; bool paramHasZExtAttr(unsigned i) const; @@ -3075,9 +3062,6 @@ public: 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; - /// @brief Extract the alignment for a call or parameter (0=unknown). unsigned getParamAlignment(unsigned i) const { return AttributeList.getParamAlignment(i); |