LLVM API Documentation

Public Member Functions | Static Public Attributes
llvm::ProfileInfoLoader Class Reference

#include <ProfileInfoLoader.h>

Collaboration diagram for llvm::ProfileInfoLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProfileInfoLoader (const char *ToolName, const std::string &Filename)
unsigned getNumExecutions () const
const std::string & getExecution (unsigned i) const
const std::string & getFileName () const
const std::vector< unsigned > & getRawFunctionCounts () const
const std::vector< unsigned > & getRawBlockCounts () const
const std::vector< unsigned > & getRawEdgeCounts () const
const std::vector< unsigned > & getRawOptimalEdgeCounts () const

Static Public Attributes

static const unsigned Uncounted = ~0U

Detailed Description

Definition at line 29 of file ProfileInfoLoader.h.


Constructor & Destructor Documentation

ProfileInfoLoader::ProfileInfoLoader ( const char *  ToolName,
const std::string &  Filename 
)

Member Function Documentation

const std::string& llvm::ProfileInfoLoader::getExecution ( unsigned  i) const [inline]

Definition at line 45 of file ProfileInfoLoader.h.

const std::string& llvm::ProfileInfoLoader::getFileName ( ) const [inline]

Definition at line 47 of file ProfileInfoLoader.h.

unsigned llvm::ProfileInfoLoader::getNumExecutions ( ) const [inline]

Definition at line 44 of file ProfileInfoLoader.h.

const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawBlockCounts ( ) const [inline]

Definition at line 59 of file ProfileInfoLoader.h.

const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawEdgeCounts ( ) const [inline]

Definition at line 66 of file ProfileInfoLoader.h.

const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawFunctionCounts ( ) const [inline]

Definition at line 52 of file ProfileInfoLoader.h.

const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawOptimalEdgeCounts ( ) const [inline]

Definition at line 73 of file ProfileInfoLoader.h.


Member Data Documentation

const unsigned ProfileInfoLoader::Uncounted = ~0U [static]

Definition at line 42 of file ProfileInfoLoader.h.

Referenced by AddCounts(), and ReadProfilingBlock().


The documentation for this class was generated from the following files: