LLVM: lib/Transforms/Instrumentation/GCOVProfiling.cpp File Reference (original) (raw)
Go to the source code of this file.
Macros | |
---|---|
#define | DEBUG_TYPE "insert-gcov-profiling" |
#define | COVINIT_FUNC(Type, LLVMType, Name, Init) LLVMType, |
#define | COVINIT_FUNC(Type, LLVMType, Name, Init) Init, |
Functions | |
---|---|
static unsigned | wordsOfString (StringRef s) |
static StringRef | getFunctionName (const DISubprogram *SP) |
static SmallString< 128 > | getFilename (const DISubprogram *SP) |
Extract a filename for a DISubprogram. | |
static bool | functionHasLines (const Function &F, unsigned &EndLine) |
static bool | isUsingScopeBasedEH (Function &F) |
static BasicBlock * | getInstrBB (CFGMST< Edge, BBInfo > &MST, Edge &E, const DenseSet< const BasicBlock * > &ExecBlocks) |
static void | dumpEdges (CFGMST< Edge, BBInfo > &MST, GCOVFunction &GF) |
◆ COVINIT_FUNC [1/2]
| #define COVINIT_FUNC | ( | | Type, | | ----------------------------------------------------------------------- | --------- | | --------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | LLVMType, | | |
◆ COVINIT_FUNC [2/2]
| #define COVINIT_FUNC | ( | | Type, | | ----------------------------------------------------------------------- | ----- | | --------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | Init, | | |
◆ DEBUG_TYPE
#define DEBUG_TYPE "insert-gcov-profiling"
◆ anonymous enum
Enumerator |
---|
GCOV_ARC_ON_TREE |
GCOV_TAG_FUNCTION |
GCOV_TAG_BLOCKS |
GCOV_TAG_ARCS |
GCOV_TAG_LINES |
Definition at line 54 of file GCOVProfiling.cpp.
◆ dumpEdges()
◆ functionHasLines()
◆ getFilename()
◆ getFunctionName()
◆ getInstrBB()
Definition at line 691 of file GCOVProfiling.cpp.
References llvm::CFGMST< Edge, BBInfo >::addEdge(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), llvm::BasicBlock::end(), llvm::BasicBlock::getFirstInsertionPt(), llvm::Instruction::getNumSuccessors(), llvm::GetSuccessorNumber(), llvm::BasicBlock::getTerminator(), and llvm::SplitCriticalEdge().
◆ isUsingScopeBasedEH()
◆ wordsOfString()
◆ AtomicCounter
cl::opt< bool > AtomicCounter("gcov-atomic-counter", cl::Hidden, cl::desc("Make counter updates atomic")) ( "gcov-atomic-counter" , cl::Hidden , cl::desc("Make counter updates atomic") ) | static |
---|
◆ DefaultGCOVVersion
cl::opt< std::string > DefaultGCOVVersion("default-gcov-version", cl::init("0000"), cl::Hidden, cl::ValueRequired) ( "default-gcov-version" , cl::init("0000") , cl::Hidden , cl::ValueRequired ) | static |
---|