Home | History | Annotate | Download | only in Instrumentation

Lines Matching defs:Counters

1 //===- OptimalEdgeProfiling.cpp - Insert counters for opt. edge profiling -===//
10 // This pass instruments the specified program with counters for edge profiling.
112 // be calculated from other edge counters on reading the profile info back
117 GlobalVariable *Counters =
153 IncrementCounterInBlock(entry, i, Counters); ++NumEdgesInserted;
176 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted;
199 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted;
203 IncrementCounterInBlock(Succ, i, Counters); ++NumEdgesInserted;
219 Counters->setInitializer(init);
222 InsertProfilingInitCall(Main, "llvm_start_opt_edge_profiling", Counters);