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

#include <maglev-ir.h>

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

Public Types

using OutputRegister = Register
 

Public Member Functions

 TrustedConstant (uint64_t bitfield, compiler::HeapObjectRef object, IndirectPointerTag tag)
 
bool ToBoolean (LocalIsolate *local_isolate) const
 
void SetValueLocationConstraints ()
 
void GenerateCode (MaglevAssembler *, const ProcessingState &)
 
void PrintParams (std::ostream &, MaglevGraphLabeller *) const
 
compiler::HeapObjectRef object () const
 
IndirectPointerTag tag () const
 
void DoLoadToRegister (MaglevAssembler *, OutputRegister)
 
DirectHandle< ObjectDoReify (LocalIsolate *isolate) 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 = OpProperties::TrustedPointer()
 
- Static Public Attributes inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
static constexpr size_t kInputCount = InputCount
 

Private Types

using Base = FixedInputValueNodeT<0, TrustedConstant>
 

Private Attributes

const compiler::HeapObjectRef object_
 
const IndirectPointerTag tag_
 

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 5326 of file maglev-ir.h.

Member Typedef Documentation

◆ Base

◆ OutputRegister

Constructor & Destructor Documentation

◆ TrustedConstant()

v8::internal::maglev::TrustedConstant::TrustedConstant ( uint64_t bitfield,
compiler::HeapObjectRef object,
IndirectPointerTag tag )
inlineexplicit

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

Member Function Documentation

◆ DoLoadToRegister()

void v8::internal::maglev::TrustedConstant::DoLoadToRegister ( MaglevAssembler * ,
OutputRegister  )

◆ DoReify()

DirectHandle< Object > v8::internal::maglev::TrustedConstant::DoReify ( LocalIsolate * isolate) const

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

◆ GenerateCode()

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

◆ object()

compiler::HeapObjectRef v8::internal::maglev::TrustedConstant::object ( ) const
inline

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

◆ PrintParams()

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

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

◆ SetValueLocationConstraints()

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

◆ tag()

IndirectPointerTag v8::internal::maglev::TrustedConstant::tag ( ) const
inline

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

Here is the caller graph for this function:

◆ ToBoolean()

bool v8::internal::maglev::TrustedConstant::ToBoolean ( LocalIsolate * local_isolate) const
inline

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

Here is the call graph for this function:

Member Data Documentation

◆ kProperties

OpProperties v8::internal::maglev::TrustedConstant::kProperties = OpProperties::TrustedPointer()
staticconstexpr

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

◆ object_

const compiler::HeapObjectRef v8::internal::maglev::TrustedConstant::object_
private

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

◆ tag_

const IndirectPointerTag v8::internal::maglev::TrustedConstant::tag_
private

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


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