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

Public Types

using TreeEntry = BoUpSLP::TreeEntry
 
using NodeRef = TreeEntry *
 NodeRef has to be a pointer per the GraphWriter. More...
 
using nodes_iterator = pointer_iterator< std::vector< TreeEntry >::iterator >
 For the node iterator we just need to turn the TreeEntry iterator into a TreeEntry* iterator so that it dereferences to NodeRef. More...
 

Static Public Member Functions

static NodeRef getEntryNode (BoUpSLP &R)
 
static ChildIteratorType child_begin (NodeRef N)
 
static ChildIteratorType child_end (NodeRef N)
 
static nodes_iterator nodes_begin (BoUpSLP *R)
 
static nodes_iterator nodes_end (BoUpSLP *R)
 
static unsigned size (BoUpSLP *R)
 

Detailed Description

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

Definition at line 1243 of file SLPVectorizer.cpp.

Member Typedef Documentation

◆ NodeRef

using llvm::GraphTraits< BoUpSLP * >::NodeRef = TreeEntry *

NodeRef has to be a pointer per the GraphWriter.

Definition at line 1247 of file SLPVectorizer.cpp.

◆ nodes_iterator

using llvm::GraphTraits< BoUpSLP * >::nodes_iterator = pointer_iterator<std::vector<TreeEntry>::iterator>

For the node iterator we just need to turn the TreeEntry iterator into a TreeEntry* iterator so that it dereferences to NodeRef.

Definition at line 1275 of file SLPVectorizer.cpp.

◆ TreeEntry

using llvm::GraphTraits< BoUpSLP * >::TreeEntry = BoUpSLP::TreeEntry

Definition at line 1244 of file SLPVectorizer.cpp.

Member Function Documentation

◆ child_begin()

static ChildIteratorType llvm::GraphTraits< BoUpSLP * >::child_begin ( NodeRef  N)
inlinestatic

Definition at line 1265 of file SLPVectorizer.cpp.

◆ child_end()

static ChildIteratorType llvm::GraphTraits< BoUpSLP * >::child_end ( NodeRef  N)
inlinestatic

Definition at line 1269 of file SLPVectorizer.cpp.

◆ getEntryNode()

static NodeRef llvm::GraphTraits< BoUpSLP * >::getEntryNode ( BoUpSLP &  R)
inlinestatic

Definition at line 1263 of file SLPVectorizer.cpp.

◆ nodes_begin()

static nodes_iterator llvm::GraphTraits< BoUpSLP * >::nodes_begin ( BoUpSLP *  R)
inlinestatic

Definition at line 1277 of file SLPVectorizer.cpp.

◆ nodes_end()

static nodes_iterator llvm::GraphTraits< BoUpSLP * >::nodes_end ( BoUpSLP *  R)
inlinestatic

Definition at line 1281 of file SLPVectorizer.cpp.

◆ size()

static unsigned llvm::GraphTraits< BoUpSLP * >::size ( BoUpSLP *  R)
inlinestatic

Definition at line 1285 of file SLPVectorizer.cpp.


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