Change the argument to getIntegerSCEV to be an int64_t, rather
[oota-llvm.git] / include / llvm / PassSupport.h
index d7f3097bdc8c4fc508304ffdd2f7601a4f40943c..b22998985324f2e4c3785898223e993dca6104dd 100644 (file)
@@ -82,6 +82,11 @@ public:
   /// TODO : Rename
   intptr_t getTypeInfo() const { return PassID; }
 
+  /// Return true if this PassID implements the specified ID pointer.
+  bool isPassID(void *IDPtr) const {
+    return PassID == (intptr_t)IDPtr;
+  }
+  
   /// isAnalysisGroup - Return true if this is an analysis group, not a normal
   /// pass.
   ///