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 | 590df88d824f9616990d1a6793b5b3e1d135e70a (patch) | |
tree | 8c4cc3abf1e3e53659f671c9936002ab77b99d8c /lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp | |
parent | 65ce103d8dd619f16d910937884f31c2eaaec5cf (diff) |
Added checking threshold
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp index 3542a9ece5..76109822d1 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.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); } } |