LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
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

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 

Definition at line 25 of file ProfiledCallGraph.h.

Member Function Documentation

◆ operator ProfiledCallGraphNode *()

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

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.

◆ Target

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

Definition at line 29 of file ProfiledCallGraph.h.

Referenced by operator ProfiledCallGraphNode *().

◆ Weight

uint64_t llvm::sampleprof::ProfiledCallGraphEdge::Weight

Definition at line 30 of file ProfiledCallGraph.h.

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