LLVM  9.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 867 of file InstrProf.h.

◆ ProfVersion

Enumerator
Version1 
Version2 
Version3 
Version4 
Version5 
CurrentVersion 

Definition at line 882 of file InstrProf.h.

Function Documentation

◆ allocSummary()

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

Definition at line 1001 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 872 of file InstrProf.h.

References llvm_unreachable, and llvm::MD5Hash().

Referenced by ComputeHash().

Variable Documentation

◆ HashType

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

Definition at line 906 of file InstrProf.h.

Referenced by llvm::InstrProfLookupTrait::ComputeHash(), and setSummary().

◆ Magic

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

Definition at line 880 of file InstrProf.h.

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

◆ Version

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

Definition at line 904 of file InstrProf.h.

Referenced by llvm::AMDGPU::Waitcnt::combined(), llvm::dwarf::CIE::dump(), llvm::DWARFDebugNames::Header::dump(), dumpDWARFv5StringOffsetsSection(), llvm::AsmPrinter::XRayFunctionEntry::emit(), llvm::AppleAccelTableStaticTypeData::emit(), llvm::AMDGPU::HSAMD::MetadataStreamerV2::emitKernel(), llvm::TargetLoweringObjectFileELF::emitModuleMetadata(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), llvm::WebAssemblyAsmPrinter::EmitProducerInfo(), llvm::AMDGPUAsmPrinter::EmitStartOfAsmFile(), llvm::DWARFDebugAddrTable::extract(), llvm::DWARFDebugNames::Header::extract(), llvm::AccelTableBase::finalize(), llvm::GCOVFunction::GCOVFunction(), llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), llvm::GCOVFile::getChecksum(), llvm::pdb::DIARawSymbol::getDiaSymbol(), llvm::AsmPrinter::getDwarfDebug(), llvm::DIEUnit::getDwarfVersion(), llvm::FaultMapParser::getFaultMapVersion(), llvm::dwarf::CIE::getLSDAPointerEncoding(), llvm::AMDGPU::IsaInfo::getMaxNumSGPRs(), llvm::AMDGPU::IsaInfo::getNumExtraSGPRs(), llvm::getPGOFuncName(), llvm::AMDGPU::IsaInfo::getSGPRAllocGranule(), llvm::AMDGPU::IsaInfo::getTotalNumSGPRs(), llvm::dwarf::CIE::getVersion(), llvm::coverage::CovMapHeader::getVersion(), llvm::object::MachOObjectFile::getVersionString(), llvm::IndexedInstrProfReader::hasFormat(), llvm::AMDGPU::initDefaultAMDKernelCodeT(), llvm::InstrProfReaderIndex< HashTableImpl >::InstrProfReaderIndex(), instrumentMaskedLoadOrStore(), llvm::isAllocaPromotable(), IsRevOpcode(), llvm::dwarf::isValidFormForVersion(), llvm::xray::loadTrace(), MapDWLangToCVLang(), llvm::DWARFDebugFrame::parse(), llvm::vfs::RedirectingFileSystemParser::parse(), parseARMArch(), parseDWARF32StringOffsetsTableHeader(), parseDWARF64StringOffsetsTableHeader(), parseVersion(), llvm::ScopedPrinter::printVersion(), promoteSingleBlockAlloca(), llvm::AppleAcceleratorTable::readAtoms(), llvm::irsymtab::readBitcode(), readCoverageMappingData(), rotateSign(), setImmutableRefs(), llvm::DWARFContext::setMaxVersionIfGreater(), llvm::pdb::TpiStreamBuilder::setVersionHeader(), llvm::AMDGPU::IsaInfo::streamIsaVersion(), llvm::StrOffsetsContributionDescriptor::StrOffsetsContributionDescriptor(), and llvm::UpgradeDebugInfo().