v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
typer.h File Reference
Include dependency graph for typer.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::WordOperationTyper< Bits >
 
struct  v8::internal::compiler::turboshaft::FloatOperationTyper< Bits >
 
class  v8::internal::compiler::turboshaft::Typer
 
class  v8::internal::compiler::turboshaft::Typer::BranchRefinements
 

Namespaces

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

Macros

#define FLOAT_BINOP(op, bits)
 
#define FLOAT_BINOP(op, bits, float_typer_handler)
 

Functions

template<typename T , size_t N>
T v8::internal::compiler::turboshaft::array_min (const std::array< T, N > &a)
 
template<typename T , size_t N>
T v8::internal::compiler::turboshaft::array_max (const std::array< T, N > &a)
 

Macro Definition Documentation

◆ FLOAT_BINOP [1/2]

#define FLOAT_BINOP ( op,
bits )
Value:
case FloatBinopOp::Kind::k##op: \
return TypeFloat##bits##op(left_type, right_type, zone);

Definition at line 1312 of file typer.h.

◆ FLOAT_BINOP [2/2]

#define FLOAT_BINOP ( op,
bits,
float_typer_handler )
Value:
static Type TypeFloat##bits##op(const Type& lhs, const Type& rhs, \
Zone* zone) { \
if (lhs.IsNone() || rhs.IsNone()) return Type::None(); \
if (!InputIs(lhs, Type::Kind::kFloat##bits) || \
!InputIs(rhs, Type::Kind::kFloat##bits)) { \
return Float##bits##Type::Any(); \
} \
const auto& l = lhs.AsFloat##bits(); \
const auto& r = rhs.AsFloat##bits(); \
return FloatOperationTyper<bits>::float_typer_handler(l, r, zone); \
}
friend Zone
Definition asm-types.cc:195

Definition at line 1312 of file typer.h.