LLVM API Documentation
#include "llvm/ProfileData/InstrProfReader.h"#include "llvm/ProfileData/InstrProf.h"#include "InstrProfIndexed.h"#include <cassert>
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 () |
| static uint64_t getRawMagic | ( | ) | [static] |
| uint64_t getRawMagic< uint32_t > | ( | ) |
Definition at line 145 of file InstrProfReader.cpp.
| 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] |
Definition at line 38 of file InstrProfReader.cpp.
References llvm::InstrProfReader::readHeader().
Referenced by llvm::InstrProfReader::create(), and llvm::IndexedInstrProfReader::create().
| static std::error_code setupMemoryBuffer | ( | std::string | Path, |
| std::unique_ptr< MemoryBuffer > & | Buffer | ||
| ) | [static] |
Definition at line 25 of file InstrProfReader.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFileOrSTDIN(), llvm::success, and llvm::too_large.
Referenced by llvm::InstrProfReader::create(), and llvm::IndexedInstrProfReader::create().