Home
last modified time | relevance | path

Searched refs:bit_field_ (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/ast/
Dvariables.h30 bit_field_(MaybeAssignedFlagField::encode(maybe_assigned_flag) | in scope_()
57 VariableMode mode() const { return VariableModeField::decode(bit_field_); } in mode()
59 return ForceContextAllocationField::decode(bit_field_); in has_forced_context_allocation()
64 bit_field_ = ForceContextAllocationField::update(bit_field_, true); in ForceContextAllocation()
66 bool is_used() { return IsUsedField::decode(bit_field_); } in is_used()
67 void set_is_used() { bit_field_ = IsUsedField::update(bit_field_, true); } in set_is_used()
69 return MaybeAssignedFlagField::decode(bit_field_); in maybe_assigned()
72 bit_field_ = MaybeAssignedFlagField::update(bit_field_, kMaybeAssigned); in set_maybe_assigned()
95 return InitializationFlagField::decode(bit_field_); in initialization_flag()
103 DCHECK_IMPLIES(ForceHoleInitializationField::decode(bit_field_), in binding_needs_init()
[all …]
Dast.h140 NodeType node_type() const { return NodeTypeField::decode(bit_field_); } in AST_NODE_LIST()
169 uint32_t bit_field_; in AST_NODE_LIST()
173 : position_(position), bit_field_(NodeTypeField::encode(type)) {} in AST_NODE_LIST()
287 return BreakableTypeField::decode(bit_field_) == TARGET_FOR_ANONYMOUS; in is_target_for_anonymous()
297 bit_field_ |= BreakableTypeField::encode(breakable_type); in BreakableStatement()
307 return IgnoreCompletionField::decode(bit_field_); in ignore_completion_value()
337 bit_field_ |= IgnoreCompletionField::encode(ignore_completion_value) | in Block()
359 if (IsLabeledField::decode(bit_field_)) { in labels()
415 bit_field_ = IsNestedField::update(bit_field_, is_nested); in Declaration()
439 return IsNestedField::decode(bit_field_) in AsNested()
[all …]
Dvariables.cc24 bit_field_(other->bit_field_) {} in Variable()
Dast.cc192 bit_field_ |= IsThisField::encode(var->is_this()) | in VariableProxy()
202 bit_field_ = copy_from->bit_field_; in VariableProxy()
218 bit_field_ |= TokenField::encode(op); in Assignment()
/external/v8/src/
Dfield-index.h24 FieldIndex() : bit_field_(0) {} in FieldIndex()
36 return IsInObjectBits::decode(bit_field_); in is_inobject()
39 bool is_hidden_field() const { return IsHiddenField::decode(bit_field_); } in is_hidden_field()
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()
62 result += InObjectPropertyBits::decode(bit_field_); in property_index()
68 return bit_field_ & in GetFieldAccessStubKey()
73 return bit_field_ == other.bit_field_;
82 bit_field_ = IsInObjectBits::encode(is_inobject) |
109 return FirstInobjectPropertyOffsetBits::decode(bit_field_); in first_inobject_property_offset()
[all …]
Dunicode.h40 : bit_field_(CodePointField::encode(0) | ValueField::encode(0)) {} in CacheEntry()
42 : bit_field_( in CacheEntry()
49 uchar code_point() const { return CodePointField::decode(bit_field_); } in code_point()
50 bool value() const { return ValueField::decode(bit_field_); } in value()
56 uint32_t bit_field_; variable
/external/v8/src/compiler/
Djs-operator.h68 : bit_field_(ArityField::encode(arity) | in ConstructForwardVarargsParameters()
71 size_t arity() const { return ArityField::decode(bit_field_); } in arity()
72 uint32_t start_index() const { return StartIndexField::decode(bit_field_); } in start_index()
75 return this->bit_field_ == that.bit_field_;
83 return p.bit_field_; in hash_value()
89 uint32_t const bit_field_; variable
130 : bit_field_(ArityField::encode(arity) | in CallForwardVarargsParameters()
133 size_t arity() const { return ArityField::decode(bit_field_); } in arity()
134 uint32_t start_index() const { return StartIndexField::decode(bit_field_); } in start_index()
137 return this->bit_field_ == that.bit_field_;
[all …]
Dnode.cc30 new_use_ptr->bit_field_ = in ExtractFrom()
110 use->bit_field_ = Use::InputIndexField::encode(current) | in New()
141 int inline_count = InlineCountField::decode(bit_field_); in AppendInput()
142 int inline_capacity = InlineCapacityField::decode(bit_field_); in AppendInput()
145 bit_field_ = InlineCountField::update(bit_field_, inline_count + 1); in AppendInput()
148 use->bit_field_ = Use::InputIndexField::encode(inline_count) | in AppendInput()
160 bit_field_ = InlineCountField::update(bit_field_, kOutlineMarker); in AppendInput()
176 use->bit_field_ = Use::InputIndexField::encode(input_count) | in AppendInput()
248 bit_field_ = InlineCountField::update(bit_field_, new_input_count); in TrimInputCount()
327 bit_field_(IdField::encode(id) | InlineCountField::encode(inline_count) | in Node()
Dlinkage.h37 return bit_field_ == other.bit_field_;
119 return static_cast<int32_t>(bit_field_ & LocationField::kMask) >> in GetLocation()
123 bool IsRegister() const { return TypeField::decode(bit_field_) == REGISTER; } in IsRegister()
154 bit_field_ = TypeField::encode(type) | in LinkageLocation()
159 int32_t bit_field_; variable
Dnode.h59 NodeId id() const { return IdField::decode(bit_field_); } in id()
62 return has_inline_inputs() ? InlineCountField::decode(bit_field_) in InputCount()
183 uint32_t bit_field_; member
185 int input_index() const { return InputIndexField::decode(bit_field_); } in input_index()
186 bool is_inline_use() const { return InlineField::decode(bit_field_); } in is_inline_use()
272 return InlineCountField::decode(bit_field_) != kOutlineMarker; in has_inline_inputs()
287 uint32_t bit_field_; variable
402 int inline_count = InlineCountField::decode(bit_field_); in input_edges()
414 int inline_count = InlineCountField::decode(bit_field_); in inputs()
Dinstruction.h804 size_t OutputCount() const { return OutputCountField::decode(bit_field_); } in OutputCount()
818 size_t InputCount() const { return InputCountField::decode(bit_field_); } in InputCount()
828 size_t TempCount() const { return TempCountField::decode(bit_field_); } in TempCount()
873 bit_field_ = IsCallField::update(bit_field_, true); in MarkAsCall()
876 bool IsCall() const { return IsCallField::decode(bit_field_); } in IsCall()
893 bit_field_ = 0; in OverwriteWithNop()
980 uint32_t bit_field_; variable
Dinstruction.cc324 bit_field_(OutputCountField::encode(0) | InputCountField::encode(0) | in Instruction()
337 bit_field_(OutputCountField::encode(output_count) | in Instruction()
/external/v8/src/profiler/
Dprofile-generator.h91 void mark_used() { bit_field_ = UsedField::update(bit_field_, true); } in mark_used()
92 bool used() const { return UsedField::decode(bit_field_); } in used()
98 return BuiltinIdField::decode(bit_field_); in builtin_id()
115 return TagField::decode(bit_field_); in tag()
177 uint32_t bit_field_; variable
Dprofile-generator-inl.h18 : bit_field_(TagField::encode(tag) | in CodeEntry()
Dprofile-generator.cc112 bit_field_ = TagField::update(bit_field_, CodeEventListener::BUILTIN_TAG); in SetBuiltinId()
113 bit_field_ = BuiltinIdField::update(bit_field_, id); in SetBuiltinId()
Dheap-snapshot-generator.h62 Type type() const { return TypeField::decode(bit_field_); } in type()
79 int from_index() const { return FromIndexField::decode(bit_field_); } in from_index()
83 uint32_t bit_field_; variable
Dheap-snapshot-generator.cc38 : bit_field_(TypeField::encode(type) | FromIndexField::encode(from)), in HeapGraphEdge()
50 : bit_field_(TypeField::encode(type) | FromIndexField::encode(from)), in HeapGraphEdge()
/external/v8/src/builtins/
Dbuiltins-array.cc616 bit_field_(FastElementsField::encode(fast_elements) | in ArrayConcatVisitor()
691 return ExceedsLimitField::decode(bit_field_); in exceeds_array_limit()
721 return HasSimpleElementsField::decode(bit_field_); in has_simple_elements()
764 bool fast_elements() const { return FastElementsField::decode(bit_field_); } in fast_elements()
766 bit_field_ = FastElementsField::update(bit_field_, fast); in set_fast_elements()
769 bit_field_ = ExceedsLimitField::update(bit_field_, exceeds); in set_exceeds_array_limit()
771 bool is_fixed_array() const { return IsFixedArrayField::decode(bit_field_); } in is_fixed_array()
783 uint32_t bit_field_; member in v8::internal::__anon188b92c80411::ArrayConcatVisitor