v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::CheckMapsOp Struct Reference

#include <operations.h>

Inheritance diagram for v8::internal::compiler::turboshaft::CheckMapsOp:
Collaboration diagram for v8::internal::compiler::turboshaft::CheckMapsOp:

Public Member Functions

base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
V< HeapObjectheap_object () const
 
V< FrameStateframe_state () const
 
OptionalV< Mapmap () const
 
 CheckMapsOp (V< HeapObject > heap_object, V< FrameState > frame_state, OptionalV< Map > map, ZoneRefSet< Map > maps, CheckMapsFlags flags, const FeedbackSource &feedback)
 
void Validate (const Graph &graph) const
 
auto options () const
 
void PrintOptions (std::ostream &os) const
 
template<typename Fn , typename Mapper >
V8_INLINE auto Explode (Fn fn, Mapper &mapper) const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< CheckMapsOp >
bool IsRequiredWhenUnused () const
 
CheckMapsOpderived_this ()
 
const CheckMapsOpderived_this () const
 
base::Vector< OpIndexinputs ()
 
base::Vector< const OpIndexinputs () const
 
V8_INLINE OpIndexinput (size_t i)
 
V8_INLINE V< Anyinput (size_t i) const
 
V8_INLINE V< Tinput (size_t i) const
 
size_t StorageSlotCount () const
 
 OperationT (size_t input_count)
 
 OperationT (ShadowyOpIndexVectorWrapper inputs)
 
bool EqualsForGVN (const Base &other) const
 
bool operator== (const Base &other) const
 
size_t HashWithOptions (const Args &... args) const
 
size_t hash_value (HashingStrategy strategy=HashingStrategy::kDefault) const
 
void PrintInputs (std::ostream &os, const std::string &op_index_prefix) const
 
void PrintOptions (std::ostream &os) const
 
void Validate (const Graph &graph) const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::Operation
base::Vector< const OpIndexinputs () const
 
V8_INLINE OpIndex input (size_t i) const
 
size_t StorageSlotCount () const
 
base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
template<class Op >
bool Is () const
 
template<class Op >
underlying_operation_t< Op > & Cast ()
 
template<class Op >
const underlying_operation_t< Op > & Cast () const
 
template<class Op >
const underlying_operation_t< Op > * TryCast () const
 
template<class Op >
underlying_operation_t< Op > * TryCast ()
 
OpEffects Effects () const
 
bool IsBlockTerminator () const
 
bool IsRequiredWhenUnused () const
 
bool IsProtectedLoad () const
 
std::string ToString () const
 
void PrintInputs (std::ostream &os, const std::string &op_index_prefix) const
 
void PrintOptions (std::ostream &os) const
 
bool IsOnlyUserOf (const Operation &value, const Graph &graph) const
 
void Print () const
 

Static Public Member Functions

static CheckMapsOpNew (Graph *graph, V< HeapObject > heap_object, V< FrameState > frame_state, OptionalV< Map > map, ZoneRefSet< Map > maps, CheckMapsFlags flags, const FeedbackSource &feedback)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< CheckMapsOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static CheckMapsOpNew (Graph *graph, size_t input_count, Args... args)
 
static CheckMapsOpNew (Graph *graph, ShadowyOpIndexVectorWrapper inputs, Args... args)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::Operation
static size_t StorageSlotCount (Opcode opcode, size_t input_count)
 

Public Attributes

CheckMapsFlags flags
 
ZoneRefSet< Mapmaps
 
FeedbackSource feedback
 
- Public Attributes inherited from v8::internal::compiler::turboshaft::Operation
const Opcode opcode
 
SaturatedUint8 saturated_use_count
 
const uint16_t input_count
 

Static Public Attributes

static constexpr OpEffects effects
 
- Static Public Attributes inherited from v8::internal::compiler::turboshaft::OperationT< CheckMapsOp >
static const Opcode opcode
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::turboshaft::OperationT< CheckMapsOp >
using Base
 
