Add include of Compiler.h to fix build bot failures.
[oota-llvm.git] / include / llvm / Pass.h
index 104b272d095de4e1e960d30484ce2f824dad2108..888537daa425f858c3d41d051917841c94518c53 100644 (file)
@@ -175,6 +175,10 @@ public:
   // argument string, or null if it is not known.
   static const PassInfo *lookupPassInfo(StringRef Arg);
 
+  // createPass - Create a object for the specified pass class,
+  // or null if it is not known.
+  static Pass *createPass(AnalysisID ID);
+
   /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to
   /// get analysis information that might be around, for example to update it.
   /// This is different than getAnalysis in that it can fail (if the analysis