/third_party/node/deps/v8/src/ast/ |
D | variables.h | 33 bit_field_(MaybeAssignedFlagField::encode(maybe_assigned_flag) | in scope_() 63 VariableMode mode() const { return VariableModeField::decode(bit_field_); } in mode() 65 bit_field_ = VariableModeField::update(bit_field_, mode); in set_mode() 68 bit_field_ = IsStaticFlagField::update(bit_field_, is_static_flag); in set_is_static_flag() 71 return IsStaticFlagField::decode(bit_field_); in is_static_flag() 76 return ForceContextAllocationBit::decode(bit_field_); in has_forced_context_allocation() 81 bit_field_ = ForceContextAllocationBit::update(bit_field_, true); in ForceContextAllocation() 83 bool is_used() { return IsUsedField::decode(bit_field_); } in is_used() 84 void set_is_used() { bit_field_ = IsUsedField::update(bit_field_, true); } in set_is_used() 86 return MaybeAssignedFlagField::decode(bit_field_); in maybe_assigned() [all …]
|
D | ast.h | 148 NodeType node_type() const { return NodeTypeField::decode(bit_field_); } in FAILURE_NODE_LIST() 172 uint32_t bit_field_; in FAILURE_NODE_LIST() 178 : position_(position), bit_field_(NodeTypeField::encode(type)) {} in FAILURE_NODE_LIST() 262 return IsParenthesizedField::decode(bit_field_); in is_parenthesized() 266 bit_field_ = IsParenthesizedField::update(bit_field_, true); in mark_parenthesized() 270 bit_field_ = IsParenthesizedField::update(bit_field_, false); in clear_parenthesized() 314 return IgnoreCompletionField::decode(bit_field_); in ignore_completion_value() 316 bool is_breakable() const { return IsBreakableField::decode(bit_field_); } in is_breakable() 343 bit_field_ |= IgnoreCompletionField::encode(ignore_completion_value) | in Block() 383 bit_field_ = IsNestedField::update(bit_field_, is_nested); in Declaration() [all …]
|
D | variables.cc | 24 bit_field_(other->bit_field_) {} in Variable() 43 bit_field_ = in RewriteLocationForRepl() 44 LocationField::update(bit_field_, VariableLocation::REPL_GLOBAL); in RewriteLocationForRepl()
|
D | ast.cc | 170 bit_field_ |= IsAssignedField::encode(false) | in VariableProxy() 179 bit_field_ = copy_from->bit_field_; in VariableProxy() 195 bit_field_ |= TokenField::encode(op); in Assignment() 943 bit_field_ |= SpreadPositionField::encode(position); in ComputeSpreadPosition()
|
/third_party/node/deps/v8/src/objects/ |
D | field-index.h | 26 FieldIndex() : bit_field_(0) {} in FieldIndex() 39 bool is_inobject() const { return IsInObjectBits::decode(bit_field_); } in is_inobject() 41 bool is_double() const { return EncodingBits::decode(bit_field_) == kDouble; } in is_double() 43 int offset() const { return OffsetBits::decode(bit_field_); } in offset() 45 uint64_t bit_field() const { return bit_field_; } in bit_field() 63 result += InObjectPropertyBits::decode(bit_field_); in property_index() 69 return bit_field_ & in GetFieldAccessStubKey() 74 return bit_field_ == other.bit_field_; 82 bit_field_ = IsInObjectBits::encode(is_inobject) | in FieldIndex() 108 return FirstInobjectPropertyOffsetBits::decode(bit_field_); in first_inobject_property_offset() [all …]
|
/third_party/node/deps/v8/src/snapshot/ |
D | references.h | 36 : bit_field_(TypeBits::encode(type) | ValueBits::encode(value)) {} in SerializerReference() 56 return TypeBits::decode(bit_field_) == kBackReference; in is_back_reference() 61 return ValueBits::decode(bit_field_); in back_ref_index() 65 return TypeBits::decode(bit_field_) == kOffHeapBackingStore; in is_off_heap_backing_store_reference() 70 return ValueBits::decode(bit_field_); in off_heap_backing_store_index() 74 return TypeBits::decode(bit_field_) == kAttachedReference; in is_attached_reference() 79 return ValueBits::decode(bit_field_); in attached_reference_index() 83 return TypeBits::decode(bit_field_) == kBuiltinReference; in is_builtin_reference() 88 return ValueBits::decode(bit_field_); in builtin_index() 95 uint32_t bit_field_; variable
|
/third_party/node/deps/v8/src/compiler/ |
D | node.cc | 32 new_use_ptr->bit_field_ = in ExtractFrom() 123 use->bit_field_ = Use::InputIndexField::encode(current) | in NewImpl() 158 int const inline_count = InlineCountField::decode(bit_field_); in AppendInput() 159 int const inline_capacity = InlineCapacityField::decode(bit_field_); in AppendInput() 162 bit_field_ = InlineCountField::update(bit_field_, inline_count + 1); in AppendInput() 166 use->bit_field_ = Use::InputIndexField::encode(inline_count) | in AppendInput() 178 bit_field_ = InlineCountField::update(bit_field_, kOutlineMarker); in AppendInput() 195 use->bit_field_ = Use::InputIndexField::encode(input_count) | in AppendInput() 268 bit_field_ = InlineCountField::update(bit_field_, new_input_count); in TrimInputCount() 388 bit_field_(IdField::encode(id) | InlineCountField::encode(inline_count) | in Node()
|
D | linkage.h | 48 return bit_field_ == other.bit_field_ && 62 return (a.bit_field_ == b.bit_field_) && in IsSameLocation() 139 return static_cast<int32_t>(bit_field_ & LocationField::kMask) >> in GetLocation() 144 return TypeField::decode(bit_field_) == REGISTER; in IsRegister() 176 bit_field_ = TypeField::encode(type) | in LinkageLocation() 183 int32_t bit_field_; variable
|
D | js-operator.h | 119 : bit_field_(ArityField::encode(arity) | in ConstructForwardVarargsParameters() 122 size_t arity() const { return ArityField::decode(bit_field_); } in arity() 123 uint32_t start_index() const { return StartIndexField::decode(bit_field_); } in start_index() 126 return this->bit_field_ == that.bit_field_; 134 return p.bit_field_; in hash_value() 140 uint32_t const bit_field_; variable 199 : bit_field_(ArityField::encode(arity) | in CallForwardVarargsParameters() 202 size_t arity() const { return ArityField::decode(bit_field_); } in arity() 203 uint32_t start_index() const { return StartIndexField::decode(bit_field_); } in start_index() 206 return this->bit_field_ == that.bit_field_; [all …]
|
D | node.h | 58 NodeId id() const { return IdField::decode(bit_field_); } in id() 61 return has_inline_inputs() ? InlineCountField::decode(bit_field_) in InputCount() 184 uint32_t bit_field_; member 186 int input_index() const { return InputIndexField::decode(bit_field_); } in input_index() 187 bool is_inline_use() const { return InlineField::decode(bit_field_); } in is_inline_use() 285 return InlineCountField::decode(bit_field_) != kOutlineMarker; in has_inline_inputs() 299 uint32_t bit_field_; variable 466 int inline_count = InlineCountField::decode(bit_field_); in input_edges() 478 int inline_count = InlineCountField::decode(bit_field_); in inputs()
|
/third_party/node/deps/v8/src/wasm/ |
D | value-type.h | 301 constexpr ValueType() : bit_field_(KindField::encode(kVoid)) {} in ValueType() 372 constexpr ValueKind kind() const { return KindField::decode(bit_field_); } in kind() 376 HeapTypeField::decode(bit_field_)); in heap_representation() 384 return HeapTypeField::decode(bit_field_); in ref_index() 392 constexpr uint32_t raw_bit_field() const { return bit_field_; } in raw_bit_field() 396 return bit_field_ == other.bit_field_; 399 return bit_field_ != other.bit_field_; 403 return offsetof(ValueType, bit_field_); in bit_field_offset() 545 return has_index() && CanonicalRelativeField::decode(bit_field_); in is_canonical_relative() 572 constexpr explicit ValueType(uint32_t bit_field) : bit_field_(bit_field) {} in ValueType() [all …]
|
D | wasm-module.h | 95 ConstantExpression() : bit_field_(KindField::encode(kEmpty)) {} in ConstantExpression() 115 Kind kind() const { return KindField::decode(bit_field_); } in kind() 121 return ValueField::decode(bit_field_); in index() 127 ValueField::decode(bit_field_)); in repr() 132 return ValueField::decode(bit_field_); in i32_value() 137 return WireBytesRef(OffsetField::decode(bit_field_), in wire_bytes_ref() 138 LengthField::decode(bit_field_)); in wire_bytes_ref() 160 explicit ConstantExpression(uint64_t bit_field) : bit_field_(bit_field) {} in ConstantExpression() 162 uint64_t bit_field_; variable
|
/third_party/node/deps/v8/src/strings/ |
D | unicode.h | 41 : bit_field_(CodePointField::encode(0) | ValueField::encode(0)) {} in CacheEntry() 43 : bit_field_( in CacheEntry() 50 uchar code_point() const { return CodePointField::decode(bit_field_); } in code_point() 51 bool value() const { return ValueField::decode(bit_field_); } in value() 57 uint32_t bit_field_; variable
|
/third_party/node/deps/v8/src/profiler/ |
D | profile-generator.h | 116 switch (CodeTypeField::decode(bit_field_)) { in code_type_string() 136 Builtin builtin() const { return BuiltinField::decode(bit_field_); } in builtin() 139 return SharedCrossOriginField::decode(bit_field_); in is_shared_cross_origin() 144 bool is_ref_counted() const { return RefCountedField::decode(bit_field_); } in is_ref_counted() 168 return TagField::decode(bit_field_); in tag() 212 bit_field_ = RefCountedField::update(bit_field_, true); in mark_ref_counted() 238 std::uint32_t bit_field_; variable
|
D | profile-generator-inl.h | 20 : bit_field_(TagField::encode(tag) | in CodeEntry()
|
D | heap-snapshot-generator.h | 73 Type type() const { return TypeField::decode(bit_field_); } in type() 90 int from_index() const { return FromIndexField::decode(bit_field_); } in from_index() 94 uint32_t bit_field_; variable
|
D | profile-generator.cc | 166 bit_field_ = TagField::update(bit_field_, CodeEventListener::BUILTIN_TAG); in SetBuiltinId() 167 bit_field_ = BuiltinField::update(bit_field_, id); in SetBuiltinId()
|
D | heap-snapshot-generator.cc | 193 : bit_field_(TypeField::encode(type) | in HeapGraphEdge() 206 : bit_field_(TypeField::encode(type) | in HeapGraphEdge()
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-array.cc | 665 bit_field_(FastElementsField::encode(fast_elements) | in ArrayConcatVisitor() 746 return ExceedsLimitField::decode(bit_field_); in exceeds_array_limit() 776 return HasSimpleElementsField::decode(bit_field_); in has_simple_elements() 819 bool fast_elements() const { return FastElementsField::decode(bit_field_); } in fast_elements() 821 bit_field_ = FastElementsField::update(bit_field_, fast); in set_fast_elements() 824 bit_field_ = ExceedsLimitField::update(bit_field_, exceeds); in set_exceeds_array_limit() 826 bool is_fixed_array() const { return IsFixedArrayField::decode(bit_field_); } in is_fixed_array() 838 uint32_t bit_field_; member in v8::internal::__anon4416cc8a0511::ArrayConcatVisitor
|
/third_party/node/deps/v8/src/torque/ |
D | implementation-visitor.h | 93 result.bit_field_ = std::move(field); in BitFieldAccess() 131 DCHECK_EQ(is_bitfield_access, bit_field_.has_value()); in IsBitFieldAccess() 140 return *bit_field_; in bit_field() 156 return bit_field_->name_and_type.type; in ReferencedType() 215 base::Optional<BitField> bit_field_; variable
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | instruction.h | 850 size_t OutputCount() const { return OutputCountField::decode(bit_field_); } in OutputCount() 864 size_t InputCount() const { return InputCountField::decode(bit_field_); } in InputCount() 874 size_t TempCount() const { return TempCountField::decode(bit_field_); } in TempCount() 926 bit_field_ = IsCallField::update(bit_field_, true); in MarkAsCall() 929 bool IsCall() const { return IsCallField::decode(bit_field_); } in IsCall() 946 bit_field_ = 0; in OverwriteWithNop() 1049 uint32_t bit_field_; variable
|
D | instruction.cc | 327 bit_field_(OutputCountField::encode(0) | InputCountField::encode(0) | in Instruction() 343 bit_field_(OutputCountField::encode(output_count) | in Instruction()
|
/third_party/node/deps/v8/src/maglev/ |
D | maglev-ir.h | 441 constexpr Opcode opcode() const { return OpcodeField::decode(bit_field_); } in opcode() 443 return OpPropertiesField::decode(bit_field_); in properties() 466 return InputCountField::decode(bit_field_); in input_count() 552 explicit NodeBase(uint32_t bitfield) : bit_field_(bitfield) {} in NodeBase() 616 uint32_t bit_field_; variable
|