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

#include <generic-algorithm-inl.h>

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

Public Types

typedef N Node
 
typedef N::Uses::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::NodeUseIterationTraits< N >

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

Member Typedef Documentation

◆ Iterator

template<class N >
typedef N::Uses::iterator v8::internal::compiler::NodeUseIterationTraits< N >::Iterator

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

◆ Node

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

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

Member Function Documentation

◆ begin()

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

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

38 { return node->uses().begin(); }

◆ end()

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

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

39 { return node->uses().end(); }

◆ from()

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

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

42 { return iterator.edge().to(); }

◆ max_id()

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

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

40 { 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::NodeUseIterationTraits< N >::to ( Iterator  iterator)
inlinestatic

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

41 { return *iterator; }

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