LLVM 20.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PseudoProbeDwarfDiscriminator Struct Reference

#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_textractDwarfBaseDiscriminator (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
 

Detailed Description

Definition at line 41 of file PseudoProbe.h.

Member Function Documentation

◆ extractDwarfBaseDiscriminator()

static std::optional< uint32_t > llvm::PseudoProbeDwarfDiscriminator::extractDwarfBaseDiscriminator ( uint32_t  Value)
inlinestatic

◆ extractProbeAttributes()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::extractProbeAttributes ( uint32_t  Value)
inlinestatic

◆ extractProbeFactor()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::extractProbeFactor ( uint32_t  Value)
inlinestatic

Definition at line 98 of file PseudoProbe.h.

Referenced by llvm::extractProbeFromDiscriminator().

◆ extractProbeIndex()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::extractProbeIndex ( uint32_t  Value)
inlinestatic

◆ extractProbeType()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::extractProbeType ( uint32_t  Value)
inlinestatic

◆ isDwarfBaseDiscriminatorEncoded()

static bool llvm::PseudoProbeDwarfDiscriminator::isDwarfBaseDiscriminatorEncoded ( uint32_t  Value)
inlinestatic

Definition at line 86 of file PseudoProbe.h.

Referenced by extractDwarfBaseDiscriminator(), and extractProbeIndex().

◆ packProbeData()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::packProbeData ( uint32_t  Index,
uint32_t  Type,
uint32_t  Flags,
uint32_t  Factor,
std::optional< uint32_t DwarfBaseDiscriminator 
)
inlinestatic

Member Data Documentation

◆ FullDistributionFactor

constexpr uint8_t llvm::PseudoProbeDwarfDiscriminator::FullDistributionFactor = 100
staticconstexpr

The documentation for this struct was generated from the following file: