v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
uniform-reducer-adapter.h File Reference
Include dependency graph for uniform-reducer-adapter.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::UniformReducerAdapter< Reducer, Next >
 

Namespaces

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

Macros

#define REDUCE(op)
 

Macro Definition Documentation

◆ REDUCE

#define REDUCE ( op)
Value:
struct Reduce##op##Continuation final { \
explicit Reduce##op##Continuation(Next* _this) : this_(_this) {} \
using Op = op##Op; \
auto ReduceInputGraph(OpIndex ig_index, const op##Op& operation) { \
return this_->ReduceInputGraph##op(ig_index, operation); \
} \
template <typename... Args> \
auto Reduce(Args... args) const { \
return this_->Reduce##op(args...); \
} \
Next* this_; \
}; \
auto ReduceInputGraph##op(OpIndex ig_index, const op##Op& operation) { \
return static_cast<Reducer<Next>*>(this) \
->template ReduceInputGraphOperation<op##Op, \
Reduce##op##Continuation>( \
ig_index, operation); \
} \
template <typename... Args> \
auto Reduce##op(Args... args) { \
return static_cast<Reducer<Next>*>(this) \
->template ReduceOperation<Opcode::k##op, Reduce##op##Continuation>( \
args...); \
}
base::Vector< const DirectHandle< Object > > args
Definition execution.cc:74

Definition at line 122 of file uniform-reducer-adapter.h.