Reapply r99451 with a fix to move the NoInline check to the cost functions
[oota-llvm.git] / include / llvm / Support / CallSite.h
index 4c6689fffd01bf3c6bc7ccf7233a98f4a33f089f..9d9a30e6ad2f0305762c65569d111c5ad2125b76 100644 (file)
@@ -76,6 +76,10 @@ public:
   /// @brief Extract the alignment for a call or parameter (0=unknown).
   uint16_t getParamAlignment(uint16_t i) const;
 
+  /// @brief Return true if the call should not be inlined.
+  bool isNoInline() const;
+  void setIsNoInline(bool Value = true);
+  
   /// @brief Determine if the call does not access memory.
   bool doesNotAccessMemory() const;
   void setDoesNotAccessMemory(bool doesNotAccessMemory = true);