Rename TarjanSCCIterator -> scc_iterator
[oota-llvm.git] / include / llvm / Module.h
index 28e8b868c83fc42d05f8ebade2ac6a93f1a2475a..4afcc4bd0fa95b6009762bca73974b9c5f3d9c83 100644 (file)
@@ -90,6 +90,12 @@ public:
   /// it.
   Function *getOrInsertFunction(const std::string &Name, const FunctionType *T);
 
+  /// getOrInsertFunction - Look up the specified function in the module symbol
+  /// table.  If it does not exist, add a prototype for the function and return
+  /// it.  This version of the method takes a null terminated list of function
+  /// arguments, which makes it easier for clients to use.
+  Function *getOrInsertFunction(const std::string &Name, const Type *RetTy,...);
+
   /// getFunction - Look up the specified function in the module symbol table.
   /// If it does not exist, return null.
   ///