Rename headers: 'clang/GR' 'clang/EntoSA' and
update Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122493 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt
index f16dd2b..ee45187 100644
--- a/examples/PrintFunctionNames/CMakeLists.txt
+++ b/examples/PrintFunctionNames/CMakeLists.txt
@@ -10,8 +10,8 @@
clangCodeGen
clangParse
clangSema
- clangGRCheckers
- clangGRCore
+ clangEntoCheckers
+ clangEntoCore
clangAnalysis
clangIndex
clangRewrite
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index 8bdea4c..c8c3c2b 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -6,8 +6,8 @@
clangDriver
clangCodeGen
clangSema
- clangGRCheckers
- clangGRCore
+ clangEntoCheckers
+ clangEntoCore
clangIndex
clangAnalysis
clangRewrite
diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile
index 6a690b0..86bc9ca 100644
--- a/examples/clang-interpreter/Makefile
+++ b/examples/clang-interpreter/Makefile
@@ -18,7 +18,7 @@
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
selectiondag asmparser
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a \
- clangSema.a clangGRCheckers.a clangGRCore.a clangAnalysis.a clangRewrite.a \
+ clangSema.a clangEntoCheckers.a clangEntoCore.a clangAnalysis.a clangRewrite.a \
clangAST.a clangParse.a clangLex.a clangBasic.a
include $(CLANG_LEVEL)/Makefile
diff --git a/examples/wpa/CMakeLists.txt b/examples/wpa/CMakeLists.txt
index 94719b2..0100aa2 100644
--- a/examples/wpa/CMakeLists.txt
+++ b/examples/wpa/CMakeLists.txt
@@ -7,8 +7,8 @@
clangSema
clangAnalysis
clangSerialization
- clangGRCheckers
- clangGRCore
+ clangEntoCheckers
+ clangEntoCore
clangRewrite
clangAST
clangParse
diff --git a/examples/wpa/Makefile b/examples/wpa/Makefile
index f04fcb7..4fbba9d 100644
--- a/examples/wpa/Makefile
+++ b/examples/wpa/Makefile
@@ -16,7 +16,7 @@
TOOL_NO_EXPORTS = 1
LINK_COMPONENTS := asmparser bitreader mc core
-USEDLIBS = clangGRCheckers.a clangGRCore.a clangIndex.a clangFrontend.a clangDriver.a \
+USEDLIBS = clangEntoCheckers.a clangEntoCore.a clangIndex.a clangFrontend.a clangDriver.a \
clangSema.a clangAnalysis.a clangSerialization.a \
clangAST.a clangParse.a clangLex.a clangBasic.a
diff --git a/include/clang/GR/AnalysisConsumer.h b/include/clang/EntoSA/AnalysisConsumer.h
similarity index 100%
rename from include/clang/GR/AnalysisConsumer.h
rename to include/clang/EntoSA/AnalysisConsumer.h
diff --git a/include/clang/GR/BugReporter/BugReporter.h b/include/clang/EntoSA/BugReporter/BugReporter.h
similarity index 99%
rename from include/clang/GR/BugReporter/BugReporter.h
rename to include/clang/EntoSA/BugReporter/BugReporter.h
index 7d2dffa..c879d3c 100644
--- a/include/clang/GR/BugReporter/BugReporter.h
+++ b/include/clang/EntoSA/BugReporter/BugReporter.h
@@ -16,7 +16,7 @@
#define LLVM_CLANG_GR_BUGREPORTER
#include "clang/Basic/SourceLocation.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/ImmutableList.h"
#include "llvm/ADT/ImmutableSet.h"
diff --git a/include/clang/GR/BugReporter/BugType.h b/include/clang/EntoSA/BugReporter/BugType.h
similarity index 97%
rename from include/clang/GR/BugReporter/BugType.h
rename to include/clang/EntoSA/BugReporter/BugType.h
index 8540949..1eee141 100644
--- a/include/clang/GR/BugReporter/BugType.h
+++ b/include/clang/EntoSA/BugReporter/BugType.h
@@ -14,7 +14,7 @@
#ifndef LLVM_CLANG_ANALYSIS_BUGTYPE
#define LLVM_CLANG_ANALYSIS_BUGTYPE
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "llvm/ADT/FoldingSet.h"
#include <string>
diff --git a/include/clang/GR/BugReporter/PathDiagnostic.h b/include/clang/EntoSA/BugReporter/PathDiagnostic.h
similarity index 100%
rename from include/clang/GR/BugReporter/PathDiagnostic.h
rename to include/clang/EntoSA/BugReporter/PathDiagnostic.h
diff --git a/include/clang/GR/Checkers/DereferenceChecker.h b/include/clang/EntoSA/Checkers/DereferenceChecker.h
similarity index 100%
rename from include/clang/GR/Checkers/DereferenceChecker.h
rename to include/clang/EntoSA/Checkers/DereferenceChecker.h
diff --git a/include/clang/GR/Checkers/LocalCheckers.h b/include/clang/EntoSA/Checkers/LocalCheckers.h
similarity index 100%
rename from include/clang/GR/Checkers/LocalCheckers.h
rename to include/clang/EntoSA/Checkers/LocalCheckers.h
diff --git a/include/clang/GR/FrontendActions.h b/include/clang/EntoSA/FrontendActions.h
similarity index 100%
rename from include/clang/GR/FrontendActions.h
rename to include/clang/EntoSA/FrontendActions.h
diff --git a/include/clang/GR/ManagerRegistry.h b/include/clang/EntoSA/ManagerRegistry.h
similarity index 96%
rename from include/clang/GR/ManagerRegistry.h
rename to include/clang/EntoSA/ManagerRegistry.h
index ff174c0..43657a5 100644
--- a/include/clang/GR/ManagerRegistry.h
+++ b/include/clang/EntoSA/ManagerRegistry.h
@@ -14,7 +14,7 @@
#ifndef LLVM_CLANG_GR_MANAGER_REGISTRY_H
#define LLVM_CLANG_GR_MANAGER_REGISTRY_H
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
namespace clang {
diff --git a/include/clang/GR/PathDiagnosticClients.h b/include/clang/EntoSA/PathDiagnosticClients.h
similarity index 100%
rename from include/clang/GR/PathDiagnosticClients.h
rename to include/clang/EntoSA/PathDiagnosticClients.h
diff --git a/include/clang/GR/PathSensitive/AnalysisManager.h b/include/clang/EntoSA/PathSensitive/AnalysisManager.h
similarity index 98%
rename from include/clang/GR/PathSensitive/AnalysisManager.h
rename to include/clang/EntoSA/PathSensitive/AnalysisManager.h
index c9deccc..95d954e 100644
--- a/include/clang/GR/PathSensitive/AnalysisManager.h
+++ b/include/clang/EntoSA/PathSensitive/AnalysisManager.h
@@ -16,8 +16,8 @@
#define LLVM_CLANG_GR_ANALYSISMANAGER_H
#include "clang/Analysis/AnalysisContext.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/BasicValueFactory.h b/include/clang/EntoSA/PathSensitive/BasicValueFactory.h
similarity index 98%
rename from include/clang/GR/PathSensitive/BasicValueFactory.h
rename to include/clang/EntoSA/PathSensitive/BasicValueFactory.h
index 0a692ba..061508e 100644
--- a/include/clang/GR/PathSensitive/BasicValueFactory.h
+++ b/include/clang/EntoSA/PathSensitive/BasicValueFactory.h
@@ -16,7 +16,7 @@
#ifndef LLVM_CLANG_GR_BASICVALUEFACTORY_H
#define LLVM_CLANG_GR_BASICVALUEFACTORY_H
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
#include "clang/AST/ASTContext.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/APSInt.h"
diff --git a/include/clang/GR/PathSensitive/BlockCounter.h b/include/clang/EntoSA/PathSensitive/BlockCounter.h
similarity index 100%
rename from include/clang/GR/PathSensitive/BlockCounter.h
rename to include/clang/EntoSA/PathSensitive/BlockCounter.h
diff --git a/include/clang/GR/PathSensitive/Checker.h b/include/clang/EntoSA/PathSensitive/Checker.h
similarity index 99%
rename from include/clang/GR/PathSensitive/Checker.h
rename to include/clang/EntoSA/PathSensitive/Checker.h
index 73fb37f..a536955 100644
--- a/include/clang/GR/PathSensitive/Checker.h
+++ b/include/clang/EntoSA/PathSensitive/Checker.h
@@ -16,7 +16,7 @@
#define LLVM_CLANG_GR_CHECKER
#include "clang/Analysis/Support/SaveAndRestore.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
//===----------------------------------------------------------------------===//
// Checker interface.
diff --git a/include/clang/GR/PathSensitive/CheckerHelpers.h b/include/clang/EntoSA/PathSensitive/CheckerHelpers.h
similarity index 100%
rename from include/clang/GR/PathSensitive/CheckerHelpers.h
rename to include/clang/EntoSA/PathSensitive/CheckerHelpers.h
diff --git a/include/clang/GR/PathSensitive/CheckerVisitor.def b/include/clang/EntoSA/PathSensitive/CheckerVisitor.def
similarity index 100%
rename from include/clang/GR/PathSensitive/CheckerVisitor.def
rename to include/clang/EntoSA/PathSensitive/CheckerVisitor.def
diff --git a/include/clang/GR/PathSensitive/CheckerVisitor.h b/include/clang/EntoSA/PathSensitive/CheckerVisitor.h
similarity index 93%
rename from include/clang/GR/PathSensitive/CheckerVisitor.h
rename to include/clang/EntoSA/PathSensitive/CheckerVisitor.h
index 18ffa9f..62ce943 100644
--- a/include/clang/GR/PathSensitive/CheckerVisitor.h
+++ b/include/clang/EntoSA/PathSensitive/CheckerVisitor.h
@@ -13,7 +13,7 @@
#ifndef LLVM_CLANG_GR_CHECKERVISITOR
#define LLVM_CLANG_GR_CHECKERVISITOR
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
namespace clang {
@@ -51,7 +51,7 @@
case Stmt::NAME ## Class:\
static_cast<ImplClass*>(this)->PreVisit ## NAME(C,static_cast<const NAME*>(S));\
break;
-#include "clang/GR/PathSensitive/CheckerVisitor.def"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.def"
}
}
@@ -70,7 +70,7 @@
static_cast<ImplClass*>(this)->\
PostVisit ## NAME(C,static_cast<const NAME*>(S));\
break;
-#include "clang/GR/PathSensitive/CheckerVisitor.def"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.def"
}
}
@@ -101,7 +101,7 @@
void PostVisit ## NAME(CheckerContext &C, const NAME* S) {\
static_cast<ImplClass*>(this)->PostVisit ## FALLBACK(C, S);\
}
-#include "clang/GR/PathSensitive/CheckerVisitor.def"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.def"
};
} // end GR namespace
diff --git a/include/clang/GR/PathSensitive/ConstraintManager.h b/include/clang/EntoSA/PathSensitive/ConstraintManager.h
similarity index 97%
rename from include/clang/GR/PathSensitive/ConstraintManager.h
rename to include/clang/EntoSA/PathSensitive/ConstraintManager.h
index 3e73f4b..b9e723c 100644
--- a/include/clang/GR/PathSensitive/ConstraintManager.h
+++ b/include/clang/EntoSA/PathSensitive/ConstraintManager.h
@@ -15,7 +15,7 @@
#define LLVM_CLANG_GR_CONSTRAINT_MANAGER_H
// FIXME: Typedef LiveSymbolsTy/DeadSymbolsTy at a more appropriate place.
-#include "clang/GR/PathSensitive/Store.h"
+#include "clang/EntoSA/PathSensitive/Store.h"
namespace llvm {
class APSInt;
diff --git a/include/clang/GR/PathSensitive/CoreEngine.h b/include/clang/EntoSA/PathSensitive/CoreEngine.h
similarity index 98%
rename from include/clang/GR/PathSensitive/CoreEngine.h
rename to include/clang/EntoSA/PathSensitive/CoreEngine.h
index eaaff52..45e7fdc 100644
--- a/include/clang/GR/PathSensitive/CoreEngine.h
+++ b/include/clang/EntoSA/PathSensitive/CoreEngine.h
@@ -16,10 +16,10 @@
#define LLVM_CLANG_GR_COREENGINE
#include "clang/AST/Expr.h"
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/PathSensitive/WorkList.h"
-#include "clang/GR/PathSensitive/BlockCounter.h"
-#include "clang/GR/PathSensitive/SubEngine.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/PathSensitive/WorkList.h"
+#include "clang/EntoSA/PathSensitive/BlockCounter.h"
+#include "clang/EntoSA/PathSensitive/SubEngine.h"
#include "llvm/ADT/OwningPtr.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/Environment.h b/include/clang/EntoSA/PathSensitive/Environment.h
similarity index 96%
rename from include/clang/GR/PathSensitive/Environment.h
rename to include/clang/EntoSA/PathSensitive/Environment.h
index a8861cc..1e88e16 100644
--- a/include/clang/GR/PathSensitive/Environment.h
+++ b/include/clang/EntoSA/PathSensitive/Environment.h
@@ -14,8 +14,8 @@
#ifndef LLVM_CLANG_GR_ENVIRONMENT_H
#define LLVM_CLANG_GR_ENVIRONMENT_H
-#include "clang/GR/PathSensitive/Store.h"
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/Store.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
#include "llvm/ADT/ImmutableMap.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/ExplodedGraph.h b/include/clang/EntoSA/PathSensitive/ExplodedGraph.h
similarity index 100%
rename from include/clang/GR/PathSensitive/ExplodedGraph.h
rename to include/clang/EntoSA/PathSensitive/ExplodedGraph.h
diff --git a/include/clang/GR/PathSensitive/ExprEngine.h b/include/clang/EntoSA/PathSensitive/ExprEngine.h
similarity index 98%
rename from include/clang/GR/PathSensitive/ExprEngine.h
rename to include/clang/EntoSA/PathSensitive/ExprEngine.h
index ed06b27..d10e76b 100644
--- a/include/clang/GR/PathSensitive/ExprEngine.h
+++ b/include/clang/EntoSA/PathSensitive/ExprEngine.h
@@ -16,12 +16,12 @@
#ifndef LLVM_CLANG_GR_EXPRENGINE
#define LLVM_CLANG_GR_EXPRENGINE
-#include "clang/GR/PathSensitive/AnalysisManager.h"
-#include "clang/GR/PathSensitive/SubEngine.h"
-#include "clang/GR/PathSensitive/CoreEngine.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/PathSensitive/SubEngine.h"
+#include "clang/EntoSA/PathSensitive/CoreEngine.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "clang/AST/Type.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/ExprCXX.h"
diff --git a/include/clang/GR/PathSensitive/ExprEngineBuilders.h b/include/clang/EntoSA/PathSensitive/ExprEngineBuilders.h
similarity index 97%
rename from include/clang/GR/PathSensitive/ExprEngineBuilders.h
rename to include/clang/EntoSA/PathSensitive/ExprEngineBuilders.h
index b3ccc29..91df612 100644
--- a/include/clang/GR/PathSensitive/ExprEngineBuilders.h
+++ b/include/clang/EntoSA/PathSensitive/ExprEngineBuilders.h
@@ -14,7 +14,7 @@
#ifndef LLVM_CLANG_GR_EXPRENGINE_BUILDERS
#define LLVM_CLANG_GR_EXPRENGINE_BUILDERS
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/Analysis/Support/SaveAndRestore.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/GRState.h b/include/clang/EntoSA/PathSensitive/GRState.h
similarity index 98%
rename from include/clang/GR/PathSensitive/GRState.h
rename to include/clang/EntoSA/PathSensitive/GRState.h
index 914dadb..8e2ab07 100644
--- a/include/clang/GR/PathSensitive/GRState.h
+++ b/include/clang/EntoSA/PathSensitive/GRState.h
@@ -14,10 +14,10 @@
#ifndef LLVM_CLANG_GR_VALUESTATE_H
#define LLVM_CLANG_GR_VALUESTATE_H
-#include "clang/GR/PathSensitive/ConstraintManager.h"
-#include "clang/GR/PathSensitive/Environment.h"
-#include "clang/GR/PathSensitive/Store.h"
-#include "clang/GR/PathSensitive/SValBuilder.h"
+#include "clang/EntoSA/PathSensitive/ConstraintManager.h"
+#include "clang/EntoSA/PathSensitive/Environment.h"
+#include "clang/EntoSA/PathSensitive/Store.h"
+#include "clang/EntoSA/PathSensitive/SValBuilder.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/ImmutableMap.h"
#include "llvm/Support/Casting.h"
diff --git a/include/clang/GR/PathSensitive/GRStateTrait.h b/include/clang/EntoSA/PathSensitive/GRStateTrait.h
similarity index 100%
rename from include/clang/GR/PathSensitive/GRStateTrait.h
rename to include/clang/EntoSA/PathSensitive/GRStateTrait.h
diff --git a/include/clang/GR/PathSensitive/MemRegion.h b/include/clang/EntoSA/PathSensitive/MemRegion.h
similarity index 99%
rename from include/clang/GR/PathSensitive/MemRegion.h
rename to include/clang/EntoSA/PathSensitive/MemRegion.h
index 20e25cf..c9c72ab 100644
--- a/include/clang/GR/PathSensitive/MemRegion.h
+++ b/include/clang/EntoSA/PathSensitive/MemRegion.h
@@ -18,7 +18,7 @@
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/ADT/FoldingSet.h"
diff --git a/include/clang/GR/PathSensitive/SValBuilder.h b/include/clang/EntoSA/PathSensitive/SValBuilder.h
similarity index 97%
rename from include/clang/GR/PathSensitive/SValBuilder.h
rename to include/clang/EntoSA/PathSensitive/SValBuilder.h
index b01f430..f4c168d 100644
--- a/include/clang/GR/PathSensitive/SValBuilder.h
+++ b/include/clang/EntoSA/PathSensitive/SValBuilder.h
@@ -17,9 +17,9 @@
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
-#include "clang/GR/PathSensitive/SVals.h"
-#include "clang/GR/PathSensitive/BasicValueFactory.h"
-#include "clang/GR/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/BasicValueFactory.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/SVals.h b/include/clang/EntoSA/PathSensitive/SVals.h
similarity index 99%
rename from include/clang/GR/PathSensitive/SVals.h
rename to include/clang/EntoSA/PathSensitive/SVals.h
index 617b394..acbf1d4 100644
--- a/include/clang/GR/PathSensitive/SVals.h
+++ b/include/clang/EntoSA/PathSensitive/SVals.h
@@ -15,7 +15,7 @@
#ifndef LLVM_CLANG_GR_RVALUE_H
#define LLVM_CLANG_GR_RVALUE_H
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "llvm/Support/Casting.h"
#include "llvm/ADT/ImmutableList.h"
diff --git a/include/clang/GR/PathSensitive/Store.h b/include/clang/EntoSA/PathSensitive/Store.h
similarity index 98%
rename from include/clang/GR/PathSensitive/Store.h
rename to include/clang/EntoSA/PathSensitive/Store.h
index f82959b..83b1138 100644
--- a/include/clang/GR/PathSensitive/Store.h
+++ b/include/clang/EntoSA/PathSensitive/Store.h
@@ -14,8 +14,8 @@
#ifndef LLVM_CLANG_GR_STORE_H
#define LLVM_CLANG_GR_STORE_H
-#include "clang/GR/PathSensitive/MemRegion.h"
-#include "clang/GR/PathSensitive/SValBuilder.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/SValBuilder.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/Optional.h"
diff --git a/include/clang/GR/PathSensitive/SubEngine.h b/include/clang/EntoSA/PathSensitive/SubEngine.h
similarity index 98%
rename from include/clang/GR/PathSensitive/SubEngine.h
rename to include/clang/EntoSA/PathSensitive/SubEngine.h
index 755dff7..bddd5e9 100644
--- a/include/clang/GR/PathSensitive/SubEngine.h
+++ b/include/clang/EntoSA/PathSensitive/SubEngine.h
@@ -13,7 +13,7 @@
#ifndef LLVM_CLANG_GR_SUBENGINE_H
#define LLVM_CLANG_GR_SUBENGINE_H
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
namespace clang {
diff --git a/include/clang/GR/PathSensitive/SummaryManager.h b/include/clang/EntoSA/PathSensitive/SummaryManager.h
similarity index 100%
rename from include/clang/GR/PathSensitive/SummaryManager.h
rename to include/clang/EntoSA/PathSensitive/SummaryManager.h
diff --git a/include/clang/GR/PathSensitive/SymbolManager.h b/include/clang/EntoSA/PathSensitive/SymbolManager.h
similarity index 100%
rename from include/clang/GR/PathSensitive/SymbolManager.h
rename to include/clang/EntoSA/PathSensitive/SymbolManager.h
diff --git a/include/clang/GR/PathSensitive/TransferFuncs.h b/include/clang/EntoSA/PathSensitive/TransferFuncs.h
similarity index 96%
rename from include/clang/GR/PathSensitive/TransferFuncs.h
rename to include/clang/EntoSA/PathSensitive/TransferFuncs.h
index c73a33d..ac5b4a6 100644
--- a/include/clang/GR/PathSensitive/TransferFuncs.h
+++ b/include/clang/EntoSA/PathSensitive/TransferFuncs.h
@@ -15,8 +15,8 @@
#ifndef LLVM_CLANG_GR_TRANSFERFUNCS
#define LLVM_CLANG_GR_TRANSFERFUNCS
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
#include <vector>
namespace clang {
diff --git a/include/clang/GR/PathSensitive/WorkList.h b/include/clang/EntoSA/PathSensitive/WorkList.h
similarity index 97%
rename from include/clang/GR/PathSensitive/WorkList.h
rename to include/clang/EntoSA/PathSensitive/WorkList.h
index 132bcf6..6f98587 100644
--- a/include/clang/GR/PathSensitive/WorkList.h
+++ b/include/clang/EntoSA/PathSensitive/WorkList.h
@@ -15,7 +15,7 @@
#ifndef LLVM_CLANG_GR_WORKLIST
#define LLVM_CLANG_GR_WORKLIST
-#include "clang/GR/PathSensitive/BlockCounter.h"
+#include "clang/EntoSA/PathSensitive/BlockCounter.h"
#include <cstddef>
namespace clang {
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 2066563..6197dc7 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -12,5 +12,5 @@
add_subdirectory(Frontend)
add_subdirectory(FrontendTool)
add_subdirectory(Index)
-add_subdirectory(GR)
-add_subdirectory(GR/Checkers)
+add_subdirectory(EntoSA)
+add_subdirectory(EntoSA/Checkers)
diff --git a/lib/GR/AggExprVisitor.cpp b/lib/EntoSA/AggExprVisitor.cpp
similarity index 97%
rename from lib/GR/AggExprVisitor.cpp
rename to lib/EntoSA/AggExprVisitor.cpp
index af30c56..c356186 100644
--- a/lib/GR/AggExprVisitor.cpp
+++ b/lib/EntoSA/AggExprVisitor.cpp
@@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/AST/StmtVisitor.h"
using namespace clang;
diff --git a/lib/GR/AnalysisManager.cpp b/lib/EntoSA/AnalysisManager.cpp
similarity index 94%
rename from lib/GR/AnalysisManager.cpp
rename to lib/EntoSA/AnalysisManager.cpp
index 767ae4a..fa64f47 100644
--- a/lib/GR/AnalysisManager.cpp
+++ b/lib/EntoSA/AnalysisManager.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
#include "clang/Index/Entity.h"
#include "clang/Index/Indexer.h"
diff --git a/lib/GR/AnalyzerStatsChecker.cpp b/lib/EntoSA/AnalyzerStatsChecker.cpp
similarity index 95%
rename from lib/GR/AnalyzerStatsChecker.cpp
rename to lib/EntoSA/AnalyzerStatsChecker.cpp
index fa8ae59..fb0e74b 100644
--- a/lib/GR/AnalyzerStatsChecker.cpp
+++ b/lib/EntoSA/AnalyzerStatsChecker.cpp
@@ -9,9 +9,9 @@
// This file reports various statistics about analyzer visitation.
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
// FIXME: Restructure checker registration.
#include "Checkers/ExprEngineExperimentalChecks.h"
diff --git a/lib/GR/BasicConstraintManager.cpp b/lib/EntoSA/BasicConstraintManager.cpp
similarity index 98%
rename from lib/GR/BasicConstraintManager.cpp
rename to lib/EntoSA/BasicConstraintManager.cpp
index da91f5c..92837d2 100644
--- a/lib/GR/BasicConstraintManager.cpp
+++ b/lib/EntoSA/BasicConstraintManager.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "SimpleConstraintManager.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
diff --git a/lib/GR/BasicStore.cpp b/lib/EntoSA/BasicStore.cpp
similarity index 99%
rename from lib/GR/BasicStore.cpp
rename to lib/EntoSA/BasicStore.cpp
index 9eb8d79..8c4a732 100644
--- a/lib/GR/BasicStore.cpp
+++ b/lib/EntoSA/BasicStore.cpp
@@ -15,7 +15,7 @@
#include "clang/AST/ExprObjC.h"
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/Analysis/AnalysisContext.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "llvm/ADT/ImmutableMap.h"
using namespace clang;
diff --git a/lib/GR/BasicValueFactory.cpp b/lib/EntoSA/BasicValueFactory.cpp
similarity index 98%
rename from lib/GR/BasicValueFactory.cpp
rename to lib/EntoSA/BasicValueFactory.cpp
index 8e51361..0d1cb4a 100644
--- a/lib/GR/BasicValueFactory.cpp
+++ b/lib/EntoSA/BasicValueFactory.cpp
@@ -13,7 +13,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/BasicValueFactory.h"
+#include "clang/EntoSA/PathSensitive/BasicValueFactory.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/BlockCounter.cpp b/lib/EntoSA/BlockCounter.cpp
similarity index 97%
rename from lib/GR/BlockCounter.cpp
rename to lib/EntoSA/BlockCounter.cpp
index dadf707..b4e6eee 100644
--- a/lib/GR/BlockCounter.cpp
+++ b/lib/EntoSA/BlockCounter.cpp
@@ -13,7 +13,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/BlockCounter.h"
+#include "clang/EntoSA/PathSensitive/BlockCounter.h"
#include "llvm/ADT/ImmutableMap.h"
using namespace clang;
diff --git a/lib/GR/BugReporter.cpp b/lib/EntoSA/BugReporter.cpp
similarity index 99%
rename from lib/GR/BugReporter.cpp
rename to lib/EntoSA/BugReporter.cpp
index 769e2b9..ff35024 100644
--- a/lib/GR/BugReporter.cpp
+++ b/lib/EntoSA/BugReporter.cpp
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/AST/ASTContext.h"
#include "clang/Analysis/CFG.h"
#include "clang/AST/Expr.h"
@@ -22,7 +22,7 @@
#include "clang/AST/StmtObjC.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Analysis/ProgramPoint.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
diff --git a/lib/GR/BugReporterVisitors.cpp b/lib/EntoSA/BugReporterVisitors.cpp
similarity index 98%
rename from lib/GR/BugReporterVisitors.cpp
rename to lib/EntoSA/BugReporterVisitors.cpp
index 78b5ad6..d264505 100644
--- a/lib/GR/BugReporterVisitors.cpp
+++ b/lib/EntoSA/BugReporterVisitors.cpp
@@ -14,10 +14,10 @@
#include "clang/AST/Expr.h"
#include "clang/AST/ExprObjC.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/CFRefCount.cpp b/lib/EntoSA/CFRefCount.cpp
similarity index 99%
rename from lib/GR/CFRefCount.cpp
rename to lib/EntoSA/CFRefCount.cpp
index 2fe6b18..9c9637e 100644
--- a/lib/GR/CFRefCount.cpp
+++ b/lib/EntoSA/CFRefCount.cpp
@@ -16,15 +16,15 @@
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
#include "clang/Analysis/DomainSpecific/CocoaConventions.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngineBuilders.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngineBuilders.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/ImmutableList.h"
diff --git a/lib/GR/CMakeLists.txt b/lib/EntoSA/CMakeLists.txt
similarity index 87%
rename from lib/GR/CMakeLists.txt
rename to lib/EntoSA/CMakeLists.txt
index 748f712..09a6c2f 100644
--- a/lib/GR/CMakeLists.txt
+++ b/lib/EntoSA/CMakeLists.txt
@@ -2,7 +2,7 @@
set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
-add_clang_library(clangGRCore
+add_clang_library(clangEntoCore
AggExprVisitor.cpp
AnalysisManager.cpp
AnalyzerStatsChecker.cpp
@@ -37,5 +37,5 @@
TextPathDiagnostics.cpp
)
-add_dependencies(clangGRCore ClangAttrClasses ClangAttrList ClangDeclNodes
+add_dependencies(clangEntoCore ClangAttrClasses ClangAttrList ClangDeclNodes
ClangStmtNodes)
diff --git a/lib/GR/CXXExprEngine.cpp b/lib/EntoSA/CXXExprEngine.cpp
similarity index 98%
rename from lib/GR/CXXExprEngine.cpp
rename to lib/EntoSA/CXXExprEngine.cpp
index eee90f2..3ecd439 100644
--- a/lib/GR/CXXExprEngine.cpp
+++ b/lib/EntoSA/CXXExprEngine.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/AnalysisManager.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/AST/DeclCXX.h"
using namespace clang;
diff --git a/lib/GR/Checker.cpp b/lib/EntoSA/Checker.cpp
similarity index 95%
rename from lib/GR/Checker.cpp
rename to lib/EntoSA/Checker.cpp
index 975d847..943be6b 100644
--- a/lib/GR/Checker.cpp
+++ b/lib/EntoSA/Checker.cpp
@@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/CheckerHelpers.cpp b/lib/EntoSA/CheckerHelpers.cpp
similarity index 97%
rename from lib/GR/CheckerHelpers.cpp
rename to lib/EntoSA/CheckerHelpers.cpp
index 81e8339..7c7f707 100644
--- a/lib/GR/CheckerHelpers.cpp
+++ b/lib/EntoSA/CheckerHelpers.cpp
@@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/CheckerHelpers.h"
+#include "clang/EntoSA/PathSensitive/CheckerHelpers.h"
#include "clang/AST/Expr.h"
// Recursively find any substatements containing macros
diff --git a/lib/GR/Checkers/AdjustedReturnValueChecker.cpp b/lib/EntoSA/Checkers/AdjustedReturnValueChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/AdjustedReturnValueChecker.cpp
rename to lib/EntoSA/Checkers/AdjustedReturnValueChecker.cpp
index d4e5389..914b1e4 100644
--- a/lib/GR/Checkers/AdjustedReturnValueChecker.cpp
+++ b/lib/EntoSA/Checkers/AdjustedReturnValueChecker.cpp
@@ -14,9 +14,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/AnalysisConsumer.cpp b/lib/EntoSA/Checkers/AnalysisConsumer.cpp
similarity index 97%
rename from lib/GR/Checkers/AnalysisConsumer.cpp
rename to lib/EntoSA/Checkers/AnalysisConsumer.cpp
index f70de05..043a24a 100644
--- a/lib/GR/Checkers/AnalysisConsumer.cpp
+++ b/lib/EntoSA/Checkers/AnalysisConsumer.cpp
@@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/AnalysisConsumer.h"
+#include "clang/EntoSA/AnalysisConsumer.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
@@ -20,14 +20,14 @@
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/Analysis/Analyses/UninitializedValues.h"
#include "clang/Analysis/CFG.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/ManagerRegistry.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/PathSensitive/AnalysisManager.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
-#include "clang/GR/PathDiagnosticClients.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/ManagerRegistry.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/PathDiagnosticClients.h"
// FIXME: Restructure checker registration.
#include "ExprEngineExperimentalChecks.h"
diff --git a/lib/GR/Checkers/ArrayBoundChecker.cpp b/lib/EntoSA/Checkers/ArrayBoundChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/ArrayBoundChecker.cpp
rename to lib/EntoSA/Checkers/ArrayBoundChecker.cpp
index 9d4e3c4..c72a466 100644
--- a/lib/GR/Checkers/ArrayBoundChecker.cpp
+++ b/lib/EntoSA/Checkers/ArrayBoundChecker.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ArrayBoundCheckerV2.cpp b/lib/EntoSA/Checkers/ArrayBoundCheckerV2.cpp
similarity index 98%
rename from lib/GR/Checkers/ArrayBoundCheckerV2.cpp
rename to lib/EntoSA/Checkers/ArrayBoundCheckerV2.cpp
index 1753ac5..33683ba 100644
--- a/lib/GR/Checkers/ArrayBoundCheckerV2.cpp
+++ b/lib/EntoSA/Checkers/ArrayBoundCheckerV2.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/AST/CharUnits.h"
using namespace clang;
diff --git a/lib/GR/Checkers/AttrNonNullChecker.cpp b/lib/EntoSA/Checkers/AttrNonNullChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/AttrNonNullChecker.cpp
rename to lib/EntoSA/Checkers/AttrNonNullChecker.cpp
index 5c2aede..f887e24 100644
--- a/lib/GR/Checkers/AttrNonNullChecker.cpp
+++ b/lib/EntoSA/Checkers/AttrNonNullChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/BasicObjCFoundationChecks.cpp b/lib/EntoSA/Checkers/BasicObjCFoundationChecks.cpp
similarity index 97%
rename from lib/GR/Checkers/BasicObjCFoundationChecks.cpp
rename to lib/EntoSA/Checkers/BasicObjCFoundationChecks.cpp
index a172477..8e83160 100644
--- a/lib/GR/Checkers/BasicObjCFoundationChecks.cpp
+++ b/lib/EntoSA/Checkers/BasicObjCFoundationChecks.cpp
@@ -15,14 +15,14 @@
#include "BasicObjCFoundationChecks.h"
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/MemRegion.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprObjC.h"
diff --git a/lib/GR/Checkers/BasicObjCFoundationChecks.h b/lib/EntoSA/Checkers/BasicObjCFoundationChecks.h
similarity index 100%
rename from lib/GR/Checkers/BasicObjCFoundationChecks.h
rename to lib/EntoSA/Checkers/BasicObjCFoundationChecks.h
diff --git a/lib/GR/Checkers/BuiltinFunctionChecker.cpp b/lib/EntoSA/Checkers/BuiltinFunctionChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/BuiltinFunctionChecker.cpp
rename to lib/EntoSA/Checkers/BuiltinFunctionChecker.cpp
index 697f0a4..1db8aac 100644
--- a/lib/GR/Checkers/BuiltinFunctionChecker.cpp
+++ b/lib/EntoSA/Checkers/BuiltinFunctionChecker.cpp
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
#include "clang/Basic/Builtins.h"
using namespace clang;
diff --git a/lib/GR/Checkers/CMakeLists.txt b/lib/EntoSA/Checkers/CMakeLists.txt
similarity index 91%
rename from lib/GR/Checkers/CMakeLists.txt
rename to lib/EntoSA/Checkers/CMakeLists.txt
index 2f2c7a7..224a515 100644
--- a/lib/GR/Checkers/CMakeLists.txt
+++ b/lib/EntoSA/Checkers/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_clang_library(clangGRCheckers
+add_clang_library(clangEntoCheckers
AdjustedReturnValueChecker.cpp
AnalysisConsumer.cpp
ArrayBoundChecker.cpp
@@ -49,5 +49,5 @@
VLASizeChecker.cpp
)
-add_dependencies(clangGRCore ClangAttrClasses ClangAttrList ClangDeclNodes
+add_dependencies(clangEntoCore ClangAttrClasses ClangAttrList ClangDeclNodes
ClangStmtNodes)
diff --git a/lib/GR/Checkers/CStringChecker.cpp b/lib/EntoSA/Checkers/CStringChecker.cpp
similarity index 99%
rename from lib/GR/Checkers/CStringChecker.cpp
rename to lib/EntoSA/Checkers/CStringChecker.cpp
index d658c2f..199d6b2 100644
--- a/lib/GR/Checkers/CStringChecker.cpp
+++ b/lib/EntoSA/Checkers/CStringChecker.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineExperimentalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
#include "llvm/ADT/StringSwitch.h"
using namespace clang;
diff --git a/lib/GR/Checkers/CallAndMessageChecker.cpp b/lib/EntoSA/Checkers/CallAndMessageChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/CallAndMessageChecker.cpp
rename to lib/EntoSA/Checkers/CallAndMessageChecker.cpp
index 24fc20e..2fa37e3 100644
--- a/lib/GR/Checkers/CallAndMessageChecker.cpp
+++ b/lib/EntoSA/Checkers/CallAndMessageChecker.cpp
@@ -15,8 +15,8 @@
#include "ExprEngineInternalChecks.h"
#include "clang/AST/ParentMap.h"
#include "clang/Basic/TargetInfo.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/CastSizeChecker.cpp b/lib/EntoSA/Checkers/CastSizeChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/CastSizeChecker.cpp
rename to lib/EntoSA/Checkers/CastSizeChecker.cpp
index 7844f51..41a72ef 100644
--- a/lib/GR/Checkers/CastSizeChecker.cpp
+++ b/lib/EntoSA/Checkers/CastSizeChecker.cpp
@@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
#include "clang/AST/CharUnits.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
#include "ExprEngineInternalChecks.h"
using namespace clang;
diff --git a/lib/GR/Checkers/CastToStructChecker.cpp b/lib/EntoSA/Checkers/CastToStructChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/CastToStructChecker.cpp
rename to lib/EntoSA/Checkers/CastToStructChecker.cpp
index 236623f..83393b9 100644
--- a/lib/GR/Checkers/CastToStructChecker.cpp
+++ b/lib/EntoSA/Checkers/CastToStructChecker.cpp
@@ -13,8 +13,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
#include "ExprEngineInternalChecks.h"
using namespace clang;
diff --git a/lib/GR/Checkers/CheckDeadStores.cpp b/lib/EntoSA/Checkers/CheckDeadStores.cpp
similarity index 98%
rename from lib/GR/Checkers/CheckDeadStores.cpp
rename to lib/EntoSA/Checkers/CheckDeadStores.cpp
index d2ffd6a..047c83a 100644
--- a/lib/GR/Checkers/CheckDeadStores.cpp
+++ b/lib/EntoSA/Checkers/CheckDeadStores.cpp
@@ -12,11 +12,11 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/Analysis/Visitors/CFGRecStmtVisitor.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/AST/ASTContext.h"
diff --git a/lib/GR/Checkers/CheckObjCDealloc.cpp b/lib/EntoSA/Checkers/CheckObjCDealloc.cpp
similarity index 97%
rename from lib/GR/Checkers/CheckObjCDealloc.cpp
rename to lib/EntoSA/Checkers/CheckObjCDealloc.cpp
index 1aa0249..391e30f 100644
--- a/lib/GR/Checkers/CheckObjCDealloc.cpp
+++ b/lib/EntoSA/Checkers/CheckObjCDealloc.cpp
@@ -13,9 +13,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/DeclObjC.h"
diff --git a/lib/GR/Checkers/CheckObjCInstMethSignature.cpp b/lib/EntoSA/Checkers/CheckObjCInstMethSignature.cpp
similarity index 95%
rename from lib/GR/Checkers/CheckObjCInstMethSignature.cpp
rename to lib/EntoSA/Checkers/CheckObjCInstMethSignature.cpp
index 62c5e60..f908e69 100644
--- a/lib/GR/Checkers/CheckObjCInstMethSignature.cpp
+++ b/lib/EntoSA/Checkers/CheckObjCInstMethSignature.cpp
@@ -13,9 +13,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Type.h"
#include "clang/AST/ASTContext.h"
diff --git a/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp b/lib/EntoSA/Checkers/CheckSecuritySyntaxOnly.cpp
similarity index 99%
rename from lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp
rename to lib/EntoSA/Checkers/CheckSecuritySyntaxOnly.cpp
index bdb03f8..98da692 100644
--- a/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp
+++ b/lib/EntoSA/Checkers/CheckSecuritySyntaxOnly.cpp
@@ -12,8 +12,8 @@
//===----------------------------------------------------------------------===//
#include "clang/Basic/TargetInfo.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
#include "clang/AST/StmtVisitor.h"
#include "llvm/Support/raw_ostream.h"
diff --git a/lib/GR/Checkers/CheckSizeofPointer.cpp b/lib/EntoSA/Checkers/CheckSizeofPointer.cpp
similarity index 95%
rename from lib/GR/Checkers/CheckSizeofPointer.cpp
rename to lib/EntoSA/Checkers/CheckSizeofPointer.cpp
index 3a2e8c7..f7ab951 100644
--- a/lib/GR/Checkers/CheckSizeofPointer.cpp
+++ b/lib/EntoSA/Checkers/CheckSizeofPointer.cpp
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "clang/AST/StmtVisitor.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ChrootChecker.cpp b/lib/EntoSA/Checkers/ChrootChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/ChrootChecker.cpp
rename to lib/EntoSA/Checkers/ChrootChecker.cpp
index 6a36593..e951c29 100644
--- a/lib/GR/Checkers/ChrootChecker.cpp
+++ b/lib/EntoSA/Checkers/ChrootChecker.cpp
@@ -12,11 +12,11 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineExperimentalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "llvm/ADT/ImmutableMap.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/DereferenceChecker.cpp b/lib/EntoSA/Checkers/DereferenceChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/DereferenceChecker.cpp
rename to lib/EntoSA/Checkers/DereferenceChecker.cpp
index cecea57..35fae40 100644
--- a/lib/GR/Checkers/DereferenceChecker.cpp
+++ b/lib/EntoSA/Checkers/DereferenceChecker.cpp
@@ -13,10 +13,10 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/Checkers/DereferenceChecker.h"
-#include "clang/GR/PathSensitive/Checker.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/Checkers/DereferenceChecker.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/DivZeroChecker.cpp b/lib/EntoSA/Checkers/DivZeroChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/DivZeroChecker.cpp
rename to lib/EntoSA/Checkers/DivZeroChecker.cpp
index 2119a0c..24c743a 100644
--- a/lib/GR/Checkers/DivZeroChecker.cpp
+++ b/lib/EntoSA/Checkers/DivZeroChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ExprEngine.cpp b/lib/EntoSA/Checkers/ExprEngine.cpp
similarity index 99%
rename from lib/GR/Checkers/ExprEngine.cpp
rename to lib/EntoSA/Checkers/ExprEngine.cpp
index 2ff665c..afd6318 100644
--- a/lib/GR/Checkers/ExprEngine.cpp
+++ b/lib/EntoSA/Checkers/ExprEngine.cpp
@@ -16,11 +16,11 @@
// FIXME: Restructure checker registration.
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/AnalysisManager.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/ExprEngineBuilders.h"
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/ExprEngineBuilders.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/ParentMap.h"
#include "clang/AST/StmtObjC.h"
diff --git a/lib/GR/Checkers/ExprEngineExperimentalChecks.cpp b/lib/EntoSA/Checkers/ExprEngineExperimentalChecks.cpp
similarity index 96%
rename from lib/GR/Checkers/ExprEngineExperimentalChecks.cpp
rename to lib/EntoSA/Checkers/ExprEngineExperimentalChecks.cpp
index 9f3c04a..6ab5a4d 100644
--- a/lib/GR/Checkers/ExprEngineExperimentalChecks.cpp
+++ b/lib/EntoSA/Checkers/ExprEngineExperimentalChecks.cpp
@@ -14,7 +14,7 @@
#include "ExprEngineInternalChecks.h"
#include "ExprEngineExperimentalChecks.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ExprEngineExperimentalChecks.h b/lib/EntoSA/Checkers/ExprEngineExperimentalChecks.h
similarity index 100%
rename from lib/GR/Checkers/ExprEngineExperimentalChecks.h
rename to lib/EntoSA/Checkers/ExprEngineExperimentalChecks.h
diff --git a/lib/GR/Checkers/ExprEngineInternalChecks.h b/lib/EntoSA/Checkers/ExprEngineInternalChecks.h
similarity index 100%
rename from lib/GR/Checkers/ExprEngineInternalChecks.h
rename to lib/EntoSA/Checkers/ExprEngineInternalChecks.h
diff --git a/lib/GR/Checkers/FixedAddressChecker.cpp b/lib/EntoSA/Checkers/FixedAddressChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/FixedAddressChecker.cpp
rename to lib/EntoSA/Checkers/FixedAddressChecker.cpp
index 1d629ee..ea73643 100644
--- a/lib/GR/Checkers/FixedAddressChecker.cpp
+++ b/lib/EntoSA/Checkers/FixedAddressChecker.cpp
@@ -14,8 +14,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/FrontendActions.cpp b/lib/EntoSA/Checkers/FrontendActions.cpp
similarity index 89%
rename from lib/GR/Checkers/FrontendActions.cpp
rename to lib/EntoSA/Checkers/FrontendActions.cpp
index c883782..b901afc 100644
--- a/lib/GR/Checkers/FrontendActions.cpp
+++ b/lib/EntoSA/Checkers/FrontendActions.cpp
@@ -7,9 +7,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/FrontendActions.h"
+#include "clang/EntoSA/FrontendActions.h"
#include "clang/Frontend/CompilerInstance.h"
-#include "clang/GR/AnalysisConsumer.h"
+#include "clang/EntoSA/AnalysisConsumer.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/IdempotentOperationChecker.cpp b/lib/EntoSA/Checkers/IdempotentOperationChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/IdempotentOperationChecker.cpp
rename to lib/EntoSA/Checkers/IdempotentOperationChecker.cpp
index 56bb542..04f652c 100644
--- a/lib/GR/Checkers/IdempotentOperationChecker.cpp
+++ b/lib/EntoSA/Checkers/IdempotentOperationChecker.cpp
@@ -45,12 +45,12 @@
#include "ExprEngineExperimentalChecks.h"
#include "clang/Analysis/CFGStmtMap.h"
#include "clang/Analysis/Analyses/PseudoConstantAnalysis.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerHelpers.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/CoreEngine.h"
-#include "clang/GR/PathSensitive/SVals.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerHelpers.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/CoreEngine.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
#include "clang/AST/Stmt.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallSet.h"
diff --git a/lib/GR/Checkers/LLVMConventionsChecker.cpp b/lib/EntoSA/Checkers/LLVMConventionsChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/LLVMConventionsChecker.cpp
rename to lib/EntoSA/Checkers/LLVMConventionsChecker.cpp
index 864dd85..e88997f 100644
--- a/lib/GR/Checkers/LLVMConventionsChecker.cpp
+++ b/lib/EntoSA/Checkers/LLVMConventionsChecker.cpp
@@ -14,8 +14,8 @@
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/StmtVisitor.h"
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include <string>
#include "llvm/ADT/StringRef.h"
diff --git a/lib/GR/Checkers/MacOSXAPIChecker.cpp b/lib/EntoSA/Checkers/MacOSXAPIChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/MacOSXAPIChecker.cpp
rename to lib/EntoSA/Checkers/MacOSXAPIChecker.cpp
index 5934c5f..c2f5f4b 100644
--- a/lib/GR/Checkers/MacOSXAPIChecker.cpp
+++ b/lib/EntoSA/Checkers/MacOSXAPIChecker.cpp
@@ -17,9 +17,9 @@
#include "ExprEngineInternalChecks.h"
#include "clang/Basic/TargetInfo.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/raw_ostream.h"
diff --git a/lib/GR/Checkers/Makefile b/lib/EntoSA/Checkers/Makefile
similarity index 93%
rename from lib/GR/Checkers/Makefile
rename to lib/EntoSA/Checkers/Makefile
index b3d213a..9ba4e28 100644
--- a/lib/GR/Checkers/Makefile
+++ b/lib/EntoSA/Checkers/Makefile
@@ -12,6 +12,6 @@
##===----------------------------------------------------------------------===##
CLANG_LEVEL := ../../..
-LIBRARYNAME := clangGRCheckers
+LIBRARYNAME := clangEntoCheckers
include $(CLANG_LEVEL)/Makefile
diff --git a/lib/GR/Checkers/MallocChecker.cpp b/lib/EntoSA/Checkers/MallocChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/MallocChecker.cpp
rename to lib/EntoSA/Checkers/MallocChecker.cpp
index a4d317f..2b0ae82 100644
--- a/lib/GR/Checkers/MallocChecker.cpp
+++ b/lib/EntoSA/Checkers/MallocChecker.cpp
@@ -13,11 +13,11 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineExperimentalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "llvm/ADT/ImmutableMap.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp b/lib/EntoSA/Checkers/NSAutoreleasePoolChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/NSAutoreleasePoolChecker.cpp
rename to lib/EntoSA/Checkers/NSAutoreleasePoolChecker.cpp
index c93121f..acad46c 100644
--- a/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp
+++ b/lib/EntoSA/Checkers/NSAutoreleasePoolChecker.cpp
@@ -15,9 +15,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
#include "BasicObjCFoundationChecks.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Decl.h"
diff --git a/lib/GR/Checkers/NSErrorChecker.cpp b/lib/EntoSA/Checkers/NSErrorChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/NSErrorChecker.cpp
rename to lib/EntoSA/Checkers/NSErrorChecker.cpp
index ee3f901..d5c395f 100644
--- a/lib/GR/Checkers/NSErrorChecker.cpp
+++ b/lib/EntoSA/Checkers/NSErrorChecker.cpp
@@ -15,10 +15,10 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/Checkers/DereferenceChecker.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/Checkers/DereferenceChecker.h"
#include "BasicObjCFoundationChecks.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Decl.h"
diff --git a/lib/GR/Checkers/NoReturnFunctionChecker.cpp b/lib/EntoSA/Checkers/NoReturnFunctionChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/NoReturnFunctionChecker.cpp
rename to lib/EntoSA/Checkers/NoReturnFunctionChecker.cpp
index ad86ac5..4b96ddb 100644
--- a/lib/GR/Checkers/NoReturnFunctionChecker.cpp
+++ b/lib/EntoSA/Checkers/NoReturnFunctionChecker.cpp
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
#include "llvm/ADT/StringSwitch.h"
using namespace clang;
diff --git a/lib/GR/Checkers/OSAtomicChecker.cpp b/lib/EntoSA/Checkers/OSAtomicChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/OSAtomicChecker.cpp
rename to lib/EntoSA/Checkers/OSAtomicChecker.cpp
index 3d230ce..cc67c3d 100644
--- a/lib/GR/Checkers/OSAtomicChecker.cpp
+++ b/lib/EntoSA/Checkers/OSAtomicChecker.cpp
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
#include "clang/Basic/Builtins.h"
using namespace clang;
diff --git a/lib/GR/Checkers/ObjCAtSyncChecker.cpp b/lib/EntoSA/Checkers/ObjCAtSyncChecker.cpp
similarity index 93%
rename from lib/GR/Checkers/ObjCAtSyncChecker.cpp
rename to lib/EntoSA/Checkers/ObjCAtSyncChecker.cpp
index b44fae8..3e901b6 100644
--- a/lib/GR/Checkers/ObjCAtSyncChecker.cpp
+++ b/lib/EntoSA/Checkers/ObjCAtSyncChecker.cpp
@@ -13,10 +13,10 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/Checkers/DereferenceChecker.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/Checkers/DereferenceChecker.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ObjCUnusedIVarsChecker.cpp b/lib/EntoSA/Checkers/ObjCUnusedIVarsChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/ObjCUnusedIVarsChecker.cpp
rename to lib/EntoSA/Checkers/ObjCUnusedIVarsChecker.cpp
index 177f6a2..a2e2475 100644
--- a/lib/GR/Checkers/ObjCUnusedIVarsChecker.cpp
+++ b/lib/EntoSA/Checkers/ObjCUnusedIVarsChecker.cpp
@@ -13,9 +13,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/Checkers/LocalCheckers.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/Checkers/LocalCheckers.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/DeclObjC.h"
diff --git a/lib/GR/Checkers/PointerArithChecker.cpp b/lib/EntoSA/Checkers/PointerArithChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/PointerArithChecker.cpp
rename to lib/EntoSA/Checkers/PointerArithChecker.cpp
index f40eeec..30009a2 100644
--- a/lib/GR/Checkers/PointerArithChecker.cpp
+++ b/lib/EntoSA/Checkers/PointerArithChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/PointerSubChecker.cpp b/lib/EntoSA/Checkers/PointerSubChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/PointerSubChecker.cpp
rename to lib/EntoSA/Checkers/PointerSubChecker.cpp
index 63aa904..923d0a8 100644
--- a/lib/GR/Checkers/PointerSubChecker.cpp
+++ b/lib/EntoSA/Checkers/PointerSubChecker.cpp
@@ -14,8 +14,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/PthreadLockChecker.cpp b/lib/EntoSA/Checkers/PthreadLockChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/PthreadLockChecker.cpp
rename to lib/EntoSA/Checkers/PthreadLockChecker.cpp
index 517f6b1..56c9adb 100644
--- a/lib/GR/Checkers/PthreadLockChecker.cpp
+++ b/lib/EntoSA/Checkers/PthreadLockChecker.cpp
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/BugReporter/BugReporter.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
#include "ExprEngineExperimentalChecks.h"
#include "llvm/ADT/ImmutableSet.h"
diff --git a/lib/GR/Checkers/ReturnPointerRangeChecker.cpp b/lib/EntoSA/Checkers/ReturnPointerRangeChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/ReturnPointerRangeChecker.cpp
rename to lib/EntoSA/Checkers/ReturnPointerRangeChecker.cpp
index 80316f5..8afe984 100644
--- a/lib/GR/Checkers/ReturnPointerRangeChecker.cpp
+++ b/lib/EntoSA/Checkers/ReturnPointerRangeChecker.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/ReturnUndefChecker.cpp b/lib/EntoSA/Checkers/ReturnUndefChecker.cpp
similarity index 91%
rename from lib/GR/Checkers/ReturnUndefChecker.cpp
rename to lib/EntoSA/Checkers/ReturnUndefChecker.cpp
index 17a2a55..8e46519 100644
--- a/lib/GR/Checkers/ReturnUndefChecker.cpp
+++ b/lib/EntoSA/Checkers/ReturnUndefChecker.cpp
@@ -14,9 +14,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/StackAddrLeakChecker.cpp b/lib/EntoSA/Checkers/StackAddrLeakChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/StackAddrLeakChecker.cpp
rename to lib/EntoSA/Checkers/StackAddrLeakChecker.cpp
index 229356a..c9aebad 100644
--- a/lib/GR/Checkers/StackAddrLeakChecker.cpp
+++ b/lib/EntoSA/Checkers/StackAddrLeakChecker.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/SmallString.h"
using namespace clang;
diff --git a/lib/GR/Checkers/StreamChecker.cpp b/lib/EntoSA/Checkers/StreamChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/StreamChecker.cpp
rename to lib/EntoSA/Checkers/StreamChecker.cpp
index 32e22b0..cb7899f 100644
--- a/lib/GR/Checkers/StreamChecker.cpp
+++ b/lib/EntoSA/Checkers/StreamChecker.cpp
@@ -12,11 +12,11 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineExperimentalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "llvm/ADT/ImmutableMap.h"
using namespace clang;
diff --git a/lib/GR/Checkers/UndefBranchChecker.cpp b/lib/EntoSA/Checkers/UndefBranchChecker.cpp
similarity index 97%
rename from lib/GR/Checkers/UndefBranchChecker.cpp
rename to lib/EntoSA/Checkers/UndefBranchChecker.cpp
index fc668be..30d0728 100644
--- a/lib/GR/Checkers/UndefBranchChecker.cpp
+++ b/lib/EntoSA/Checkers/UndefBranchChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/UndefCapturedBlockVarChecker.cpp b/lib/EntoSA/Checkers/UndefCapturedBlockVarChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/UndefCapturedBlockVarChecker.cpp
rename to lib/EntoSA/Checkers/UndefCapturedBlockVarChecker.cpp
index 8ceda3d..dcdcf1f 100644
--- a/lib/GR/Checkers/UndefCapturedBlockVarChecker.cpp
+++ b/lib/EntoSA/Checkers/UndefCapturedBlockVarChecker.cpp
@@ -12,9 +12,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
diff --git a/lib/GR/Checkers/UndefResultChecker.cpp b/lib/EntoSA/Checkers/UndefResultChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/UndefResultChecker.cpp
rename to lib/EntoSA/Checkers/UndefResultChecker.cpp
index 3d4faa2..c042740 100644
--- a/lib/GR/Checkers/UndefResultChecker.cpp
+++ b/lib/EntoSA/Checkers/UndefResultChecker.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/UndefinedArraySubscriptChecker.cpp b/lib/EntoSA/Checkers/UndefinedArraySubscriptChecker.cpp
similarity index 94%
rename from lib/GR/Checkers/UndefinedArraySubscriptChecker.cpp
rename to lib/EntoSA/Checkers/UndefinedArraySubscriptChecker.cpp
index 90f7d5d..aea78c0 100644
--- a/lib/GR/Checkers/UndefinedArraySubscriptChecker.cpp
+++ b/lib/EntoSA/Checkers/UndefinedArraySubscriptChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/UndefinedAssignmentChecker.cpp b/lib/EntoSA/Checkers/UndefinedAssignmentChecker.cpp
similarity index 95%
rename from lib/GR/Checkers/UndefinedAssignmentChecker.cpp
rename to lib/EntoSA/Checkers/UndefinedAssignmentChecker.cpp
index 8addd44..5060cdf 100644
--- a/lib/GR/Checkers/UndefinedAssignmentChecker.cpp
+++ b/lib/EntoSA/Checkers/UndefinedAssignmentChecker.cpp
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "ExprEngineInternalChecks.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Checkers/UnixAPIChecker.cpp b/lib/EntoSA/Checkers/UnixAPIChecker.cpp
similarity index 98%
rename from lib/GR/Checkers/UnixAPIChecker.cpp
rename to lib/EntoSA/Checkers/UnixAPIChecker.cpp
index b9d8b57..c45659c 100644
--- a/lib/GR/Checkers/UnixAPIChecker.cpp
+++ b/lib/EntoSA/Checkers/UnixAPIChecker.cpp
@@ -14,8 +14,8 @@
#include "ExprEngineInternalChecks.h"
#include "clang/Basic/TargetInfo.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringSwitch.h"
#include <fcntl.h>
diff --git a/lib/GR/Checkers/UnreachableCodeChecker.cpp b/lib/EntoSA/Checkers/UnreachableCodeChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/UnreachableCodeChecker.cpp
rename to lib/EntoSA/Checkers/UnreachableCodeChecker.cpp
index b52dc87..e3ea72e 100644
--- a/lib/GR/Checkers/UnreachableCodeChecker.cpp
+++ b/lib/EntoSA/Checkers/UnreachableCodeChecker.cpp
@@ -16,11 +16,11 @@
#include "clang/AST/ParentMap.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/SourceManager.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/PathSensitive/SVals.h"
-#include "clang/GR/PathSensitive/CheckerHelpers.h"
-#include "clang/GR/BugReporter/BugReporter.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/CheckerHelpers.h"
+#include "clang/EntoSA/BugReporter/BugReporter.h"
#include "ExprEngineExperimentalChecks.h"
#include "llvm/ADT/SmallPtrSet.h"
diff --git a/lib/GR/Checkers/VLASizeChecker.cpp b/lib/EntoSA/Checkers/VLASizeChecker.cpp
similarity index 96%
rename from lib/GR/Checkers/VLASizeChecker.cpp
rename to lib/EntoSA/Checkers/VLASizeChecker.cpp
index d21ad21..0d17238 100644
--- a/lib/GR/Checkers/VLASizeChecker.cpp
+++ b/lib/EntoSA/Checkers/VLASizeChecker.cpp
@@ -16,9 +16,9 @@
#include "ExprEngineInternalChecks.h"
#include "clang/AST/CharUnits.h"
-#include "clang/GR/BugReporter/BugType.h"
-#include "clang/GR/PathSensitive/CheckerVisitor.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/BugReporter/BugType.h"
+#include "clang/EntoSA/PathSensitive/CheckerVisitor.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/CoreEngine.cpp b/lib/EntoSA/CoreEngine.cpp
similarity index 98%
rename from lib/GR/CoreEngine.cpp
rename to lib/EntoSA/CoreEngine.cpp
index 3236b92..478e77b 100644
--- a/lib/GR/CoreEngine.cpp
+++ b/lib/EntoSA/CoreEngine.cpp
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/AnalysisManager.h"
-#include "clang/GR/PathSensitive/CoreEngine.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/AnalysisManager.h"
+#include "clang/EntoSA/PathSensitive/CoreEngine.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
#include "clang/Index/TranslationUnit.h"
#include "clang/AST/Expr.h"
#include "llvm/Support/Casting.h"
diff --git a/lib/GR/Environment.cpp b/lib/EntoSA/Environment.cpp
similarity index 99%
rename from lib/GR/Environment.cpp
rename to lib/EntoSA/Environment.cpp
index 4961704..eecbabb 100644
--- a/lib/GR/Environment.cpp
+++ b/lib/EntoSA/Environment.cpp
@@ -13,7 +13,7 @@
#include "clang/Analysis/AnalysisContext.h"
#include "clang/Analysis/CFG.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/ExplodedGraph.cpp b/lib/EntoSA/ExplodedGraph.cpp
similarity index 98%
rename from lib/GR/ExplodedGraph.cpp
rename to lib/EntoSA/ExplodedGraph.cpp
index dd206ab..ec66ba6 100644
--- a/lib/GR/ExplodedGraph.cpp
+++ b/lib/EntoSA/ExplodedGraph.cpp
@@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/ExplodedGraph.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/ExplodedGraph.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "clang/AST/Stmt.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/DenseMap.h"
diff --git a/lib/GR/FlatStore.cpp b/lib/EntoSA/FlatStore.cpp
similarity index 98%
rename from lib/GR/FlatStore.cpp
rename to lib/EntoSA/FlatStore.cpp
index 6809c3b..8ded4d1 100644
--- a/lib/GR/FlatStore.cpp
+++ b/lib/EntoSA/FlatStore.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "llvm/ADT/ImmutableIntervalMap.h"
#include "llvm/Support/ErrorHandling.h"
diff --git a/lib/GR/GRState.cpp b/lib/EntoSA/GRState.cpp
similarity index 98%
rename from lib/GR/GRState.cpp
rename to lib/EntoSA/GRState.cpp
index e531cc9..6239623 100644
--- a/lib/GR/GRState.cpp
+++ b/lib/EntoSA/GRState.cpp
@@ -12,10 +12,10 @@
//===----------------------------------------------------------------------===//
#include "clang/Analysis/CFG.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/SubEngine.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/SubEngine.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
diff --git a/lib/GR/HTMLDiagnostics.cpp b/lib/EntoSA/HTMLDiagnostics.cpp
similarity index 99%
rename from lib/GR/HTMLDiagnostics.cpp
rename to lib/EntoSA/HTMLDiagnostics.cpp
index 72a854a..a0d338a 100644
--- a/lib/GR/HTMLDiagnostics.cpp
+++ b/lib/EntoSA/HTMLDiagnostics.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathDiagnosticClients.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/PathDiagnosticClients.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/SourceManager.h"
diff --git a/lib/GR/Makefile b/lib/EntoSA/Makefile
similarity index 94%
rename from lib/GR/Makefile
rename to lib/EntoSA/Makefile
index 3261983..9678138 100644
--- a/lib/GR/Makefile
+++ b/lib/EntoSA/Makefile
@@ -12,7 +12,7 @@
##===----------------------------------------------------------------------===##
CLANG_LEVEL := ../..
-LIBRARYNAME := clangGRCore
+LIBRARYNAME := clangEntoCore
PARALLEL_DIRS := Checkers
include $(CLANG_LEVEL)/Makefile
diff --git a/lib/GR/ManagerRegistry.cpp b/lib/EntoSA/ManagerRegistry.cpp
similarity index 93%
rename from lib/GR/ManagerRegistry.cpp
rename to lib/EntoSA/ManagerRegistry.cpp
index 4058c11..99b7a70 100644
--- a/lib/GR/ManagerRegistry.cpp
+++ b/lib/EntoSA/ManagerRegistry.cpp
@@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/ManagerRegistry.h"
+#include "clang/EntoSA/ManagerRegistry.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/MemRegion.cpp b/lib/EntoSA/MemRegion.cpp
similarity index 99%
rename from lib/GR/MemRegion.cpp
rename to lib/EntoSA/MemRegion.cpp
index f162236..ff0f340 100644
--- a/lib/GR/MemRegion.cpp
+++ b/lib/EntoSA/MemRegion.cpp
@@ -13,8 +13,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/MemRegion.h"
-#include "clang/GR/PathSensitive/SValBuilder.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/SValBuilder.h"
#include "clang/Analysis/AnalysisContext.h"
#include "clang/Analysis/Support/BumpVector.h"
#include "clang/AST/CharUnits.h"
diff --git a/lib/GR/PathDiagnostic.cpp b/lib/EntoSA/PathDiagnostic.cpp
similarity index 98%
rename from lib/GR/PathDiagnostic.cpp
rename to lib/EntoSA/PathDiagnostic.cpp
index 69c660b..bf8c8b0 100644
--- a/lib/GR/PathDiagnostic.cpp
+++ b/lib/EntoSA/PathDiagnostic.cpp
@@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
diff --git a/lib/GR/PlistDiagnostics.cpp b/lib/EntoSA/PlistDiagnostics.cpp
similarity index 98%
rename from lib/GR/PlistDiagnostics.cpp
rename to lib/EntoSA/PlistDiagnostics.cpp
index ebab2b2..6e54d49 100644
--- a/lib/GR/PlistDiagnostics.cpp
+++ b/lib/EntoSA/PlistDiagnostics.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathDiagnosticClients.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/PathDiagnosticClients.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/FileManager.h"
#include "clang/Lex/Preprocessor.h"
diff --git a/lib/GR/README.txt b/lib/EntoSA/README.txt
similarity index 100%
rename from lib/GR/README.txt
rename to lib/EntoSA/README.txt
diff --git a/lib/GR/RangeConstraintManager.cpp b/lib/EntoSA/RangeConstraintManager.cpp
similarity index 98%
rename from lib/GR/RangeConstraintManager.cpp
rename to lib/EntoSA/RangeConstraintManager.cpp
index 5ce69ba..5c2d674 100644
--- a/lib/GR/RangeConstraintManager.cpp
+++ b/lib/EntoSA/RangeConstraintManager.cpp
@@ -13,10 +13,10 @@
//===----------------------------------------------------------------------===//
#include "SimpleConstraintManager.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/TransferFuncs.h"
-#include "clang/GR/ManagerRegistry.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/TransferFuncs.h"
+#include "clang/EntoSA/ManagerRegistry.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/ImmutableSet.h"
diff --git a/lib/GR/RegionStore.cpp b/lib/EntoSA/RegionStore.cpp
similarity index 99%
rename from lib/GR/RegionStore.cpp
rename to lib/EntoSA/RegionStore.cpp
index 0ae68cf..4913d1a 100644
--- a/lib/GR/RegionStore.cpp
+++ b/lib/EntoSA/RegionStore.cpp
@@ -20,9 +20,9 @@
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/Analysis/AnalysisContext.h"
#include "clang/Basic/TargetInfo.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/GRStateTrait.h"
-#include "clang/GR/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRStateTrait.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
#include "llvm/ADT/ImmutableList.h"
#include "llvm/ADT/ImmutableMap.h"
#include "llvm/ADT/Optional.h"
diff --git a/lib/GR/SValBuilder.cpp b/lib/EntoSA/SValBuilder.cpp
similarity index 97%
rename from lib/GR/SValBuilder.cpp
rename to lib/EntoSA/SValBuilder.cpp
index eec5193..c4efaae 100644
--- a/lib/GR/SValBuilder.cpp
+++ b/lib/EntoSA/SValBuilder.cpp
@@ -12,11 +12,11 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/MemRegion.h"
-#include "clang/GR/PathSensitive/SVals.h"
-#include "clang/GR/PathSensitive/SValBuilder.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/BasicValueFactory.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/SVals.h"
+#include "clang/EntoSA/PathSensitive/SValBuilder.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/BasicValueFactory.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/SVals.cpp b/lib/EntoSA/SVals.cpp
similarity index 99%
rename from lib/GR/SVals.cpp
rename to lib/EntoSA/SVals.cpp
index ed2bc13..ea23293 100644
--- a/lib/GR/SVals.cpp
+++ b/lib/EntoSA/SVals.cpp
@@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "clang/Basic/IdentifierTable.h"
using namespace clang;
diff --git a/lib/GR/SimpleConstraintManager.cpp b/lib/EntoSA/SimpleConstraintManager.cpp
similarity index 98%
rename from lib/GR/SimpleConstraintManager.cpp
rename to lib/EntoSA/SimpleConstraintManager.cpp
index f0d50da..ef26fc5 100644
--- a/lib/GR/SimpleConstraintManager.cpp
+++ b/lib/EntoSA/SimpleConstraintManager.cpp
@@ -13,9 +13,9 @@
//===----------------------------------------------------------------------===//
#include "SimpleConstraintManager.h"
-#include "clang/GR/PathSensitive/ExprEngine.h"
-#include "clang/GR/PathSensitive/GRState.h"
-#include "clang/GR/PathSensitive/Checker.h"
+#include "clang/EntoSA/PathSensitive/ExprEngine.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/Checker.h"
namespace clang {
diff --git a/lib/GR/SimpleConstraintManager.h b/lib/EntoSA/SimpleConstraintManager.h
similarity index 96%
rename from lib/GR/SimpleConstraintManager.h
rename to lib/EntoSA/SimpleConstraintManager.h
index 85d133f..83db8cc 100644
--- a/lib/GR/SimpleConstraintManager.h
+++ b/lib/EntoSA/SimpleConstraintManager.h
@@ -14,8 +14,8 @@
#ifndef LLVM_CLANG_GR_SIMPLE_CONSTRAINT_MANAGER_H
#define LLVM_CLANG_GR_SIMPLE_CONSTRAINT_MANAGER_H
-#include "clang/GR/PathSensitive/ConstraintManager.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/ConstraintManager.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
namespace clang {
diff --git a/lib/GR/SimpleSValBuilder.cpp b/lib/EntoSA/SimpleSValBuilder.cpp
similarity index 99%
rename from lib/GR/SimpleSValBuilder.cpp
rename to lib/EntoSA/SimpleSValBuilder.cpp
index bcd303e..ac0bfa6 100644
--- a/lib/GR/SimpleSValBuilder.cpp
+++ b/lib/EntoSA/SimpleSValBuilder.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/SValBuilder.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/SValBuilder.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
using namespace clang;
using namespace ento;
diff --git a/lib/GR/Store.cpp b/lib/EntoSA/Store.cpp
similarity index 98%
rename from lib/GR/Store.cpp
rename to lib/EntoSA/Store.cpp
index 2e9857a..29b0ee1 100644
--- a/lib/GR/Store.cpp
+++ b/lib/EntoSA/Store.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/Store.h"
-#include "clang/GR/PathSensitive/GRState.h"
+#include "clang/EntoSA/PathSensitive/Store.h"
+#include "clang/EntoSA/PathSensitive/GRState.h"
#include "clang/AST/CharUnits.h"
using namespace clang;
diff --git a/lib/GR/SymbolManager.cpp b/lib/EntoSA/SymbolManager.cpp
similarity index 98%
rename from lib/GR/SymbolManager.cpp
rename to lib/EntoSA/SymbolManager.cpp
index 7727138..75e0774 100644
--- a/lib/GR/SymbolManager.cpp
+++ b/lib/EntoSA/SymbolManager.cpp
@@ -12,9 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathSensitive/SymbolManager.h"
+#include "clang/EntoSA/PathSensitive/SymbolManager.h"
#include "clang/Analysis/Analyses/LiveVariables.h"
-#include "clang/GR/PathSensitive/MemRegion.h"
+#include "clang/EntoSA/PathSensitive/MemRegion.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
diff --git a/lib/GR/TextPathDiagnostics.cpp b/lib/EntoSA/TextPathDiagnostics.cpp
similarity index 95%
rename from lib/GR/TextPathDiagnostics.cpp
rename to lib/EntoSA/TextPathDiagnostics.cpp
index 02e6c2e..bf98301 100644
--- a/lib/GR/TextPathDiagnostics.cpp
+++ b/lib/EntoSA/TextPathDiagnostics.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/GR/PathDiagnosticClients.h"
-#include "clang/GR/BugReporter/PathDiagnostic.h"
+#include "clang/EntoSA/PathDiagnosticClients.h"
+#include "clang/EntoSA/BugReporter/PathDiagnostic.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
diff --git a/lib/FrontendTool/CMakeLists.txt b/lib/FrontendTool/CMakeLists.txt
index f4ace98..89937e1 100644
--- a/lib/FrontendTool/CMakeLists.txt
+++ b/lib/FrontendTool/CMakeLists.txt
@@ -1,7 +1,7 @@
set(LLVM_NO_RTTI 1)
set(LLVM_USED_LIBS clangDriver clangFrontend clangRewrite clangCodeGen
- clangGRCheckers clangGRCore)
+ clangEntoCheckers clangEntoCore)
add_clang_library(clangFrontendTool
ExecuteCompilerInvocation.cpp
diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index ae6194b..e17e8b7 100644
--- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "clang/FrontendTool/Utils.h"
-#include "clang/GR/FrontendActions.h"
+#include "clang/EntoSA/FrontendActions.h"
#include "clang/CodeGen/CodeGenAction.h"
#include "clang/Driver/CC1Options.h"
#include "clang/Driver/OptTable.h"
diff --git a/lib/Makefile b/lib/Makefile
index 6509fd5..300b9ea 100755
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -9,7 +9,7 @@
CLANG_LEVEL := ..
PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis \
- GR Rewrite Serialization Frontend FrontendTool Index Driver
+ EntoSA Rewrite Serialization Frontend FrontendTool Index Driver
include $(CLANG_LEVEL)/Makefile
diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt
index 9c331a5..6e02e85 100644
--- a/tools/driver/CMakeLists.txt
+++ b/tools/driver/CMakeLists.txt
@@ -8,8 +8,8 @@
clangCodeGen
clangParse
clangSema
- clangGRCheckers
- clangGRCore
+ clangEntoCheckers
+ clangEntoCore
clangAnalysis
clangIndex
clangRewrite
diff --git a/tools/driver/Makefile b/tools/driver/Makefile
index a98d715..e97bfeb 100644
--- a/tools/driver/Makefile
+++ b/tools/driver/Makefile
@@ -39,7 +39,7 @@
ipo selectiondag
USEDLIBS = clangFrontendTool.a clangFrontend.a clangDriver.a \
clangSerialization.a clangCodeGen.a clangParse.a clangSema.a \
- clangGRCheckers.a clangGRCore.a clangAnalysis.a clangIndex.a clangRewrite.a \
+ clangEntoCheckers.a clangEntoCore.a clangAnalysis.a clangIndex.a clangRewrite.a \
clangAST.a clangLex.a clangBasic.a
include $(CLANG_LEVEL)/Makefile