V8 Project
v8::internal::compiler::NodeInputIterationTraits< N > Class Template Reference

#include <generic-algorithm-inl.h>

+ Collaboration diagram for v8::internal::compiler::NodeInputIterationTraits< N >:

Public Types

typedef N Node
 
typedef N::Inputs::iterator Iterator
 

Static Public Member Functions

static Iterator begin (Node *node)
 
static Iterator end (Node *node)
 
static int max_id (GenericGraphBase *graph)
 
static Nodeto (Iterator iterator)
 
static Nodefrom (Iterator iterator)
 

Detailed Description

template<class N>
class v8::internal::compiler::NodeInputIterationTraits< N >

Definition at line 20 of file generic-algorithm-inl.h.

Member Typedef Documentation

◆ Iterator

template<class N >
typedef N::Inputs::iterator v8::internal::compiler::NodeInputIterationTraits< N >::Iterator

Definition at line 23 of file generic-algorithm-inl.h.

◆ Node

template<class N >
typedef N v8::internal::compiler::NodeInputIterationTraits< N >::Node

Definition at line 22 of file generic-algorithm-inl.h.

Member Function Documentation

◆ begin()

template<class N >
static Iterator v8::internal::compiler::NodeInputIterationTraits< N >::begin ( Node node)
inlinestatic

Definition at line 25 of file generic-algorithm-inl.h.

25 { return node->inputs().begin(); }

◆ end()

template<class N >
static Iterator v8::internal::compiler::NodeInputIterationTraits< N >::end ( Node node)
inlinestatic

Definition at line 26 of file generic-algorithm-inl.h.

26 { return node->inputs().end(); }

◆ from()

template<class N >
static Node* v8::internal::compiler::NodeInputIterationTraits< N >::from ( Iterator  iterator)
inlinestatic

Definition at line 29 of file generic-algorithm-inl.h.

29 { return iterator.edge().from(); }

◆ max_id()

template<class N >
static int v8::internal::compiler::NodeInputIterationTraits< N >::max_id ( GenericGraphBase graph)
inlinestatic

Definition at line 27 of file generic-algorithm-inl.h.

27 { return graph->NodeCount(); }

References v8::internal::compiler::GenericGraphBase::NodeCount().

+ Here is the call graph for this function:

◆ to()

template<class N >
static Node* v8::internal::compiler::NodeInputIterationTraits< N >::to ( Iterator  iterator)
inlinestatic

Definition at line 28 of file generic-algorithm-inl.h.

28 { return *iterator; }

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