File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
clang/include/clang/Analysis/Analyses Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ // ===-- GRConstants.h- Simple, Path-Sens. Constant Prop. ---------*- C++ -*-==//
2
+ //
3
+ // The LLVM Compiler Infrastructure
4
+ //
5
+ // This file is distributed under the University of Illinois Open Source
6
+ // License. See LICENSE.TXT for details.
7
+ //
8
+ // ===----------------------------------------------------------------------===//
9
+ //
10
+ // Constant Propagation via Graph Reachability
11
+ //
12
+ // This files defines the interface to use the 'GRConstants' path-sensitive
13
+ // constant-propagation analysis.
14
+ //
15
+ // ===----------------------------------------------------------------------===//
16
+
17
+ #ifndef LLVM_CLANG_GRCONSTANTS
18
+ #define LLVM_CLANG_GRCONSTANTS
19
+
20
+ namespace clang {
21
+
22
+ // / RunGRConstants - This is a simple driver to run the GRConstants analysis
23
+ // / on a provided CFG. This interface will eventually be replaced with
24
+ // / something more elaborate as the requirements on the interface become
25
+ // / clearer.
26
+ void RunGRConstants (CFG& cfg);
27
+
28
+ } // end clang namespace
29
+
30
+
31
+ #endif
You can’t perform that action at this time.
0 commit comments