Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:GCov

1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
10 // This pass implements GCOV-style profiling. When this pass is run it emits
45 #define DEBUG_TYPE "insert-gcov-profiling"
48 DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden,
50 static cl::opt<bool> DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
63 llvm::report_fatal_error(std::string("Invalid -default-gcov-version: ") +
88 return "GCOV Profiler";
145 INITIALIZE_PASS(GCOVProfiler, "insert-gcov-profiling",
146 "Insert instrumentation for GCOV profiling", false, false)
177 // represent this string in a GCOV file
179 // A GCOV string is a length, followed by a NUL, then between 0 and 3 NULs
239 // Represent a basic block in GCOV. Each block has a unique number in the
308 // set of blocks and a map of edges between blocks. This is the only GCOV
425 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
426 for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {
427 MDNode *N = GCov->getOperand(i);
460 // do these waste space, they also can crash gcov.
501 // gcov