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

#include <turbofan-types.h>

Collaboration diagram for v8::internal::compiler::BitsetType:

Classes

struct  Boundary
 

Public Types

enum  : bitset { kUnusedEOL = 0 }
 
using bitset = uint64_t
 

Public Member Functions

template<typename MapRefLike >
Type::bitset Lub (MapRefLike map, JSHeapBroker *broker)
 

Static Public Member Functions

static bitset SignedSmall ()
 
static bitset UnsignedSmall ()
 
static bool IsNone (bitset bits)
 
static bool Is (bitset bits1, bitset bits2)
 
static double Min (bitset)
 
static double Max (bitset)
 
static bitset Glb (double min, double max)
 
static bitset Lub (HeapObjectType const &type, JSHeapBroker *broker)
 
static bitset Lub (MapRef map, JSHeapBroker *broker)
 
static bitset Lub (double value)
 
static bitset Lub (double min, double max)
 
static bitset ExpandInternals (bitset bits)
 
static const char * Name (bitset)
 
static void Print (std::ostream &os, bitset)
 
static bitset NumberBits (bitset bits)
 

Static Private Member Functions

static const BoundaryBoundaries ()
 
static size_t BoundariesSize ()
 
template<typename MapRefLike >
static bitset Lub (MapRefLike map, JSHeapBroker *broker)
 

Static Private Attributes

static const Boundary BoundariesArray []
 

Detailed Description

Definition at line 261 of file turbofan-types.h.

Member Typedef Documentation

◆ bitset

Definition at line 263 of file turbofan-types.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : bitset
Enumerator
kUnusedEOL 

Definition at line 265 of file turbofan-types.h.

Member Function Documentation

◆ Boundaries()

const BitsetType::Boundary * v8::internal::compiler::BitsetType::Boundaries ( )
inlinestaticprivate

Definition at line 452 of file turbofan-types.cc.

◆ BoundariesSize()

size_t v8::internal::compiler::BitsetType::BoundariesSize ( )
inlinestaticprivate

Definition at line 454 of file turbofan-types.cc.

◆ ExpandInternals()

Type::bitset v8::internal::compiler::BitsetType::ExpandInternals ( Type::bitset bits)
static

Definition at line 460 of file turbofan-types.cc.

Here is the call graph for this function:

◆ Glb()

Type::bitset v8::internal::compiler::BitsetType::Glb ( double min,
double max )
static

Definition at line 488 of file turbofan-types.cc.

Here is the caller graph for this function:

◆ Is()

static bool v8::internal::compiler::BitsetType::Is ( bitset bits1,
bitset bits2 )
inlinestatic

Definition at line 277 of file turbofan-types.h.

Here is the caller graph for this function:

◆ IsNone()

static bool v8::internal::compiler::BitsetType::IsNone ( bitset bits)
inlinestatic

Definition at line 275 of file turbofan-types.h.

Here is the caller graph for this function:

◆ Lub() [1/6]

Type::bitset v8::internal::compiler::BitsetType::Lub ( double min,
double max )
static

Definition at line 472 of file turbofan-types.cc.

◆ Lub() [2/6]

Type::bitset v8::internal::compiler::BitsetType::Lub ( double value)
static

Definition at line 434 of file turbofan-types.cc.

Here is the call graph for this function:

◆ Lub() [3/6]

static bitset v8::internal::compiler::BitsetType::Lub ( HeapObjectType const & type,
JSHeapBroker * broker )
inlinestatic

Definition at line 285 of file turbofan-types.h.

Here is the caller graph for this function:

◆ Lub() [4/6]

template Type::bitset v8::internal::compiler::BitsetType::Lub< MapRef > ( MapRef map,
JSHeapBroker * broker )
inlinestatic

Definition at line 288 of file turbofan-types.h.

◆ Lub() [5/6]

template<typename MapRefLike >
Type::bitset v8::internal::compiler::BitsetType::Lub ( MapRefLike map,
JSHeapBroker * broker )

Definition at line 148 of file turbofan-types.cc.

Here is the call graph for this function:

◆ Lub() [6/6]

template<typename MapRefLike >
static bitset v8::internal::compiler::BitsetType::Lub ( MapRefLike map,
JSHeapBroker * broker )
staticprivate

◆ Max()

double v8::internal::compiler::BitsetType::Max ( bitset bits)
static

Definition at line 522 of file turbofan-types.cc.

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

◆ Min()

double v8::internal::compiler::BitsetType::Min ( bitset bits)
static

Definition at line 507 of file turbofan-types.cc.

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

◆ Name()

const char * v8::internal::compiler::BitsetType::Name ( bitset bits)
static

Definition at line 1060 of file turbofan-types.cc.

Here is the caller graph for this function:

◆ NumberBits()

Type::bitset v8::internal::compiler::BitsetType::NumberBits ( bitset bits)
static

Definition at line 486 of file turbofan-types.cc.

Here is the caller graph for this function:

◆ Print()

void v8::internal::compiler::BitsetType::Print ( std::ostream & os,
bitset bits )
static

Definition at line 1074 of file turbofan-types.cc.

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

◆ SignedSmall()

BitsetType::bitset v8::internal::compiler::BitsetType::SignedSmall ( )
static

Definition at line 1160 of file turbofan-types.cc.

Here is the call graph for this function:

◆ UnsignedSmall()

BitsetType::bitset v8::internal::compiler::BitsetType::UnsignedSmall ( )
static

Definition at line 1164 of file turbofan-types.cc.

Here is the call graph for this function:

Member Data Documentation

◆ BoundariesArray

const BitsetType::Boundary v8::internal::compiler::BitsetType::BoundariesArray
staticprivate
Initial value:
= {
{kOtherNumber, kPlainNumber, -V8_INFINITY},
{kOtherSigned32, kNegative32, kMinInt},
{kNegative31, kNegative31, -0x40000000},
{kUnsigned30, kUnsigned30, 0},
{kOtherUnsigned31, kUnsigned31, 0x40000000},
{kOtherUnsigned32, kUnsigned32, 0x80000000},
{kOtherNumber, kPlainNumber, static_cast<double>(kMaxUInt32) + 1}}
#define V8_INFINITY
Definition globals.h:23
constexpr int kMinInt
Definition globals.h:375
constexpr uint32_t kMaxUInt32
Definition globals.h:387

Definition at line 309 of file turbofan-types.h.


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