For a quick and dirty way, I will use:
SELECT o.name FROM syscomments c INNER JOIN sys.objects o ON o.object_id = c.id WHERE c.text LIKE '%WITH RECOMPILE%'
This is probably not a good idea to use in a real application. If I have a few minutes, I will try to dig a cleaner path. The above also catches procs for which this line is commented out, it uses MS SQL Server specific tables, etc.
Tom h source share