[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp GlobalsModRef.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 6 09:47:31 PST 2006
Changes in directory llvm/lib/Analysis/IPA:
Andersens.cpp updated: 1.38 -> 1.39
GlobalsModRef.cpp updated: 1.24 -> 1.25
---
Log message:
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
---
Diffs of the changes: (+10 -10)
Andersens.cpp | 10 +++++-----
GlobalsModRef.cpp | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.38 llvm/lib/Analysis/IPA/Andersens.cpp:1.39
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.38 Tue Nov 28 18:19:40 2006
+++ llvm/lib/Analysis/IPA/Andersens.cpp Wed Dec 6 11:46:31 2006
@@ -65,15 +65,15 @@
using namespace llvm;
namespace {
- Statistic<>
+ Statistic
NumIters("anders-aa", "Number of iterations to reach convergence");
- Statistic<>
+ Statistic
NumConstraints("anders-aa", "Number of constraints");
- Statistic<>
+ Statistic
NumNodes("anders-aa", "Number of nodes");
- Statistic<>
+ Statistic
NumEscapingFunctions("anders-aa", "Number of internal functions that escape");
- Statistic<>
+ Statistic
NumIndirectCallees("anders-aa", "Number of indirect callees found");
class Andersens : public ModulePass, public AliasAnalysis,
Index: llvm/lib/Analysis/IPA/GlobalsModRef.cpp
diff -u llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.24 llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.25
--- llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.24 Sun Nov 26 19:05:09 2006
+++ llvm/lib/Analysis/IPA/GlobalsModRef.cpp Wed Dec 6 11:46:31 2006
@@ -30,19 +30,19 @@
using namespace llvm;
namespace {
- Statistic<>
+ Statistic
NumNonAddrTakenGlobalVars("globalsmodref-aa",
"Number of global vars without address taken");
- Statistic<>
+ Statistic
NumNonAddrTakenFunctions("globalsmodref-aa",
"Number of functions without address taken");
- Statistic<>
+ Statistic
NumNoMemFunctions("globalsmodref-aa",
"Number of functions that do not access memory");
- Statistic<>
+ Statistic
NumReadMemFunctions("globalsmodref-aa",
"Number of functions that only read memory");
- Statistic<>
+ Statistic
NumIndirectGlobalVars("globalsmodref-aa",
"Number of indirect global objects");
More information about the llvm-commits
mailing list