v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
value-numbering-reducer.h File Reference
Include dependency graph for value-numbering-reducer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::compiler::turboshaft::ScopeCounter
 
class  v8::internal::compiler::turboshaft::DisableValueNumbering
 
class  v8::internal::compiler::turboshaft::ValueNumberingReducer< Next >
 
struct  v8::internal::compiler::turboshaft::ValueNumberingReducer< Next >::Entry
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::compiler
 
namespace  v8::internal::compiler::turboshaft
 

Macros

#define EMIT_OP(Name)
 

Macro Definition Documentation

◆ EMIT_OP

#define EMIT_OP ( Name)
Value:
template <class... Args> \
OpIndex Reduce##Name(Args... args) { \
OpIndex next_index = Asm().output_graph().next_operation_index(); \
USE(next_index); \
OpIndex result = Next::Reduce##Name(args...); \
if (ShouldSkipOptimizationStep()) return result; \
if constexpr (!CanBeGVNed<Name##Op>()) return result; \
DCHECK_EQ(next_index, result); \
return AddOrFind<Name##Op>(result); \
}
base::Vector< const DirectHandle< Object > > args
Definition execution.cc:74
ZoneVector< RpoNumber > & result

Definition at line 136 of file value-numbering-reducer.h.