[LLVMdev] basic block tracing

Chris Lattner sabre at nondot.org
Thu Sep 25 10:48:01 PDT 2003

> I have a question about tracing BB's in LLVM. When tracing
> BB's, does LLVM insert instrumentation code in each BB?

The profiling implementation under
lib/Transforms/Instrumentation/ProfilePaths uses the "Efficient Path
Profiling" algorithm, described here:

My memory is fuzzy, but I believe that the algorithm places
instrumentation on a subset of the edges of the CFG.



More information about the llvm-dev mailing list