Home
last modified time | relevance | path

Searched refs:jump_table (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-array-writer.cc144 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
152 EmitSwitch(node, jump_table); in WriteSwitch()
170 void BytecodeArrayWriter::BindJumpTableEntry(BytecodeJumpTable* jump_table, in BindJumpTableEntry() argument
172 DCHECK(!jump_table->is_bound(case_value)); in BindJumpTableEntry()
175 size_t relative_jump = current_offset - jump_table->switch_bytecode_offset(); in BindJumpTableEntry()
178 jump_table->ConstantPoolEntryFor(case_value), in BindJumpTableEntry()
180 jump_table->mark_bound(case_value); in BindJumpTableEntry()
513 BytecodeJumpTable* jump_table) { in EmitSwitch() argument
521 jump_table->set_switch_bytecode_offset(current_offset); in EmitSwitch()
Dbytecode-array-writer.h45 void WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
48 void BindJumpTableEntry(BytecodeJumpTable* jump_table, int case_value);
100 void EmitSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
Dbytecode-array-builder.cc187 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
189 bytecode_array_writer_.WriteSwitch(node, jump_table); in WriteSwitch()
384 BytecodeJumpTable* jump_table) { in OutputSwitchOnSmiNoFeedback() argument
386 jump_table->constant_pool_index(), jump_table->size(), in OutputSwitchOnSmiNoFeedback()
387 jump_table->case_value_base())); in OutputSwitchOnSmiNoFeedback()
388 WriteSwitch(&node, jump_table); in OutputSwitchOnSmiNoFeedback()
1121 BytecodeArrayBuilder& BytecodeArrayBuilder::Bind(BytecodeJumpTable* jump_table, in Bind() argument
1126 bytecode_array_writer_.BindJumpTableEntry(jump_table, case_value); in Bind()
1283 BytecodeJumpTable* jump_table) { in SwitchOnSmiNoFeedback() argument
1284 OutputSwitchOnSmiNoFeedback(jump_table); in SwitchOnSmiNoFeedback()
[all …]
Dbytecode-array-builder.h433 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
452 BytecodeArrayBuilder& SwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
488 BytecodeJumpTable* jump_table);
599 V8_INLINE void OutputSwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
Dbytecode-generator.cc270 BytecodeJumpTable* jump_table = in ApplyDeferredCommands() local
274 .SwitchOnSmiNoFeedback(jump_table) in ApplyDeferredCommands()
277 builder()->Bind(jump_table, entry.token); in ApplyDeferredCommands()
4250 BytecodeJumpTable* jump_table = in VisitYield() local
4253 builder()->SwitchOnSmiNoFeedback(jump_table); in VisitYield()
4266 builder()->Bind(jump_table, JSGeneratorObject::kReturn); in VisitYield()
4277 builder()->Bind(jump_table, JSGeneratorObject::kNext); in VisitYield()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DCodeHTML.java91 int[] jump_table; in codeToHTML() local
116 jump_table = new int[high - low + 1]; in codeToHTML()
117 for (int i = 0; i < jump_table.length; i++) { in codeToHTML()
118 jump_table[i] = offset + bytes.readInt(); in codeToHTML()
123 for (final int element : jump_table) { in codeToHTML()
136 jump_table = new int[npairs]; in codeToHTML()
142 jump_table[i] = offset + bytes.readInt(); in codeToHTML()
149 jump_table[i]).append("\">").append(jump_table[i]).append("</A></TD>"); in codeToHTML()
/external/linux-kselftest/tools/testing/selftests/powerpc/security/
Dbranch_loops.S11 jump_table: label
46 ld r6, jump_table@got(%r2)
/external/v8/src/wasm/
Dwasm-code-manager.cc855 code_space_data_[0].jump_table = main_jump_table_; in ReserveCodeTableForTesting()
1283 DCHECK_IMPLIES(code_space_data.jump_table, code_space_data.far_jump_table); in PatchJumpTablesLocked()
1284 if (!code_space_data.jump_table) continue; in PatchJumpTablesLocked()
1294 DCHECK_NOT_NULL(code_space_data.jump_table); in PatchJumpTableLocked()
1299 code_space_data.jump_table->instruction_start() + in PatchJumpTableLocked()
1345 WasmCode* jump_table = nullptr; in AddCodeSpace() local
1354 jump_table = CreateEmptyJumpTableInRegion( in AddCodeSpace()
1357 CHECK(region.contains(jump_table->instruction_start())); in AddCodeSpace()
1390 main_jump_table_ = jump_table; in AddCodeSpace()
1395 code_space_data_.push_back(CodeSpaceData{region, jump_table, far_jump_table}); in AddCodeSpace()
[all …]
Dwasm-code-manager.h682 WasmCode* jump_table; member
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DUtility.java194 int[] jump_table; in codeToString() local
224 jump_table = new int[high - low + 1]; in codeToString()
225 for (int i = 0; i < jump_table.length; i++) { in codeToString()
226 jump_table[i] = offset + bytes.readInt(); in codeToString()
227 buf.append(jump_table[i]); in codeToString()
228 if (i < jump_table.length - 1) { in codeToString()
240 jump_table = new int[npairs]; in codeToString()
246 jump_table[i] = offset + bytes.readInt(); in codeToString()
247 buf.append("(").append(match[i]).append(", ").append(jump_table[i]).append(")"); in codeToString()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dexecute-only.ll16 define i32 @jump_table(i32 %c, i32 %a, i32 %b) #0 {
17 ; CHECK-LABEL: jump_table:
Darm-position-independence-jump-table.ll21 define void @jump_table(i32 %val) {
48 ; CHECK-LABEL: jump_table:
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb/
Dtbb-reuse.mir19 define void @jump_table(i32 %val, i32 %arg2, i32 %arg3, i32 %arg4) {
58 name: jump_table