LLVM 22.0.0git
llvm::GraphTraits< const Function * > Struct Reference

#include "llvm/IR/CFG.h"

Inheritance diagram for llvm::GraphTraits< const Function * >:
[legend]

Public Types

using nodes_iterator = pointer_iterator<Function::const_iterator>
using NodeRef
Public Types inherited from llvm::GraphTraits< const BasicBlock * >
using NodeRef = const BasicBlock *
using ChildIteratorType = const_succ_iterator

Static Public Member Functions

static NodeRef getEntryNode (const Function *F)
static nodes_iterator nodes_begin (const Function *F)
static nodes_iterator nodes_end (const Function *F)
static size_t size (const Function *F)
static unsigned getMaxNumber (const Function *F)
static unsigned getNumberEpoch (const Function *F)
Static Public Member Functions inherited from llvm::GraphTraits< const BasicBlock * >
static NodeRef getEntryNode (const BasicBlock *BB)
static ChildIteratorType child_begin (NodeRef N)
static ChildIteratorType child_end (NodeRef N)
static unsigned getNumber (const BasicBlock *BB)

Detailed Description

Definition at line 394 of file CFG.h.

Member Typedef Documentation

◆ NodeRef

using llvm::GraphTraits< const Function * >::NodeRef

Definition at line 95 of file GraphTraits.h.

◆ nodes_iterator

Definition at line 399 of file CFG.h.

Member Function Documentation

◆ getEntryNode()

NodeRef llvm::GraphTraits< const Function * >::getEntryNode ( const Function * F)
inlinestatic

Definition at line 396 of file CFG.h.

References F.

◆ getMaxNumber()

unsigned llvm::GraphTraits< const Function * >::getMaxNumber ( const Function * F)
inlinestatic

Definition at line 411 of file CFG.h.

References F.

◆ getNumberEpoch()

unsigned llvm::GraphTraits< const Function * >::getNumberEpoch ( const Function * F)
inlinestatic

Definition at line 414 of file CFG.h.

References F.

◆ nodes_begin()

nodes_iterator llvm::GraphTraits< const Function * >::nodes_begin ( const Function * F)
inlinestatic

Definition at line 401 of file CFG.h.

References F.

◆ nodes_end()

nodes_iterator llvm::GraphTraits< const Function * >::nodes_end ( const Function * F)
inlinestatic

Definition at line 405 of file CFG.h.

References F.

◆ size()

size_t llvm::GraphTraits< const Function * >::size ( const Function * F)
inlinestatic

Definition at line 409 of file CFG.h.

References F.


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