Remove some dead methods.
[oota-llvm.git] / include / llvm / Instructions.h
index bed828a88551ea77b35d60e12fd89e6d121a0b3a..eba57805cd05db5d3d02f6d9663078129670c0fc 100644 (file)
@@ -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);