X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FPass.h;h=99604cdbc9caa012e9317d29906933c68330bf1f;hb=HEAD;hp=3c4d838a465268f42e82a989e84d29bee35140e5;hpb=c16fc548515f2fd01bc2cbe4befd822a636cc154;p=oota-llvm.git diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 3c4d838a465..99604cdbc9c 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -369,6 +369,10 @@ protected: /// @brief This is the storage for the -time-passes option. extern bool TimePassesIsEnabled; +/// isFunctionInPrintList - returns true if a function should be printed via +// debugging options like -print-after-all/-print-before-all. +// @brief Tells if the function IR should be printed by PrinterPass. +extern bool isFunctionInPrintList(StringRef FunctionName); } // End llvm namespace // Include support files that contain important APIs commonly used by Passes,