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

#include <use-info.h>

Collaboration diagram for v8::internal::compiler::UseInfo:

Public Member Functions

 UseInfo (MachineRepresentation representation, Truncation truncation, TypeCheckKind type_check=TypeCheckKind::kNone, const FeedbackSource &feedback=FeedbackSource())
 
MachineRepresentation representation () const
 
Truncation truncation () const
 
TypeCheckKind type_check () const
 
CheckForMinusZeroMode minus_zero_check () const
 
const FeedbackSourcefeedback () const
 

Static Public Member Functions

static UseInfo TruncatingWord32 ()
 
static UseInfo TruncatingWord64 ()
 
static UseInfo CheckedBigIntTruncatingWord64 (const FeedbackSource &feedback)
 
static UseInfo CheckedBigInt64AsWord64 (const FeedbackSource &feedback)
 
static UseInfo Word64 (IdentifyZeros identify_zeros=kDistinguishZeros)
 
static UseInfo Word ()
 
static UseInfo Bool ()
 
static UseInfo Float32 ()
 
static UseInfo Float16RawBits ()
 
static UseInfo Float64 ()
 
static UseInfo TruncatingFloat64 (IdentifyZeros identify_zeros=kDistinguishZeros)
 
static UseInfo TruncatingFloat16RawBits (IdentifyZeros identify_zeros=kDistinguishZeros)
 
static UseInfo CheckedSafeIntTruncatingWord32 (const FeedbackSource &feedback)
 
static UseInfo CheckedSafeIntAsWord64 (const FeedbackSource &feedback)
 
static UseInfo AnyTagged ()
 
static UseInfo TaggedSigned ()
 
static UseInfo TaggedPointer ()
 
static UseInfo CheckedTaggedAsArrayIndex (const FeedbackSource &feedback)
 
static UseInfo CheckedHeapObjectAsTaggedPointer (const FeedbackSource &feedback)
 
static UseInfo CheckedBigIntAsTaggedPointer (const FeedbackSource &feedback)
 
static UseInfo CheckedSignedSmallAsTaggedSigned (const FeedbackSource &feedback, IdentifyZeros identify_zeros=kDistinguishZeros)
 
static UseInfo CheckedSignedSmallAsWord32 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedSigned32AsWord32 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedSigned64AsWord64 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedNumberAsFloat64 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedNumberAsWord32 (const FeedbackSource &feedback)
 
static UseInfo CheckedNumberOrBooleanAsFloat64 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedNumberOrOddballAsFloat64 (IdentifyZeros identify_zeros, const FeedbackSource &feedback)
 
static UseInfo CheckedNumberOrOddballAsWord32 (const FeedbackSource &feedback)
 
static UseInfo Any ()
 
static UseInfo AnyTruncatingToBool ()
 
static UseInfo None ()
 

Private Attributes

MachineRepresentation representation_
 
Truncation truncation_
 
TypeCheckKind type_check_
 
FeedbackSource feedback_
 

Detailed Description

Definition at line 191 of file use-info.h.

Constructor & Destructor Documentation

◆ UseInfo()

v8::internal::compiler::UseInfo::UseInfo ( MachineRepresentation representation,
Truncation truncation,
TypeCheckKind type_check = TypeCheckKind::kNone,
const FeedbackSource & feedback = FeedbackSource() )
inline

Definition at line 193 of file use-info.h.

Here is the caller graph for this function:

Member Function Documentation

◆ Any()

static UseInfo v8::internal::compiler::UseInfo::Any ( )
inlinestatic

Definition at line 341 of file use-info.h.

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

◆ AnyTagged()

static UseInfo v8::internal::compiler::UseInfo::AnyTagged ( )
inlinestatic

Definition at line 260 of file use-info.h.

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

◆ AnyTruncatingToBool()

static UseInfo v8::internal::compiler::UseInfo::AnyTruncatingToBool ( )
inlinestatic

Definition at line 344 of file use-info.h.

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

◆ Bool()

static UseInfo v8::internal::compiler::UseInfo::Bool ( )
inlinestatic

Definition at line 227 of file use-info.h.

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

◆ CheckedBigInt64AsWord64()

static UseInfo v8::internal::compiler::UseInfo::CheckedBigInt64AsWord64 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 215 of file use-info.h.

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

◆ CheckedBigIntAsTaggedPointer()

static UseInfo v8::internal::compiler::UseInfo::CheckedBigIntAsTaggedPointer ( const FeedbackSource & feedback)
inlinestatic

Definition at line 282 of file use-info.h.

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

◆ CheckedBigIntTruncatingWord64()

static UseInfo v8::internal::compiler::UseInfo::CheckedBigIntTruncatingWord64 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 207 of file use-info.h.

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

◆ CheckedHeapObjectAsTaggedPointer()

static UseInfo v8::internal::compiler::UseInfo::CheckedHeapObjectAsTaggedPointer ( const FeedbackSource & feedback)
inlinestatic

Definition at line 276 of file use-info.h.

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

◆ CheckedNumberAsFloat64()

static UseInfo v8::internal::compiler::UseInfo::CheckedNumberAsFloat64 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 312 of file use-info.h.

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

◆ CheckedNumberAsWord32()

static UseInfo v8::internal::compiler::UseInfo::CheckedNumberAsWord32 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 318 of file use-info.h.

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

◆ CheckedNumberOrBooleanAsFloat64()

static UseInfo v8::internal::compiler::UseInfo::CheckedNumberOrBooleanAsFloat64 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 322 of file use-info.h.

Here is the call graph for this function:

◆ CheckedNumberOrOddballAsFloat64()

static UseInfo v8::internal::compiler::UseInfo::CheckedNumberOrOddballAsFloat64 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 328 of file use-info.h.

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

