LLVM 22.0.0git
llvm::sampleprof::ProfiledCallGraphEdge Struct Reference

#include "llvm/Transforms/IPO/ProfiledCallGraph.h"

Public Member Functions

 ProfiledCallGraphEdge (ProfiledCallGraphNode *Source, ProfiledCallGraphNode *Target, uint64_t Weight)
 operator ProfiledCallGraphNode * () const

Public Attributes

ProfiledCallGraphNodeSource
ProfiledCallGraphNodeTarget
uint64_t Weight

Detailed Description

Definition at line 24 of file ProfiledCallGraph.h.

Constructor & Destructor Documentation

◆ ProfiledCallGraphEdge()

llvm::sampleprof::ProfiledCallGraphEdge::ProfiledCallGraphEdge ( ProfiledCallGraphNode * Source,
ProfiledCallGraphNode * Target,
uint64_t Weight )
inline

Definition at line 25 of file ProfiledCallGraph.h.

References Source, Target, and Weight.

Member Function Documentation

◆ operator ProfiledCallGraphNode *()

llvm::sampleprof::ProfiledCallGraphEdge::operator ProfiledCallGraphNode * ( ) const
inline

Definition at line 34 of file ProfiledCallGraph.h.

References Target.

Member Data Documentation

◆ Source

ProfiledCallGraphNode* llvm::sampleprof::ProfiledCallGraphEdge::Source

Definition at line 28 of file ProfiledCallGraph.h.

Referenced by ProfiledCallGraphEdge().

◆ Target

ProfiledCallGraphNode* llvm::sampleprof::ProfiledCallGraphEdge::Target

Definition at line 29 of file ProfiledCallGraph.h.

Referenced by operator ProfiledCallGraphNode *(), and ProfiledCallGraphEdge().

◆ Weight

uint64_t llvm::sampleprof::ProfiledCallGraphEdge::Weight

Definition at line 30 of file ProfiledCallGraph.h.

Referenced by ProfiledCallGraphEdge().


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