diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-09-20 16:44:35 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-09-20 16:44:35 +0000 |
commit | 77dca144038cbe740a4b911271e2376250c4997d (patch) | |
tree | 3c9d7954cdb0fffcf5c300aa37170a106d8d70b2 /llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp | |
parent | 0a79c117ac1e258b5b4ca019639d6d426cb863f5 (diff) | |
download | bcm5719-llvm-77dca144038cbe740a4b911271e2376250c4997d.tar.gz bcm5719-llvm-77dca144038cbe740a4b911271e2376250c4997d.zip |
Added checking threshold
llvm-svn: 3864
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp index 3542a9ece56..76109822d15 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxiliary.cpp @@ -486,7 +486,8 @@ void processGraph(Graph &g, vector<Edge >& be, vector<Edge >& stDummy, vector<Edge >& exDummy, - int numPaths, int MethNo){ + int numPaths, int MethNo, + Value *threshold){ //Given a graph: with exit->root edge, do the following in seq: //1. get back edges @@ -648,7 +649,7 @@ void processGraph(Graph &g, for(map<Edge, getEdgeCode *>::iterator MI=codeInsertions.begin(), ME=codeInsertions.end(); MI!=ME; ++MI){ Edge ed=MI->first; - insertBB(ed, MI->second, rInst, countInst, numPaths, MethNo); + insertBB(ed, MI->second, rInst, countInst, numPaths, MethNo, threshold); } } |