LLVM  5.0.0
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 * >:
[legend]
Collaboration diagram for llvm::GraphTraits< Function * >:
[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 212 of file CFG.h.

Member Typedef Documentation

Definition at line 216 of file CFG.h.

Member Function Documentation

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

Definition at line 213 of file CFG.h.

References llvm::Function::getEntryBlock().

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

Definition at line 218 of file CFG.h.

References llvm::Function::begin().

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

Definition at line 222 of file CFG.h.

References llvm::Function::end().

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

Definition at line 226 of file CFG.h.

References llvm::Function::size().


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