FastISel doesn't yet handle callee-pop functions.
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index 646af91517fe72f49e1d6ea92a79a12d3c2caef1..8ad55b159d9a320cd0afe5907bf6c0faf965e174 100644 (file)
@@ -15,6 +15,7 @@
 #define X86SUBTARGET_H
 
 #include "llvm/Target/TargetSubtarget.h"
+#include "llvm/CallingConv.h"
 #include <string>
 
 namespace llvm {
@@ -237,6 +238,9 @@ public:
   /// indicating the number of scheduling cycles of backscheduling that
   /// should be attempted.
   unsigned getSpecialAddressLatency() const;
+
+  /// IsCalleePop - Test whether a function should pop its own arguments.
+  bool IsCalleePop(bool isVarArg, CallingConv::ID CallConv) const;
 };
 
 } // End llvm namespace