- Protected Member Functions inherited from v8::internal::compiler::turboshaft::Operation
 Operation (Opcode opcode, size_t input_count)
 
template<class OpmaskT >
 V8_CLANG_NO_SANITIZE ("memory") bool IsOpmask() const
 
 Operation (const Operation &)=delete
 
Operationoperator= (const Operation &)=delete
 

Detailed Description

Definition at line 6119 of file operations.h.

Constructor & Destructor Documentation

◆ CheckMapsOp()

v8::internal::compiler::turboshaft::CheckMapsOp::CheckMapsOp ( V< HeapObject > heap_object,
V< FrameState > frame_state,
OptionalV< Map > map,
ZoneRefSet< Map > maps,
CheckMapsFlags flags,
const FeedbackSource & feedback )
inline

Definition at line 6143 of file operations.h.

Member Function Documentation

◆ Explode()

template<typename Fn , typename Mapper >
V8_INLINE auto v8::internal::compiler::turboshaft::CheckMapsOp::Explode ( Fn fn,
Mapper & mapper ) const
inline

Definition at line 6165 of file operations.h.

◆ frame_state()

V< FrameState > v8::internal::compiler::turboshaft::CheckMapsOp::frame_state ( ) const
inline

Definition at line 6138 of file operations.h.

◆ heap_object()

V< HeapObject > v8::internal::compiler::turboshaft::CheckMapsOp::heap_object ( ) const
inline

Definition at line 6137 of file operations.h.

◆ inputs_rep()

base::Vector< const MaybeRegisterRepresentation > v8::internal::compiler::turboshaft::CheckMapsOp::inputs_rep ( ZoneVector< MaybeRegisterRepresentation > & storage) const
inline

Definition at line 6132 of file operations.h.

◆ map()

OptionalV< Map > v8::internal::compiler::turboshaft::CheckMapsOp::map ( ) const
inline

Definition at line 6139 of file operations.h.

◆ New()

static CheckMapsOp & v8::internal::compiler::turboshaft::CheckMapsOp::New ( Graph * graph,
V< HeapObject > heap_object,
V< FrameState > frame_state,
OptionalV< Map > map,
ZoneRefSet< Map > maps,
CheckMapsFlags flags,
const FeedbackSource & feedback )
inlinestatic

Definition at line 6170 of file operations.h.

◆ options()

auto v8::internal::compiler::turboshaft::CheckMapsOp::options ( ) const
inline

Definition at line 6161 of file operations.h.

Here is the call graph for this function:

◆ outputs_rep()

base::Vector< const RegisterRepresentation > v8::internal::compiler::turboshaft::CheckMapsOp::outputs_rep ( ) const
inline

Definition at line 6130 of file operations.h.

◆ PrintOptions()

void v8::internal::compiler::turboshaft::CheckMapsOp::PrintOptions ( std::ostream & os) const

Definition at line 1538 of file operations.cc.

Here is the call graph for this function:

◆ Validate()

void v8::internal::compiler::turboshaft::CheckMapsOp::Validate ( const Graph & graph) const
inline

Definition at line 6157 of file operations.h.

Here is the call graph for this function:

Member Data Documentation

◆ effects

OpEffects v8::internal::compiler::turboshaft::CheckMapsOp::effects
staticconstexpr
Initial value:
= OpEffects()
.CanDependOnChecks()
.CanDeopt()
.CanReadHeapMemory()
.CanWriteHeapMemory()

Definition at line 6125 of file operations.h.

◆ feedback

FeedbackSource v8::internal::compiler::turboshaft::CheckMapsOp::feedback

Definition at line 6122 of file operations.h.

◆ flags

CheckMapsFlags v8::internal::compiler::turboshaft::CheckMapsOp::flags

Definition at line 6120 of file operations.h.

◆ maps

ZoneRefSet<Map> v8::internal::compiler::turboshaft::CheckMapsOp::maps

Definition at line 6121 of file operations.h.


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