v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
turbofan-types.h File Reference
Include dependency graph for turbofan-types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::compiler::BitsetType
 
struct  v8::internal::compiler::BitsetType::Boundary
 
class  v8::internal::compiler::TypeBase
 
class  v8::internal::compiler::RangeType
 
struct  v8::internal::compiler::RangeType::Limits
 
class  v8::internal::compiler::Type
 
class  v8::internal::compiler::OtherNumberConstantType
 
class  v8::internal::compiler::HeapConstantType
 
class  v8::internal::compiler::StructuralType
 
class  v8::internal::compiler::TupleType
 
class  v8::internal::compiler::UnionType
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::wasm
 
namespace  v8::internal::compiler
 

Macros

#define INTERNAL_BITSET_TYPE_LIST(V)
 
#define PROPER_ATOMIC_BITSET_TYPE_LOW_LIST(V)
 
#define PROPER_ATOMIC_BITSET_TYPE_HIGH_LIST(V)
 
#define PROPER_BITSET_TYPE_LIST(V)
 
#define BITSET_TYPE_LIST(V)
 
#define DECLARE_TYPE(type, value)
 
#define DEFINE_TYPE_CONSTRUCTOR(type, value)
 

Functions

size_t v8::internal::compiler::hash_value (Type type)
 
std::ostream & v8::internal::compiler::operator<< (std::ostream &os, Type type)
 

Macro Definition Documentation

◆ BITSET_TYPE_LIST

#define BITSET_TYPE_LIST ( V)
Value:
PROPER_BITSET_TYPE_LIST(V)
#define V(Name)
#define INTERNAL_BITSET_TYPE_LIST(V)

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

◆ DECLARE_TYPE

#define DECLARE_TYPE ( type,
value )
Value:
k##type = (value),
std::unique_ptr< ValueMirror > value

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

◆ DEFINE_TYPE_CONSTRUCTOR

#define DEFINE_TYPE_CONSTRUCTOR ( type,
value )
Value:
static Type type() { return NewBitset(BitsetType::k##type); }
wasm::ValueType type

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

◆ INTERNAL_BITSET_TYPE_LIST

#define INTERNAL_BITSET_TYPE_LIST ( V)
Value:
V(OtherUnsigned31, uint64_t{1} << 1) \
V(OtherUnsigned32, uint64_t{1} << 2) \
V(OtherSigned32, uint64_t{1} << 3) \
V(OtherNumber, uint64_t{1} << 4) \
V(OtherString, uint64_t{1} << 5) \

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

◆ PROPER_ATOMIC_BITSET_TYPE_HIGH_LIST

#define PROPER_ATOMIC_BITSET_TYPE_HIGH_LIST ( V)
Value:
V(Machine, uint64_t{1} << 32) \
V(Hole, uint64_t{1} << 33) \
V(StringWrapper, uint64_t{1} << 34) \
V(TypedArray, uint64_t{1} << 35)

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

◆ PROPER_ATOMIC_BITSET_TYPE_LOW_LIST

#define PROPER_ATOMIC_BITSET_TYPE_LOW_LIST ( V)
Value:
V(Negative31, uint64_t{1} << 6) \
V(Null, uint64_t{1} << 7) \
V(Undefined, uint64_t{1} << 8) \
V(Boolean, uint64_t{1} << 9) \
V(Unsigned30, uint64_t{1} << 10) \
V(MinusZero, uint64_t{1} << 11) \
V(NaN, uint64_t{1} << 12) \
V(Symbol, uint64_t{1} << 13) \
V(InternalizedString, uint64_t{1} << 14) \
V(OtherCallable, uint64_t{1} << 15) \
V(OtherObject, uint64_t{1} << 16) \
V(OtherUndetectable, uint64_t{1} << 17) \
V(CallableProxy, uint64_t{1} << 18) \
V(OtherProxy, uint64_t{1} << 19) \
V(CallableFunction, uint64_t{1} << 20) \
V(ClassConstructor, uint64_t{1} << 21) \
V(BoundFunction, uint64_t{1} << 22) \
V(OtherInternal, uint64_t{1} << 23) \
V(ExternalPointer, uint64_t{1} << 24) \
V(Array, uint64_t{1} << 25) \
V(UnsignedBigInt63, uint64_t{1} << 26) \
V(OtherUnsignedBigInt64, uint64_t{1} << 27) \
V(NegativeBigInt63, uint64_t{1} << 28) \
V(OtherBigInt, uint64_t{1} << 29) \
V(WasmObject, uint64_t{1} << 30) \
V(SandboxedPointer, uint64_t{1} << 31)

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

◆ PROPER_BITSET_TYPE_LIST

#define PROPER_BITSET_TYPE_LIST ( V)

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