LLVM  6.0.0svn
Classes | Enumerations | Functions | Variables
llvm::IndexedInstrProf Namespace Reference

Classes

struct  Header
 
struct  Summary
 

Enumerations

enum  HashT : uint32_t { HashT::MD5, HashT::Last = MD5 }
 
enum  ProfVersion {
  Version1 = 1, Version2 = 2, Version3 = 3, Version4 = 4,
  Version5 = 5, CurrentVersion = INSTR_PROF_INDEX_VERSION
}
 

Functions

uint64_t ComputeHash (StringRef K)
 
uint64_t ComputeHash (HashT Type, StringRef K)
 
std::unique_ptr< SummaryallocSummary (uint32_t TotalSize)
 

Variables

const uint64_t Magic = 0x8169666f72706cff
 
const uint64_t Version = ProfVersion::CurrentVersion
 
const HashT HashType = HashT::MD5
 

Enumeration Type Documentation

◆ HashT

Enumerator
MD5 
Last 

Definition at line 830 of file InstrProf.h.

◆ ProfVersion

Enumerator
Version1 
Version2 
Version3 
Version4 
Version5 
CurrentVersion 

Definition at line 845 of file InstrProf.h.

Function Documentation

◆ allocSummary()

std::unique_ptr<Summary> llvm::IndexedInstrProf::allocSummary ( uint32_t  TotalSize)
inline

Definition at line 964 of file InstrProf.h.

Referenced by llvm::IndexedInstrProfReader::hasFormat(), and setSummary().

◆ ComputeHash() [1/2]

uint64_t llvm::IndexedInstrProf::ComputeHash ( StringRef  K)
inline

◆ ComputeHash() [2/2]

uint64_t llvm::IndexedInstrProf::ComputeHash ( HashT  Type,
StringRef  K 
)
inline

Definition at line 835 of file InstrProf.h.

References llvm_unreachable, and llvm::MD5Hash().

Referenced by ComputeHash().

Variable Documentation

◆ HashType

const HashT llvm::IndexedInstrProf::HashType = HashT::MD5

◆ Magic

const uint64_t llvm::IndexedInstrProf::Magic = 0x8169666f72706cff

◆ Version

const uint64_t llvm::IndexedInstrProf::Version = ProfVersion::CurrentVersion

Definition at line 867 of file InstrProf.h.

Referenced by dumpDWARFv5StringOffsetsSection(), llvm::AsmPrinter::XRayFunctionEntry::emit(), llvm::TargetLoweringObjectFileELF::emitModuleMetadata(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), llvm::GCOVFunction::GCOVFunction(), llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), llvm::GCOVFile::getChecksum(), llvm::pdb::DIARawSymbol::getDiaSymbol(), llvm::AsmPrinter::getDwarfDebug(), llvm::DIEUnit::getDwarfVersion(), llvm::FaultMapParser::getFaultMapVersion(), llvm::AMDGPU::IsaInfo::getMaxNumSGPRs(), llvm::getPGOFuncName(), llvm::AMDGPU::IsaInfo::getSGPRAllocGranule(), llvm::AMDGPU::IsaInfo::getTotalNumSGPRs(), llvm::coverage::CovMapHeader::getVersion(), llvm::object::MachOObjectFile::getVersionString(), llvm::IndexedInstrProfReader::hasFormat(), llvm::InstrProfReaderIndex< HashTableImpl >::InstrProfReaderIndex(), instrumentMaskedLoadOrStore(), llvm::DWARFVerifier::DieRangeInfo::intersects(), llvm::isAllocaPromotable(), isCoverageMappingDummy(), llvm::dwarf::isValidFormForVersion(), mapArchToCVCPUType(), MapDWLangToCVLang(), llvm::DWARFDebugFrame::parse(), parseARMArch(), llvm::FrameEntry::parseInstructions(), llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(), parseVersion(), llvm::ScopedPrinter::printVersion(), promoteSingleBlockAlloca(), llvm::irsymtab::readBitcode(), readCoverageMappingData(), llvm::RawInstrProfReader< IntPtrT >::readHeader(), llvm::sampleprof::SampleProfileReaderBinary::readHeader(), readWideAPInt(), rotateSign(), llvm::DWARFContext::setMaxVersionIfGreater(), llvm::pdb::TpiStreamBuilder::setVersionHeader(), and llvm::UpgradeDebugInfo().