V8 Project
|
#include <types.h>
Static Public Member Functions | |
static RangeHandle | New (i::Handle< i::Object > min, i::Handle< i::Object > max, Region *region) |
static RangeHandle | New (Limits lim, Region *region) |
static RangeType * | cast (TypeImpl *type) |
![]() | |
static TypeHandle | Class (i::Handle< i::Map > map, Region *region) |
static TypeHandle | Constant (i::Handle< i::Object > value, Region *region) |
static TypeHandle | Range (i::Handle< i::Object > min, i::Handle< i::Object > max, Region *region) |
static TypeHandle | Context (TypeHandle outer, Region *region) |
static TypeHandle | Array (TypeHandle element, Region *region) |
static FunctionHandle | Function (TypeHandle result, TypeHandle receiver, int arity, Region *region) |
static TypeHandle | Function (TypeHandle result, Region *region) |
static TypeHandle | Function (TypeHandle result, TypeHandle param0, Region *region) |
static TypeHandle | Function (TypeHandle result, TypeHandle param0, TypeHandle param1, Region *region) |
static TypeHandle | Function (TypeHandle result, TypeHandle param0, TypeHandle param1, TypeHandle param2, Region *region) |
static TypeHandle | Union (TypeHandle type1, TypeHandle type2, Region *reg) |
static TypeHandle | Intersect (TypeHandle type1, TypeHandle type2, Region *reg) |
static TypeHandle | Of (double value, Region *region) |
static TypeHandle | Of (i::Object *value, Region *region) |
static TypeHandle | Of (i::Handle< i::Object > value, Region *region) |
static TypeHandle | NowOf (i::Object *value, Region *region) |
static TypeHandle | NowOf (i::Handle< i::Object > value, Region *region) |
static TypeImpl * | cast (typename Config::Base *object) |
template<class OtherTypeImpl > | |
static TypeHandle | Convert (typename OtherTypeImpl::TypeHandle type, Region *region) |
Additional Inherited Members | |
![]() | |
enum | PrintDimension { BOTH_DIMS , SEMANTIC_DIM , REPRESENTATION_DIM } |
typedef uint32_t | bitset |
typedef Config::template Handle< TypeImpl >::type | TypeHandle |
typedef Config::template Handle< ClassType >::type | ClassHandle |
typedef Config::template Handle< ConstantType >::type | ConstantHandle |
typedef Config::template Handle< RangeType >::type | RangeHandle |
typedef Config::template Handle< ContextType >::type | ContextHandle |
typedef Config::template Handle< ArrayType >::type | ArrayHandle |
typedef Config::template Handle< FunctionType >::type | FunctionHandle |
typedef Config::template Handle< UnionType >::type | UnionHandle |
typedef Config::Region | Region |
![]() | |
int | Length () |
TypeHandle | Get (int i) |
void | Set (int i, TypeHandle type) |
void | Shrink (int length) |
template<class V > | |
i::Handle< V > | GetValue (int i) |
template<class V > | |
void | SetValue (int i, i::Handle< V > x) |
![]() | |
TypeImpl * | unhandle () |
bool | IsNone () |
bool | IsAny () |
bool | IsBitset () |
bool | IsUnion () |
bitset | AsBitset () |
UnionType * | AsUnion () |
bitset | BitsetGlb () |
bitset | BitsetLub () |
bool | SlowIs (TypeImpl *that) |
RangeType * | GetRange () |
bool | SimplyEquals (TypeImpl *that) |
template<class TypeHandle > | |
bool | SimplyEquals (TypeHandle that) |
![]() | |
static TypeHandle | New (Tag tag, int length, Region *region) |
![]() | |
template<class T > | |
static Config::template Handle< T >::type | handle (T *type) |
static bool | IsInteger (double x) |
static bool | IsInteger (i::Object *x) |
static Limits | Intersect (Limits lhs, Limits rhs) |
static Limits | Union (Limits lhs, Limits rhs) |
static bool | Overlap (RangeType *lhs, RangeType *rhs) |
static bool | Contains (RangeType *lhs, RangeType *rhs) |
static bool | Contains (RangeType *range, i::Object *val) |
static int | UpdateRange (RangeHandle type, UnionHandle result, int size, Region *region) |
static int | AddToUnion (TypeHandle type, UnionHandle result, int size, Region *region) |
static int | IntersectAux (TypeHandle type, TypeHandle other, UnionHandle result, int size, Region *region) |
static TypeHandle | NormalizeUnion (UnionHandle unioned, int size) |
|
inline |
Definition at line 775 of file types.h.
Referenced by v8::internal::TypeImpl< Config >::BitsetType::Lub().
|
inlinestatic |
Definition at line 794 of file types.h.
References DCHECK, and v8::internal::TypeImpl< Config >::IsRange().
Referenced by v8::internal::TypeImpl< Config >::AsRange().
|
inline |
Definition at line 777 of file types.h.
Referenced by v8::internal::TypeImpl< Config >::PrintTo().
|
inline |
Definition at line 776 of file types.h.
Referenced by v8::internal::TypeImpl< Config >::PrintTo().
|
inlinestatic |
Definition at line 779 of file types.h.
References DCHECK, and v8::internal::min().
Referenced by v8::internal::TypeImpl< Config >::Convert(), v8::internal::TypeImpl< Config >::Range(), v8::internal::TypeImpl< Config >::Union(), and v8::internal::TypeImpl< Config >::UpdateRange().
|
inlinestatic |
Definition at line 790 of file types.h.
References v8::internal::TypeImpl< Config >::Limits::max, and v8::internal::TypeImpl< Config >::Limits::min.