LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * > Struct Template Reference

Public Types

using GraphType = const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > *
 
using NodeRef = const ContextNode< DerivedCCG, FuncTy, CallTy > *
 
using NodePtrTy = std::unique_ptr< ContextNode< DerivedCCG, FuncTy, CallTy > >
 
using nodes_iterator = mapped_iterator< typename std::vector< NodePtrTy >::const_iterator, decltype(&getNode)>
 
using EdgePtrTy = std::shared_ptr< ContextEdge< DerivedCCG, FuncTy, CallTy > >
 
using ChildIteratorType = mapped_iterator< typename std::vector< std::shared_ptr< ContextEdge< DerivedCCG, FuncTy, CallTy > > >::const_iterator, decltype(&GetCallee)>
 

Static Public Member Functions

static NodeRef getNode (const NodePtrTy &P)
 
static nodes_iterator nodes_begin (GraphType G)
 
static nodes_iterator nodes_end (GraphType G)
 
static NodeRef getEntryNode (GraphType G)
 
static const ContextNode< DerivedCCG, FuncTy, CallTy > * GetCallee (const EdgePtrTy &P)
 
static ChildIteratorType child_begin (NodeRef N)
 
static ChildIteratorType child_end (NodeRef N)
 

Detailed Description

template<typename DerivedCCG, typename FuncTy, typename CallTy>
struct GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >

Definition at line 2222 of file MemProfContextDisambiguation.cpp.

Member Typedef Documentation

◆ ChildIteratorType

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::ChildIteratorType = mapped_iterator<typename std::vector<std::shared_ptr<ContextEdge< DerivedCCG, FuncTy, CallTy> >>::const_iterator, decltype(&GetCallee)>

Definition at line 2251 of file MemProfContextDisambiguation.cpp.

◆ EdgePtrTy

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::EdgePtrTy = std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy> >

Definition at line 2245 of file MemProfContextDisambiguation.cpp.

◆ GraphType

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::GraphType = const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *

Definition at line 2223 of file MemProfContextDisambiguation.cpp.

◆ NodePtrTy

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::NodePtrTy = std::unique_ptr<ContextNode<DerivedCCG, FuncTy, CallTy> >

Definition at line 2226 of file MemProfContextDisambiguation.cpp.

◆ NodeRef

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::NodeRef = const ContextNode<DerivedCCG, FuncTy, CallTy> *

Definition at line 2224 of file MemProfContextDisambiguation.cpp.

◆ nodes_iterator

template<typename DerivedCCG , typename FuncTy , typename CallTy >
using GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::nodes_iterator = mapped_iterator<typename std::vector<NodePtrTy>::const_iterator, decltype(&getNode)>

Definition at line 2229 of file MemProfContextDisambiguation.cpp.

Member Function Documentation

◆ child_begin()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static ChildIteratorType GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::child_begin ( NodeRef  N)
inlinestatic

Definition at line 2256 of file MemProfContextDisambiguation.cpp.

References N.

◆ child_end()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static ChildIteratorType GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::child_end ( NodeRef  N)
inlinestatic

Definition at line 2260 of file MemProfContextDisambiguation.cpp.

References N.

◆ GetCallee()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static const ContextNode< DerivedCCG, FuncTy, CallTy > * GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::GetCallee ( const EdgePtrTy P)
inlinestatic

Definition at line 2247 of file MemProfContextDisambiguation.cpp.

References P.

◆ getEntryNode()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static NodeRef GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::getEntryNode ( GraphType  G)
inlinestatic

Definition at line 2241 of file MemProfContextDisambiguation.cpp.

References G.

◆ getNode()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static NodeRef GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::getNode ( const NodePtrTy P)
inlinestatic

Definition at line 2227 of file MemProfContextDisambiguation.cpp.

References P.

◆ nodes_begin()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static nodes_iterator GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::nodes_begin ( GraphType  G)
inlinestatic

Definition at line 2233 of file MemProfContextDisambiguation.cpp.

References G.

◆ nodes_end()

template<typename DerivedCCG , typename FuncTy , typename CallTy >
static nodes_iterator GraphTraits< const CallsiteContextGraph< DerivedCCG, FuncTy, CallTy > * >::nodes_end ( GraphType  G)
inlinestatic

Definition at line 2237 of file MemProfContextDisambiguation.cpp.

References G.


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