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

#include "llvm/IR/PseudoProbe.h"

Collaboration diagram for llvm::PseudoProbeDwarfDiscriminator:
Collaboration graph
[legend]

Static Public Member Functions

static uint32_t packProbeData (uint32_t Index, uint32_t Type, uint32_t Flags, uint32_t Factor)
 
static uint32_t extractProbeIndex (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

constexpr static uint8_t FullDistributionFactor = 100
 

Detailed Description

Definition at line 34 of file PseudoProbe.h.

Member Function Documentation

◆ 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 66 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

◆ packProbeData()

static uint32_t llvm::PseudoProbeDwarfDiscriminator::packProbeData ( uint32_t  Index,
uint32_t  Type,
uint32_t  Flags,
uint32_t  Factor 
)
inlinestatic

Definition at line 44 of file PseudoProbe.h.

References assert(), and Index.

Referenced by llvm::SampleProfileProber::instrumentOneFunc(), and llvm::setProbeDistributionFactor().

Member Data Documentation

◆ FullDistributionFactor

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

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