LLVM API Documentation

Namespaces | Functions
InstrProfReader.cpp File Reference
#include "llvm/ProfileData/InstrProfReader.h"
#include "llvm/ProfileData/InstrProf.h"
#include "InstrProfIndexed.h"
#include <cassert>
Include dependency graph for InstrProfReader.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

static std::error_code setupMemoryBuffer (std::string Path, std::unique_ptr< MemoryBuffer > &Buffer)
static std::error_code initializeReader (InstrProfReader &Reader)
template<class IntPtrT >
static uint64_t getRawMagic ()
template<>
uint64_t getRawMagic< uint64_t > ()
template<>
uint64_t getRawMagic< uint32_t > ()
static uint64_t getRawVersion ()

Function Documentation

template<class IntPtrT >
static uint64_t getRawMagic ( ) [static]
template<>
uint64_t getRawMagic< uint32_t > ( )

Definition at line 145 of file InstrProfReader.cpp.

template<>
uint64_t getRawMagic< uint64_t > ( )

Definition at line 132 of file InstrProfReader.cpp.

static uint64_t getRawVersion ( ) [static]

Definition at line 206 of file InstrProfReader.cpp.

static std::error_code initializeReader ( InstrProfReader Reader) [static]
static std::error_code setupMemoryBuffer ( std::string  Path,
std::unique_ptr< MemoryBuffer > &  Buffer 
) [static]