LLVM
8.0.1
|
#include "llvm/ProfileData/InstrProfReader.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/ProfileData/ProfileCommon.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SymbolRemappingReader.h"
#include "llvm/Support/SwapByteOrder.h"
#include <algorithm>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <system_error>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | llvm::InstrProfReaderItaniumRemapper< HashTableImpl > |
A remapper that applies remappings based on a symbol remapping file. More... | |
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Macros | |
#define | CHECK_LINE_END(Line) |
#define | READ_NUM(Str, Dst) |
#define | VP_READ_ADVANCE(Val) |
Typedefs | |
using | data_type = InstrProfLookupTrait::data_type |
using | offset_type = InstrProfLookupTrait::offset_type |
Functions | |
static Expected< std::unique_ptr< MemoryBuffer > > | setupMemoryBuffer (const Twine &Path) |
static Error | initializeReader (InstrProfReader &Reader) |
#define CHECK_LINE_END | ( | Line | ) |
Referenced by llvm::TextInstrProfReader::readHeader().
#define READ_NUM | ( | Str, | |
Dst | |||
) |
Referenced by llvm::TextInstrProfReader::readHeader().
#define VP_READ_ADVANCE | ( | Val | ) |
Referenced by llvm::TextInstrProfReader::readHeader().
Definition at line 502 of file InstrProfReader.cpp.
using offset_type = InstrProfLookupTrait::offset_type |
Definition at line 503 of file InstrProfReader.cpp.
|
static |
Definition at line 50 of file InstrProfReader.cpp.
References llvm::InstrProfReader::readHeader().
Referenced by llvm::InstrProfReader::create(), and llvm::IndexedInstrProfReader::create().
|
static |
Definition at line 42 of file InstrProfReader.cpp.
References llvm::errorCodeToError(), llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), and llvm::MemoryBuffer::getFileOrSTDIN().
Referenced by llvm::InstrProfReader::create(), and llvm::IndexedInstrProfReader::create().