[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp InstLoops.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Sep 5 14:44:01 PDT 2003
Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:
CombineBranch.cpp updated: 1.1 -> 1.2
InstLoops.cpp updated: 1.6 -> 1.7
---
Log message:
Correct comments
Don't include InstLoops.h
Don't export factory functions for these passes
---
Diffs of the changes:
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.1 llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.2
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.1 Fri Jul 18 11:08:32 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp Fri Sep 5 14:43:19 2003
@@ -1,10 +1,9 @@
-//===-- InstLoops.cpp ---------------------------------------- ---*- C++ -*--=//
+//===-- CombineBranch.cpp ------------------------------------ ---*- C++ -*--=//
// Pass to instrument loops
//
// At every backedge, insert a counter for that backedge and a call function
//===----------------------------------------------------------------------===//
-#include "llvm/Reoptimizer/InstLoops.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Support/CFG.h"
#include "llvm/Constants.h"
@@ -45,13 +44,6 @@
RegisterOpt<CombineBranches> X("branch-combine", "Multiple backedges going to same target are merged");
}
-
-// Create a new pass to merge branches
-//
-Pass *createCombineBranchesPass() {
- return new CombineBranches();
-}
-
//helper function to get back edges: it is called by
//the "getBackEdges" function below
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.6 llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.7
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.6 Sat Aug 30 19:21:59 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp Fri Sep 5 14:43:19 2003
@@ -4,7 +4,6 @@
// At every backedge, insert a counter for that backedge and a call function
//===----------------------------------------------------------------------===//
-#include "llvm/Reoptimizer/InstLoops.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Support/CFG.h"
#include "llvm/Constants.h"
@@ -48,13 +47,6 @@
RegisterOpt<InstLoops> X("instloops", "Instrument backedges for profiling");
}
-
-// createInstLoopsPass - Create a new pass to add path profiling
-//
-Pass *createInstLoopsPass() {
- return new InstLoops();
-}
-
//helper function to get back edges: it is called by
//the "getBackEdges" function below
More information about the llvm-commits
mailing list