LLVM
8.0.1
|
A remapper that applies remappings based on a symbol remapping file. More...
#include "llvm/ProfileData/InstrProfReader.h"
Public Member Functions | |
InstrProfReaderItaniumRemapper (std::unique_ptr< MemoryBuffer > RemapBuffer, InstrProfReaderIndex< HashTableImpl > &Underlying) | |
Error | populateRemappings () override |
Error | getRecords (StringRef FuncName, ArrayRef< NamedInstrProfRecord > &Data) override |
Public Member Functions inherited from llvm::InstrProfReaderRemapper | |
virtual | ~InstrProfReaderRemapper () |
Static Public Member Functions | |
static StringRef | extractName (StringRef Name) |
Extract the original function name from a PGO function name. More... | |
static void | reconstituteName (StringRef OrigName, StringRef ExtractedName, StringRef Replacement, SmallVectorImpl< char > &Out) |
Given a mangled name extracted from a PGO function name, and a new form for that mangled name, reconstitute the name. More... | |
A remapper that applies remappings based on a symbol remapping file.
Definition at line 352 of file InstrProfReader.h.
|
inline |
Definition at line 627 of file InstrProfReader.cpp.
|
inlinestatic |
Extract the original function name from a PGO function name.
Definition at line 634 of file InstrProfReader.cpp.
References if(), and llvm::StringRef::split().
|
inlineoverridevirtual |
Implements llvm::InstrProfReaderRemapper.
Definition at line 674 of file InstrProfReader.cpp.
References llvm::StringRef::begin(), E, llvm::StringRef::empty(), llvm::StringRef::end(), llvm::handleErrors(), and llvm::BitmaskEnumDetail::Underlying().
|
inlineoverridevirtual |
Reimplemented from llvm::InstrProfReaderRemapper.
Definition at line 659 of file InstrProfReader.cpp.
References E, Name, llvm::Error::success(), and llvm::BitmaskEnumDetail::Underlying().
|
inlinestatic |
Given a mangled name extracted from a PGO function name, and a new form for that mangled name, reconstitute the name.
Definition at line 650 of file InstrProfReader.cpp.
References llvm::StringRef::begin(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorImpl< T >::insert(), llvm::SmallVectorImpl< T >::reserve(), and llvm::StringRef::size().