Skip to content

Commit 7773c4f

Browse files
committed
Add missing header file for GRConstants analysis.
llvm-svn: 46075
1 parent 2e12c2e commit 7773c4f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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

0 commit comments

Comments
 (0)