LLVM 20.0.0git
|
#include "llvm/IR/PseudoProbe.h"
Static Public Member Functions | |
static uint32_t | packProbeData (uint32_t Index, uint32_t Type, uint32_t Flags, uint32_t Factor, std::optional< uint32_t > DwarfBaseDiscriminator) |
static uint32_t | extractProbeIndex (uint32_t Value) |
static std::optional< uint32_t > | extractDwarfBaseDiscriminator (uint32_t Value) |
static bool | isDwarfBaseDiscriminatorEncoded (uint32_t Value) |
static uint32_t | extractProbeType (uint32_t Value) |
static uint32_t | extractProbeAttributes (uint32_t Value) |
static uint32_t | extractProbeFactor (uint32_t Value) |
Static Public Attributes | |
static constexpr uint8_t | FullDistributionFactor = 100 |
Definition at line 41 of file PseudoProbe.h.
|
inlinestatic |
Definition at line 80 of file PseudoProbe.h.
References isDwarfBaseDiscriminatorEncoded().
Referenced by llvm::DILocation::getBaseDiscriminatorFromDiscriminator(), and llvm::setProbeDistributionFactor().
|
inlinestatic |
Definition at line 94 of file PseudoProbe.h.
Referenced by llvm::extractProbeFromDiscriminator(), and llvm::setProbeDistributionFactor().
|
inlinestatic |
Definition at line 98 of file PseudoProbe.h.
Referenced by llvm::extractProbeFromDiscriminator().
|
inlinestatic |
Definition at line 74 of file PseudoProbe.h.
References isDwarfBaseDiscriminatorEncoded().
Referenced by llvm::PseudoProbeHandler::emitPseudoProbe(), llvm::extractProbeFromDiscriminator(), llvm::DILocation::getBaseDiscriminatorFromDiscriminator(), llvm::sampleprof::FunctionSamples::getCallSiteIdentifier(), and llvm::setProbeDistributionFactor().
|
inlinestatic |
Definition at line 90 of file PseudoProbe.h.
Referenced by llvm::extractProbeFromDiscriminator(), and llvm::setProbeDistributionFactor().
|
inlinestatic |
Definition at line 86 of file PseudoProbe.h.
Referenced by extractDwarfBaseDiscriminator(), and extractProbeIndex().
|
inlinestatic |
Definition at line 56 of file PseudoProbe.h.
References assert(), and Index.
Referenced by llvm::SampleProfileProber::instrumentOneFunc(), and llvm::setProbeDistributionFactor().
|
staticconstexpr |
Definition at line 103 of file PseudoProbe.h.
Referenced by llvm::extractProbeFromDiscriminator(), llvm::SampleProfileProber::instrumentOneFunc(), and llvm::setProbeDistributionFactor().