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

Classes

struct  ChildIteratorType
 Add the VectorizableTree to the index iterator to be able to return TreeEntry pointers. More...
 

Public Types

typedef BoUpSLP::TreeEntry TreeEntry
 
typedef TreeEntry * NodeRef
 NodeRef has to be a pointer per the GraphWriter. More...
 
typedef pointer_iterator
< std::vector< TreeEntry >
::iterator > 
nodes_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 975 of file SLPVectorizer.cpp.

Member Typedef Documentation

NodeRef has to be a pointer per the GraphWriter.

Definition at line 979 of file SLPVectorizer.cpp.

typedef pointer_iterator<std::vector<TreeEntry>::iterator> llvm::GraphTraits< BoUpSLP * >::nodes_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 1007 of file SLPVectorizer.cpp.

typedef BoUpSLP::TreeEntry llvm::GraphTraits< BoUpSLP * >::TreeEntry

Definition at line 976 of file SLPVectorizer.cpp.

Member Function Documentation

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

Definition at line 998 of file SLPVectorizer.cpp.

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

Definition at line 1001 of file SLPVectorizer.cpp.

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

Definition at line 996 of file SLPVectorizer.cpp.

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

Definition at line 1009 of file SLPVectorizer.cpp.

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

Definition at line 1012 of file SLPVectorizer.cpp.

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

Definition at line 1016 of file SLPVectorizer.cpp.


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