Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame] | 1 | //===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Bill Wendling and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // AST Streamers. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef DRIVER_ASTSTREAMERS_H_ |
| 15 | #define DRIVER_ASTSTREAMERS_H_ |
| 16 | |
| 17 | namespace clang { |
| 18 | |
| 19 | class Preprocessor; |
| 20 | class FunctionDecl; |
| 21 | class TypedefDecl; |
Chris Lattner | 1cc0171 | 2007-09-15 22:56:56 +0000 | [diff] [blame^] | 22 | class ASTConsumer; |
Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame] | 23 | |
Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame] | 24 | void PrintASTs(Preprocessor &PP, unsigned MainFileID, bool Stats); |
Chris Lattner | 9557878 | 2007-08-08 22:51:59 +0000 | [diff] [blame] | 25 | void DumpASTs(Preprocessor &PP, unsigned MainFileID, bool Stats); |
Ted Kremenek | b3bb91b | 2007-08-29 21:56:09 +0000 | [diff] [blame] | 26 | |
| 27 | void DumpCFGs(Preprocessor &PP, unsigned MainFileID, |
| 28 | bool Stats, bool use_graphviz = false); |
Ted Kremenek | aa04c51 | 2007-09-06 00:17:54 +0000 | [diff] [blame] | 29 | |
| 30 | void AnalyzeLiveVariables(Preprocessor &PP, unsigned MainFileID); |
Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame] | 31 | |
Ted Kremenek | e805c4a | 2007-09-06 23:00:42 +0000 | [diff] [blame] | 32 | void RunDeadStoresCheck(Preprocessor &PP, unsigned MainFileID, bool Stats); |
| 33 | |
Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame] | 34 | } // end clang namespace |
| 35 | |
| 36 | #endif |