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

#include <maglev-ir.h>

Inheritance diagram for v8::internal::maglev::CheckMaps:
Collaboration diagram for v8::internal::maglev::CheckMaps:

Public Member Functions

 CheckMaps (uint64_t bitfield, const compiler::ZoneRefSet< Map > &maps, CheckType check_type)
 
 CheckMaps (uint64_t bitfield, base::Vector< const compiler::MapRef > maps, CheckType check_type, Zone *zone)
 
const compiler::ZoneRefSet< Map > & maps () const
 
CheckType check_type () const
 
Inputreceiver_input ()
 
void SetValueLocationConstraints ()
 
void GenerateCode (MaglevAssembler *, const ProcessingState &)
 
void PrintParams (std::ostream &, MaglevGraphLabeller *) const
 
auto options () const
 
- Public Member Functions inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
constexpr bool has_inputs () const
 
constexpr uint16_t input_count () const
 
constexpr auto end ()
 
void VerifyInputs (MaglevGraphLabeller *graph_labeller) const
 
- Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
constexpr Opcode opcode () const
 
constexpr const OpPropertiesproperties () const
 

Static Public Attributes

static constexpr OpProperties kProperties
 
static constexpr Base::InputTypes kInputTypes {ValueRepresentation::kTagged}
 
static constexpr int kReceiverIndex = 0
 
- Static Public Attributes inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
static constexpr size_t kInputCount = InputCount
 

Private Types

using Base = FixedInputNodeT<1, CheckMaps>
 
using CheckTypeBitField = NextBitField<CheckType, 1>
 

Private Attributes

const compiler::ZoneRefSet< Mapmaps_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
static Derived * New (Zone *zone, std::initializer_list< ValueNode * > inputs, Args &&... args)
 
template<typename... Args>
static Derived * New (Zone *zone, size_t input_count, Args &&... args)
 
- Protected Types inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
using InputTypes = detail::ArrayWrapper<kInputCount>
 
- Protected Member Functions inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
template<typename... Args>
 FixedInputNodeTMixin (uint64_t bitfield, Args &&... args)
 
- Protected Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
 NodeTMixin (uint64_t bitfield, Args &&... args)
 
- Protected Attributes inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
detail::YouNeedToDefineAnInputTypesArrayInYourDerivedClass kInputTypes
 

Detailed Description

Definition at line 6475 of file maglev-ir.h.

Member Typedef Documentation

◆ Base

Definition at line 6476 of file maglev-ir.h.

◆ CheckTypeBitField

Definition at line 6506 of file maglev-ir.h.

Constructor & Destructor Documentation

◆ CheckMaps() [1/2]

v8::internal::maglev::CheckMaps::CheckMaps ( uint64_t bitfield,
const compiler::ZoneRefSet< Map > & maps,
CheckType check_type )
inlineexplicit

Definition at line 6479 of file maglev-ir.h.

◆ CheckMaps() [2/2]

v8::internal::maglev::CheckMaps::CheckMaps ( uint64_t bitfield,
base::Vector< const compiler::MapRef > maps,
CheckType check_type,
Zone * zone )
inlineexplicit

Definition at line 6482 of file maglev-ir.h.

Member Function Documentation

◆ check_type()

CheckType v8::internal::maglev::CheckMaps::check_type ( ) const
inline

Definition at line 6494 of file maglev-ir.h.

Here is the caller graph for this function:

◆ GenerateCode()

void v8::internal::maglev::CheckMaps::GenerateCode ( MaglevAssembler * ,
const ProcessingState &  )

◆ maps()

const compiler::ZoneRefSet< Map > & v8::internal::maglev::CheckMaps::maps ( ) const
inline

Definition at line 6493 of file maglev-ir.h.

Here is the caller graph for this function:

◆ options()

auto v8::internal::maglev::CheckMaps::options ( ) const
inline

Definition at line 6503 of file maglev-ir.h.

Here is the call graph for this function:

◆ PrintParams()

void v8::internal::maglev::CheckMaps::PrintParams ( std::ostream & os,
MaglevGraphLabeller * graph_labeller ) const

Definition at line 7578 of file maglev-ir.cc.

Here is the call graph for this function:

◆ receiver_input()

Input & v8::internal::maglev::CheckMaps::receiver_input ( )
inline

Definition at line 6497 of file maglev-ir.h.

◆ SetValueLocationConstraints()

void v8::internal::maglev::CheckMaps::SetValueLocationConstraints ( )

Member Data Documentation

◆ kInputTypes

Base::InputTypes v8::internal::maglev::CheckMaps::kInputTypes {ValueRepresentation::kTagged}
staticconstexpr

Definition at line 6491 of file maglev-ir.h.

◆ kProperties

OpProperties v8::internal::maglev::CheckMaps::kProperties
staticconstexpr
Initial value:
=
static constexpr OpProperties CanRead()
Definition maglev-ir.h:1102
static constexpr OpProperties EagerDeopt()
Definition maglev-ir.h:1087

Definition at line 6488 of file maglev-ir.h.

◆ kReceiverIndex

int v8::internal::maglev::CheckMaps::kReceiverIndex = 0
staticconstexpr

Definition at line 6496 of file maglev-ir.h.

◆ maps_

const compiler::ZoneRefSet<Map> v8::internal::maglev::CheckMaps::maps_
private

Definition at line 6507 of file maglev-ir.h.


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