Home
last modified time | relevance | path

Searched refs:case_value (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/v8/src/interpreter/
Dbytecode-jump-table.h42 bool is_bound(int case_value) const { in is_bound() argument
43 DCHECK_GE(case_value, case_value_base_); in is_bound()
44 DCHECK_LT(case_value, case_value_base_ + size()); in is_bound()
45 return bound_.Contains(case_value - case_value_base_); in is_bound()
49 size_t ConstantPoolEntryFor(int case_value) { in ConstantPoolEntryFor() argument
50 DCHECK_GE(case_value, case_value_base_); in ConstantPoolEntryFor()
51 return constant_pool_index_ + case_value - case_value_base_; in ConstantPoolEntryFor()
58 void mark_bound(int case_value) { in mark_bound() argument
60 DCHECK_GE(case_value, case_value_base_); in mark_bound()
61 DCHECK_LT(case_value, case_value_base_ + size()); in mark_bound()
[all …]
Dbytecode-array-iterator.h29 int case_value; member
38 iterator(int case_value, int table_offset, int table_end,
Dbytecode-array-writer.cc173 int case_value) { in BindJumpTableEntry() argument
174 DCHECK(!jump_table->is_bound(case_value)); in BindJumpTableEntry()
180 jump_table->ConstantPoolEntryFor(case_value), in BindJumpTableEntry()
182 jump_table->mark_bound(case_value); in BindJumpTableEntry()
Dcontrol-flow-builders.cc104 void SwitchBuilder::BindCaseTargetForJumpTable(int case_value, in BindCaseTargetForJumpTable() argument
106 builder()->Bind(jump_table_, case_value); in BindCaseTargetForJumpTable()
Dbytecode-array-iterator.cc312 int case_value, int table_offset, int table_end, in iterator() argument
316 index_(case_value), in iterator()
Dbytecode-array-writer.h48 void BindJumpTableEntry(BytecodeJumpTable* jump_table, int case_value);
Dinterpreter-generator.cc2240 TNode<IntPtrT> case_value = IntPtrSub(SmiUntag(CAST(acc)), case_value_base); in IGNITION_HANDLER() local
2242 GotoIf(IntPtrLessThan(case_value, IntPtrConstant(0)), &fall_through); in IGNITION_HANDLER()
2243 GotoIf(IntPtrGreaterThanOrEqual(case_value, table_length), &fall_through); in IGNITION_HANDLER()
2245 TNode<WordT> entry = IntPtrAdd(table_start, case_value); in IGNITION_HANDLER()
3065 TNode<IntPtrT> case_value = SmiUntag(state); in IGNITION_HANDLER() local
3067 CSA_DCHECK(this, IntPtrGreaterThanOrEqual(case_value, IntPtrConstant(0))); in IGNITION_HANDLER()
3068 CSA_DCHECK(this, IntPtrLessThan(case_value, table_length)); in IGNITION_HANDLER()
3071 TNode<WordT> entry = IntPtrAdd(table_start, case_value); in IGNITION_HANDLER()
Dcontrol-flow-builders.h168 void BindCaseTargetForJumpTable(int case_value, CaseClause* clause);
Dbytecode-array-builder.h427 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
Dbytecode-array-builder.cc1117 int case_value) { in Bind() argument
1121 bytecode_array_writer_.BindJumpTableEntry(jump_table, case_value); in Bind()
/third_party/node/deps/v8/src/baseline/
Dbaseline-compiler.cc2092 int case_value_base = (*offsets.begin()).case_value; in VisitSwitchOnSmiNoFeedback()
2096 labels[offset.case_value - case_value_base] = in VisitSwitchOnSmiNoFeedback()
2099 Register case_value = scratch_scope.AcquireScratch(); in VisitSwitchOnSmiNoFeedback() local
2100 __ SmiUntag(case_value, kInterpreterAccumulatorRegister); in VisitSwitchOnSmiNoFeedback()
2101 __ Switch(case_value, case_value_base, labels.get(), offsets.size()); in VisitSwitchOnSmiNoFeedback()
2250 DCHECK_EQ(0, (*offsets.begin()).case_value); in VisitSwitchOnGeneratorState()
2255 labels[offset.case_value] = &EnsureLabels(offset.target_offset)->unlinked; in VisitSwitchOnGeneratorState()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c967 uint32_t case_value = upb_fielddef_number(field); in layout_set() local
969 case_value |= ONEOF_CASE_MASK; in layout_set()
974 field_type_class(layout, field), memory, val, oneof_case, case_value); in layout_set()
/third_party/node/deps/v8/src/compiler/
Draw-machine-assembler.cc576 int32_t case_value = case_values[i]; in Switch() local
579 graph()->NewNode(common()->IfValue(case_value), switch_node); in Switch()
Dbytecode-analysis.cc859 int suspend_id = offset.case_value; in ResumeJumpTargetsAreValid()
Dbytecode-graph-builder.cc3505 NewIfValue(entry.case_value); in BuildSwitchOnSmi()
/third_party/node/deps/v8/src/objects/
Dcode.cc653 os << " " << entry.case_value << ": @" << entry.target_offset; in Disassemble()