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

#include <maglev-ir.h>

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

Public Types

enum class  Kind { kFloor , kCeil , kNearest }
 

Public Member Functions

 Float64Round (uint64_t bitfield, Kind kind)
 
Inputinput ()
 
Kind kind () const
 
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 Member Functions

static Builtin continuation (Kind kind)
 
- 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)
 

Static Public Attributes

static constexpr OpProperties kProperties = OpProperties::Float64()
 
static constexpr Base::InputTypes kInputTypes {ValueRepresentation::kHoleyFloat64}
 
- Static Public Attributes inherited from v8::internal::maglev::FixedInputNodeTMixin< InputCount, Base, Derived >
static constexpr size_t kInputCount = InputCount
 

Private Types

using Base = FixedInputValueNodeT<1, Float64Round>
 

Private Attributes

Kind kind_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

Member Enumeration Documentation

◆ Kind

Enumerator
kFloor 
kCeil 
kNearest 

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

Constructor & Destructor Documentation

◆ Float64Round()

v8::internal::maglev::Float64Round::Float64Round ( uint64_t bitfield,
Kind kind )
inline

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

Member Function Documentation

◆ continuation()

static Builtin v8::internal::maglev::Float64Round::continuation ( Kind kind)
inlinestatic

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

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

◆ GenerateCode()

void v8::internal::maglev::Float64Round::GenerateCode ( MaglevAssembler * masm,
const ProcessingState & state )

Definition at line 649 of file maglev-ir-arm.cc.

◆ input()

Input & v8::internal::maglev::Float64Round::input ( )
inline

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

Here is the call graph for this function:

◆ kind()

Kind v8::internal::maglev::Float64Round::kind ( ) const
inline

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

Here is the caller graph for this function:

◆ options()

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

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

◆ PrintParams()

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

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

◆ SetValueLocationConstraints()

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

Member Data Documentation

◆ kind_

Kind v8::internal::maglev::Float64Round::kind_
private

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

◆ kInputTypes

Base::InputTypes v8::internal::maglev::Float64Round::kInputTypes {ValueRepresentation::kHoleyFloat64}
staticconstexpr

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

◆ kProperties

OpProperties v8::internal::maglev::Float64Round::kProperties = OpProperties::Float64()
staticconstexpr

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


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