V8 Project
v8::internal::compiler::Reducer Class Referenceabstract

#include <graph-reducer.h>

+ Inheritance diagram for v8::internal::compiler::Reducer:
+ Collaboration diagram for v8::internal::compiler::Reducer:

Public Member Functions

 Reducer ()
 
virtual ~Reducer ()
 
virtual Reduction Reduce (Node *node)=0
 

Static Public Member Functions

static Reduction NoChange ()
 
static Reduction Replace (Node *node)
 
static Reduction Changed (Node *node)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (Reducer)
 

Detailed Description

Definition at line 37 of file graph-reducer.h.

Constructor & Destructor Documentation

◆ Reducer()

v8::internal::compiler::Reducer::Reducer ( )
inline

Definition at line 39 of file graph-reducer.h.

39 {}

◆ ~Reducer()

virtual v8::internal::compiler::Reducer::~Reducer ( )
inlinevirtual

Definition at line 40 of file graph-reducer.h.

40 {}

Member Function Documentation

◆ Changed()

static Reduction v8::internal::compiler::Reducer::Changed ( Node *  node)
inlinestatic

Definition at line 48 of file graph-reducer.h.

48 { return Reduction(node); }

Referenced by v8::internal::compiler::JSGenericLowering::Reduce(), v8::internal::compiler::JSContextSpecializer::ReduceJSLoadContext(), v8::internal::compiler::JSContextSpecializer::ReduceJSStoreContext(), and v8::internal::compiler::TEST_F().

+ Here is the caller graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::compiler::Reducer::DISALLOW_COPY_AND_ASSIGN ( Reducer  )
private

◆ NoChange()

static Reduction v8::internal::compiler::Reducer::NoChange ( )
inlinestatic

◆ Reduce()

◆ Replace()

static Reduction v8::internal::compiler::Reducer::Replace ( Node *  node)
inlinestatic

Definition at line 47 of file graph-reducer.h.

47 { return Reduction(node); }

Referenced by v8::internal::compiler::JSContextSpecializer::ReduceJSLoadContext(), v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::ReplaceWith(), and v8::internal::compiler::TEST_F().

+ Here is the caller graph for this function:

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