V8 Project
graph-unittest.cc File Reference
#include "src/compiler/graph-unittest.h"
#include <ostream>
#include "src/compiler/node-properties-inl.h"
+ Include dependency graph for graph-unittest.cc:

Go to the source code of this file.

Classes

class  v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::NodeMatcher
 
class  v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::FINAL< T >
 

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 
 v8::internal::compiler
 
 v8::internal::compiler::anonymous_namespace{graph-unittest.cc}
 

Macros

#define IS_BINOP_MATCHER(Name)
 
#define IS_UNOP_MATCHER(Name)
 

Functions

template<typename T >
std::ostream & v8::internal::operator<< (std::ostream &os, const Unique< T > &value)
 
std::ostream & v8::internal::operator<< (std::ostream &os, const ExternalReference &value)
 
template<typename T >
bool v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::PrintMatchAndExplain (const T &value, const char *value_name, const Matcher< T > &value_matcher, MatchResultListener *listener)
 
Matcher< Node * > v8::internal::compiler::IsBranch (const Matcher< Node * > &value_matcher, const Matcher< Node * > &control_matcher)
 
Matcher< Node * > v8::internal::compiler::IsMerge (const Matcher< Node * > &control0_matcher, const Matcher< Node * > &control1_matcher)
 
Matcher< Node * > v8::internal::compiler::IsIfTrue (const Matcher< Node * > &control_matcher)
 
Matcher< Node * > v8::internal::compiler::IsIfFalse (const Matcher< Node * > &control_matcher)
 
Matcher< Node * > v8::internal::compiler::IsControlEffect (const Matcher< Node * > &control_matcher)
 
Matcher< Node * > v8::internal::compiler::IsValueEffect (const Matcher< Node * > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsFinish (const Matcher< Node * > &value_matcher, const Matcher< Node * > &effect_matcher)
 
Matcher< Node * > v8::internal::compiler::IsExternalConstant (const Matcher< ExternalReference > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsHeapConstant (const Matcher< Unique< HeapObject > > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsInt32Constant (const Matcher< int32_t > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsInt64Constant (const Matcher< int64_t > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsFloat32Constant (const Matcher< float > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsFloat64Constant (const Matcher< double > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsNumberConstant (const Matcher< double > &value_matcher)
 
Matcher< Node * > v8::internal::compiler::IsPhi (const Matcher< MachineType > &type_matcher, const Matcher< Node * > &value0_matcher, const Matcher< Node * > &value1_matcher, const Matcher< Node * > &merge_matcher)
 
Matcher< Node * > v8::internal::compiler::IsProjection (const Matcher< size_t > &index_matcher, const Matcher< Node * > &base_matcher)
 
Matcher< Node * > v8::internal::compiler::IsCall (const Matcher< CallDescriptor * > &descriptor_matcher, const Matcher< Node * > &value0_matcher, const Matcher< Node * > &value1_matcher, const Matcher< Node * > &value2_matcher, const Matcher< Node * > &value3_matcher, const Matcher< Node * > &effect_matcher, const Matcher< Node * > &control_matcher)
 
Matcher< Node * > v8::internal::compiler::IsLoad (const Matcher< LoadRepresentation > &rep_matcher, const Matcher< Node * > &base_matcher, const Matcher< Node * > &index_matcher, const Matcher< Node * > &effect_matcher)
 
Matcher< Node * > v8::internal::compiler::IsStore (const Matcher< MachineType > &type_matcher, const Matcher< WriteBarrierKind > &write_barrier_matcher, const Matcher< Node * > &base_matcher, const Matcher< Node * > &index_matcher, const Matcher< Node * > &value_matcher, const Matcher< Node * > &effect_matcher, const Matcher< Node * > &control_matcher)
 

Macro Definition Documentation

◆ IS_BINOP_MATCHER

#define IS_BINOP_MATCHER (   Name)
Value:
Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \
const Matcher<Node*>& rhs_matcher) { \
return MakeMatcher( \
new IsBinopMatcher(IrOpcode::k##Name, lhs_matcher, rhs_matcher)); \
}
bool Is(Object *obj)

Definition at line 740 of file graph-unittest.cc.

◆ IS_UNOP_MATCHER

#define IS_UNOP_MATCHER (   Name)
Value:
Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \
return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \
}

Definition at line 763 of file graph-unittest.cc.