LLVM  12.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::GraphTraits< Function * > Struct Template Reference

#include "llvm/IR/CFG.h"

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

Public Types

using nodes_iterator = pointer_iterator< Function::iterator >
 
- Public Types inherited from llvm::GraphTraits< BasicBlock * >
using NodeRef = BasicBlock *
 
using ChildIteratorType = succ_iterator
 

Static Public Member Functions

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

Detailed Description

template<>
struct llvm::GraphTraits< Function * >

Definition at line 349 of file CFG.h.

Member Typedef Documentation

◆ nodes_iterator

Definition at line 353 of file CFG.h.

Member Function Documentation

◆ getEntryNode()

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

Definition at line 350 of file CFG.h.

References F().

◆ nodes_begin()

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

Definition at line 355 of file CFG.h.

References F().

◆ nodes_end()

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

Definition at line 359 of file CFG.h.

References F().

◆ size()

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

Definition at line 363 of file CFG.h.

References F().


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