Home | History | Annotate | Download | only in ast

Lines Matching refs:Bitset

145 // Note that the bitset representation is closed under both Union and Intersect.
148 // Values for bitset types
280 // Bitset types (internal).
284 typedef uint32_t bitset; // Internal
293 static bitset SignedSmall();
294 static bitset UnsignedSmall();
296 bitset Bitset() {
297 return static_cast<bitset>(reinterpret_cast<uintptr_t>(this) ^ 1u);
300 static bool IsInhabited(bitset bits) {
304 static bool SemanticIsInhabited(bitset bits) {
308 static bool Is(bitset bits1, bitset bits2) {
312 static double Min(bitset);
313 static double Max(bitset);
315 static bitset Glb(AstType* type); // greatest lower bound that's a bitset
316 static bitset Glb(double min, double max);
317 static bitset Lub(AstType* type); // least upper bound that's a bitset
318 static bitset Lub(i::Map* map);
319 static bitset Lub(i::Object* value);
320 static bitset Lub(double value);
321 static bitset Lub(double min, double max);
322 static bitset ExpandInternals(bitset bits);
324 static const char* Name(bitset);
325 static void Print(std::ostream& os, bitset); // NOLINT
327 static void Print(bitset);
330 static bitset NumberBits(bitset bits);
336 static AstType* NewForTesting(bitset bits) { return New(bits); }
341 static AstType* New(bitset bits) {
346 bitset internal;
347 bitset external;
356 // Superclass for non-bitset types (internal).
414 AstClassType(AstBitsetType::bitset bitset, i::Handle<i::Map> map)
415 : AstTypeBase(kClass), bitset_(bitset), map_(map) {}
417 AstBitsetType::bitset Lub() { return bitset_; }
419 AstBitsetType::bitset bitset_;
435 AstBitsetType::bitset bitset
437 AstConstantType(bitset, value));
445 AstConstantType(AstBitsetType::bitset bitset, i::Handle<i::Object> object)
446 : AstTypeBase(kConstant), bitset_(bitset), object_(object) {}
448 AstBitsetType::bitset Lub() { return bitset_; }
450 AstBitsetType::bitset bitset_;
482 AstBitsetType::bitset representation, Zone* zone) {
490 static AstType* New(Limits lim, AstBitsetType::bitset representation,
495 AstBitsetType::bitset bits =
507 AstRangeType(AstBitsetType::bitset bitset, Limits limits)
508 : AstTypeBase(kRange), bitset_(bitset), limits_(limits) {}
510 AstBitsetType::bitset Lub() { return bitset_; }
512 AstBitsetType::bitset bitset_;
668 // - at most one field is a bitset, and it must go into index 0
694 typedef AstBitsetType::bitset bitset; // Internal
897 bitset AsBitsetForTesting() { return AsBitset(); }
917 bitset AsBitset() {
919 return reinterpret_cast<AstBitsetType*>(this)->Bitset();
923 bitset Representation();
928 bitset BitsetGlb() { return AstBitsetType::Glb(this); }
929 bitset BitsetLub() { return AstBitsetType::Lub(this); }
945 static AstRangeType::Limits ToLimits(bitset bits, Zone* zone);
954 static AstType* NormalizeRangeAndBitset(AstType* range, bitset* bits,