[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h

Anand Shukla ashukla at cs.uiuc.edu
Fri Feb 14 14:42:01 PST 2003

Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

Graph.h updated: 1.7 -> 1.8

Log message:

Changes to runtime framework

Diffs of the changes:

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.7 llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.8
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.7	Mon Feb 10 09:55:50 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h	Fri Feb 14 14:41:04 2003
@@ -33,7 +33,6 @@
   inline bool operator==(Node& nd) const { return element==nd.element; }
 //Class Edge
 //Denotes an edge in the graph
 class Edge{
@@ -410,7 +409,7 @@
   //get the code to be inserted on the edge
   //This is determined from cond (1-6)
-  void getCode(Instruction *a, Instruction *b, Function *M, BasicBlock *BB, 
+  void getCode(Instruction *a, Value *b, Function *M, BasicBlock *BB, 
                std::vector<Value *> &retVec);
@@ -423,7 +422,7 @@
 //Do graph processing: to determine minimal edge increments, 
 //appropriate code insertions etc and insert the code at
 //appropriate locations
-void processGraph(Graph &g, Instruction *rInst, Instruction *countInst, std::vector<Edge> &be, std::vector<Edge> &stDummy, std::vector<Edge> &exDummy, int n, int MethNo, Value *threshold);
+void processGraph(Graph &g, Instruction *rInst, Value *countInst, std::vector<Edge> &be, std::vector<Edge> &stDummy, std::vector<Edge> &exDummy, int n, int MethNo, Value *threshold);
 //print the graph (for debugging)
 void printGraph(Graph &g);
@@ -432,7 +431,7 @@
 //void printGraph(const Graph g);
 //insert a basic block with appropriate code
 //along a given edge
-void insertBB(Edge ed, getEdgeCode *edgeCode, Instruction *rInst, Instruction *countInst, int n, int Methno, Value *threshold);
+void insertBB(Edge ed, getEdgeCode *edgeCode, Instruction *rInst, Value *countInst, int n, int Methno, Value *threshold);
 //Insert the initialization code in the top BB
 //this includes initializing r, and count
@@ -442,7 +441,7 @@
 //number of that path
 //Count is an array, where Count[k] represents
 //the number of executions of path k
-void insertInTopBB(BasicBlock *front, int k, Instruction *rVar, Instruction *countVar, Value *threshold);
+void insertInTopBB(BasicBlock *front, int k, Instruction *rVar, Value *threshold);
 //Add dummy edges corresponding to the back edges
 //If a->b is a backedge

More information about the llvm-commits mailing list