forked from jeremysalwen/LLVM_IRProfiling
IR level profiling code for LLVM
License
UIKit0/LLVM_IRProfiling
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
LLVM_IRProf is a set of passes for edge and path profiling LLVM IR. They used to be part of LLVM, but were removed in commit 191835 (and some subsequent cleanup commits). However, the profiling code which is meant to replace these old passes is part of Clang, meaning that we lose the ability to profile arbitrary LLVM IR. In addition, they currently only provide edge profiling. To build: Run scons To use: opt -load libIRProf.so -insert-path-profiling (or whatever pass you wish to use instead of insert-path-profiling). If you are instrumenting code, the output will need to be linked with libprofile.so, which is built as part of this project. If you want more in-depth documentation, let me know and I probably can scrounge some up from the old llvm docs. -Jeremy (jeremysalwen@gmail.com)
About
IR level profiling code for LLVM
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 90.3%
- C 8.5%
- Other 1.2%