v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr > Struct Template Reference

#include <operation-matcher.h>

Collaboration diagram for v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >:

Classes

struct  Wildcard
 

Public Types

using constexpr_type = typename v_traits<T>::constexpr_type
 

Public Member Functions

 ValueMatch ()
 
 ValueMatch (OpIndex index)
 
 ValueMatch (OpIndex *index)
 
 ValueMatch (V< T > *index)
 
 ValueMatch (constexpr_type constant)
 
bool matches (OpIndex matched, const OperationMatcher *matcher)
 
void bind (OpIndex matched, const OperationMatcher *matcher)
 

Public Attributes

std::variant< Wildcard, OpIndex, OpIndex *, constexpr_typev_
 

Detailed Description

template<typename T, bool HasConstexpr>
struct v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >

Definition at line 23 of file operation-matcher.h.

Member Typedef Documentation

◆ constexpr_type

template<typename T , bool HasConstexpr>
using v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::constexpr_type = typename v_traits<T>::constexpr_type

Definition at line 25 of file operation-matcher.h.

Constructor & Destructor Documentation

◆ ValueMatch() [1/5]

template<typename T , bool HasConstexpr>
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::ValueMatch ( )
inline

Definition at line 27 of file operation-matcher.h.

◆ ValueMatch() [2/5]

template<typename T , bool HasConstexpr>
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::ValueMatch ( OpIndex index)
inline

Definition at line 28 of file operation-matcher.h.

◆ ValueMatch() [3/5]

template<typename T , bool HasConstexpr>
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::ValueMatch ( OpIndex * index)
inline

Definition at line 29 of file operation-matcher.h.

◆ ValueMatch() [4/5]

template<typename T , bool HasConstexpr>
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::ValueMatch ( V< T > * index)
inline

Definition at line 30 of file operation-matcher.h.

◆ ValueMatch() [5/5]

template<typename T , bool HasConstexpr>
v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::ValueMatch ( constexpr_type constant)
inline

Definition at line 31 of file operation-matcher.h.

Member Function Documentation

◆ bind()

template<typename T , bool HasConstexpr>
void v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::bind ( OpIndex matched,
const OperationMatcher * matcher )
inline

Definition at line 632 of file operation-matcher.h.

◆ matches()

template<typename T , bool HasConstexpr>
bool v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::matches ( OpIndex matched,
const OperationMatcher * matcher )
inline

Definition at line 608 of file operation-matcher.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ v_

template<typename T , bool HasConstexpr>
std::variant<Wildcard, OpIndex, OpIndex*, constexpr_type> v8::internal::compiler::turboshaft::detail::ValueMatch< T, HasConstexpr >::v_

Definition at line 37 of file operation-matcher.h.


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