projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add accessor function.
[oota-llvm.git]
/
lib
/
Transforms
/
Instrumentation
/
ProfilePaths
/
InstLoops.cpp
diff --git
a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
index 56a20730b78a2efb4cbb0659c52df6766b0b2a20..e608174a171b05880da9eb43207ab84f10714ac6 100644
(file)
--- a/
lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
+++ b/
lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
@@
-176,4
+176,8
@@
bool InstLoops::runOnFunction(Function &F){
return true; // Function was modified.
}
+FunctionPass *createLoopInstrumentationPass () {
+ return new InstLoops();
+}
+
} // End llvm namespace