◆ CheckedNumberOrOddballAsWord32()

static UseInfo v8::internal::compiler::UseInfo::CheckedNumberOrOddballAsWord32 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 334 of file use-info.h.

Here is the call graph for this function:

◆ CheckedSafeIntAsWord64()

static UseInfo v8::internal::compiler::UseInfo::CheckedSafeIntAsWord64 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 255 of file use-info.h.

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

◆ CheckedSafeIntTruncatingWord32()

static UseInfo v8::internal::compiler::UseInfo::CheckedSafeIntTruncatingWord32 ( const FeedbackSource & feedback)
inlinestatic

Definition at line 249 of file use-info.h.

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

◆ CheckedSigned32AsWord32()

static UseInfo v8::internal::compiler::UseInfo::CheckedSigned32AsWord32 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 300 of file use-info.h.

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

◆ CheckedSigned64AsWord64()

static UseInfo v8::internal::compiler::UseInfo::CheckedSigned64AsWord64 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 306 of file use-info.h.

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

◆ CheckedSignedSmallAsTaggedSigned()

static UseInfo v8::internal::compiler::UseInfo::CheckedSignedSmallAsTaggedSigned ( const FeedbackSource & feedback,
IdentifyZeros identify_zeros = kDistinguishZeros )
inlinestatic

Definition at line 287 of file use-info.h.

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

◆ CheckedSignedSmallAsWord32()

static UseInfo v8::internal::compiler::UseInfo::CheckedSignedSmallAsWord32 ( IdentifyZeros identify_zeros,
const FeedbackSource & feedback )
inlinestatic

Definition at line 294 of file use-info.h.

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

◆ CheckedTaggedAsArrayIndex()

static UseInfo v8::internal::compiler::UseInfo::CheckedTaggedAsArrayIndex ( const FeedbackSource & feedback)
inlinestatic

Definition at line 271 of file use-info.h.

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

◆ feedback()

const FeedbackSource & v8::internal::compiler::UseInfo::feedback ( ) const
inline

Definition at line 361 of file use-info.h.

Here is the caller graph for this function:

◆ Float16RawBits()

static UseInfo v8::internal::compiler::UseInfo::Float16RawBits ( )
inlinestatic

Definition at line 233 of file use-info.h.

Here is the call graph for this function:

◆ Float32()

static UseInfo v8::internal::compiler::UseInfo::Float32 ( )
inlinestatic

Definition at line 230 of file use-info.h.

Here is the call graph for this function:

◆ Float64()

static UseInfo v8::internal::compiler::UseInfo::Float64 ( )
inlinestatic

Definition at line 236 of file use-info.h.

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

◆ minus_zero_check()

CheckForMinusZeroMode v8::internal::compiler::UseInfo::minus_zero_check ( ) const
inline

Definition at line 356 of file use-info.h.

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

◆ None()

static UseInfo v8::internal::compiler::UseInfo::None ( )
inlinestatic

Definition at line 349 of file use-info.h.

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

◆ representation()

MachineRepresentation v8::internal::compiler::UseInfo::representation ( ) const
inline

Definition at line 353 of file use-info.h.

Here is the caller graph for this function:

◆ TaggedPointer()

static UseInfo v8::internal::compiler::UseInfo::TaggedPointer ( )
inlinestatic

Definition at line 266 of file use-info.h.

Here is the call graph for this function:

◆ TaggedSigned()

static UseInfo v8::internal::compiler::UseInfo::TaggedSigned ( )
inlinestatic

Definition at line 263 of file use-info.h.

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

◆ TruncatingFloat16RawBits()

static UseInfo v8::internal::compiler::UseInfo::TruncatingFloat16RawBits ( IdentifyZeros identify_zeros = kDistinguishZeros)
inlinestatic

Definition at line 244 of file use-info.h.

Here is the call graph for this function:

◆ TruncatingFloat64()

static UseInfo v8::internal::compiler::UseInfo::TruncatingFloat64 ( IdentifyZeros identify_zeros = kDistinguishZeros)
inlinestatic

Definition at line 239 of file use-info.h.

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

◆ TruncatingWord32()

static UseInfo v8::internal::compiler::UseInfo::TruncatingWord32 ( )
inlinestatic

Definition at line 200 of file use-info.h.

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

◆ TruncatingWord64()

static UseInfo v8::internal::compiler::UseInfo::TruncatingWord64 ( )
inlinestatic

Definition at line 204 of file use-info.h.

Here is the call graph for this function:

◆ truncation()

Truncation v8::internal::compiler::UseInfo::truncation ( ) const
inline

Definition at line 354 of file use-info.h.

Here is the caller graph for this function:

◆ type_check()

TypeCheckKind v8::internal::compiler::UseInfo::type_check ( ) const
inline

Definition at line 355 of file use-info.h.

Here is the caller graph for this function:

◆ Word()

static UseInfo v8::internal::compiler::UseInfo::Word ( )
inlinestatic

Definition at line 224 of file use-info.h.

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

◆ Word64()

static UseInfo v8::internal::compiler::UseInfo::Word64 ( IdentifyZeros identify_zeros = kDistinguishZeros)
inlinestatic

Definition at line 220 of file use-info.h.

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

Member Data Documentation

◆ feedback_

FeedbackSource v8::internal::compiler::UseInfo::feedback_
private

Definition at line 367 of file use-info.h.

◆ representation_

MachineRepresentation v8::internal::compiler::UseInfo::representation_
private

Definition at line 364 of file use-info.h.

◆ truncation_

Truncation v8::internal::compiler::UseInfo::truncation_
private

Definition at line 365 of file use-info.h.

◆ type_check_

TypeCheckKind v8::internal::compiler::UseInfo::type_check_
private

Definition at line 366 of file use-info.h.


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