v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
types.h File Reference
#include <cmath>
#include <limits>
#include <optional>
#include "src/base/container-utils.h"
#include "src/base/export-template.h"
#include "src/base/logging.h"
#include "src/base/small-vector.h"
#include "src/common/globals.h"
#include "src/compiler/turboshaft/fast-hash.h"
#include "src/numbers/conversions.h"
#include "src/objects/turboshaft-types.h"
#include "src/utils/ostreams.h"
#include "src/zone/zone-containers.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v8::internal::compiler::turboshaft::detail::TypeForBits< 32 >
 
struct  v8::internal::compiler::turboshaft::detail::TypeForBits< 64 >
 
struct  v8::internal::compiler::turboshaft::detail::Payload_Empty
 
struct  v8::internal::compiler::turboshaft::detail::Payload_Range< T >
 
struct  v8::internal::compiler::turboshaft::detail::Payload_InlineSet< T >
 
struct  v8::internal::compiler::turboshaft::detail::Payload_OutlineSet< T >
 
class  v8::internal::compiler::turboshaft::Type
 
class  v8::internal::compiler::turboshaft::WordType< Bits >
 
class  v8::internal::compiler::turboshaft::FloatType< Bits >
 
class  v8::internal::compiler::turboshaft::TupleType
 
struct  v8::internal::compiler::turboshaft::fast_hash< Type >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::compiler
 
namespace  v8::internal::compiler::turboshaft
 
namespace  v8::internal::compiler::turboshaft::detail
 

Macros

#define TURBOSHAFT_TRACE_TYPING(...)
 
#define TURBOSHAFT_TRACE_TYPING_WITH_COLOR(colorcode, str, ...)
 
#define TURBOSHAFT_TRACE_TYPING_OK(str, ...)
 
#define TURBOSHAFT_TRACE_TYPING_FAIL(str, ...)
 

Typedefs

template<size_t Bits>
using v8::internal::compiler::turboshaft::uint_type = typename detail::TypeForBits<Bits>::uint_type
 
template<size_t Bits>
using v8::internal::compiler::turboshaft::float_type = typename detail::TypeForBits<Bits>::float_type
 
using v8::internal::compiler::turboshaft::Word32Type = WordType<32>
 
using v8::internal::compiler::turboshaft::Word64Type = WordType<64>
 
using v8::internal::compiler::turboshaft::Float32Type = FloatType<32>
 
using v8::internal::compiler::turboshaft::Float64Type = FloatType<64>
 

Functions

template<typename T >
bool v8::internal::compiler::turboshaft::detail::is_unique_and_sorted (const T &container)
 
template<typename T >
bool v8::internal::compiler::turboshaft::detail::is_minus_zero (T value)
 
template<typename T >
bool v8::internal::compiler::turboshaft::detail::is_float_special_value (T value)
 
template<typename T >
requires std::is_floating_point<T>::value
T v8::internal::compiler::turboshaft::next_smaller (T v)
 
template<typename T >
requires std::is_floating_point<T>::value
T v8::internal::compiler::turboshaft::next_larger (T v)
 
template<typename T >
requires std::is_integral<T>::value
T v8::internal::compiler::turboshaft::next_smaller (T v)
 
template<typename T >
requires std::is_integral<T>::value
T v8::internal::compiler::turboshaft::next_larger (T v)
 
template class v8::internal::compiler::turboshaft::EXPORT_TEMPLATE_DECLARE (V8_EXPORT_PRIVATE) WordType< 32 >
 
std::ostream & v8::internal::compiler::turboshaft::operator<< (std::ostream &stream, Type::Kind kind)
 
std::ostream & v8::internal::compiler::turboshaft::operator<< (std::ostream &stream, const Type &type)
 
bool v8::internal::compiler::turboshaft::operator== (const Type &lhs, const Type &rhs)
 
bool v8::internal::compiler::turboshaft::operator!= (const Type &lhs, const Type &rhs)
 

Variables

template<size_t Bits>
constexpr float_type< Bits > v8::internal::compiler::turboshaft::nan_v = detail::TypeForBits<Bits>::nan
 

Macro Definition Documentation

◆ TURBOSHAFT_TRACE_TYPING

#define TURBOSHAFT_TRACE_TYPING ( ...)
Value:
((void)0)

Definition at line 40 of file types.h.

◆ TURBOSHAFT_TRACE_TYPING_FAIL

#define TURBOSHAFT_TRACE_TYPING_FAIL ( str,
... )
Value:
((void)0)

Definition at line 43 of file types.h.

◆ TURBOSHAFT_TRACE_TYPING_OK

#define TURBOSHAFT_TRACE_TYPING_OK ( str,
... )
Value:
((void)0)

Definition at line 42 of file types.h.

◆ TURBOSHAFT_TRACE_TYPING_WITH_COLOR

#define TURBOSHAFT_TRACE_TYPING_WITH_COLOR ( colorcode,
str,
... )
Value:
((void)0)

Definition at line 41 of file types.h.