Home
last modified time | relevance | path

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

/external/v8/src/interpreter/
Dbytecode-array-writer.cc86 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
96 EmitSwitch(node, jump_table); in WriteSwitch()
126 void BytecodeArrayWriter::BindJumpTableEntry(BytecodeJumpTable* jump_table, in BindJumpTableEntry() argument
128 DCHECK(!jump_table->is_bound(case_value)); in BindJumpTableEntry()
131 size_t relative_jump = current_offset - jump_table->switch_bytecode_offset(); in BindJumpTableEntry()
134 jump_table->ConstantPoolEntryFor(case_value), in BindJumpTableEntry()
136 jump_table->mark_bound(case_value); in BindJumpTableEntry()
426 BytecodeJumpTable* jump_table) { in EmitSwitch() argument
434 jump_table->set_switch_bytecode_offset(current_offset); in EmitSwitch()
Dbytecode-array-writer.h40 void WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
43 void BindJumpTableEntry(BytecodeJumpTable* jump_table, int case_value);
72 void EmitSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
Dbytecode-array-builder.cc149 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
151 bytecode_array_writer_.WriteSwitch(node, jump_table); in WriteSwitch()
341 BytecodeJumpTable* jump_table) { in BYTECODE_LIST()
343 jump_table->constant_pool_index(), jump_table->size(), in BYTECODE_LIST()
344 jump_table->case_value_base())); in BYTECODE_LIST()
345 WriteSwitch(&node, jump_table); in BYTECODE_LIST()
1053 BytecodeArrayBuilder& BytecodeArrayBuilder::Bind(BytecodeJumpTable* jump_table, in Bind() argument
1058 bytecode_array_writer_.BindJumpTableEntry(jump_table, case_value); in Bind()
1171 BytecodeJumpTable* jump_table) { in SwitchOnSmiNoFeedback() argument
1172 OutputSwitchOnSmiNoFeedback(jump_table); in SwitchOnSmiNoFeedback()
[all …]
Dbytecode-array-builder.h388 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
406 BytecodeArrayBuilder& SwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
443 BytecodeJumpTable* jump_table);
554 V8_INLINE void OutputSwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
Dbytecode-generator.cc249 BytecodeJumpTable* jump_table = in ApplyDeferredCommands() local
253 .SwitchOnSmiNoFeedback(jump_table) in ApplyDeferredCommands()
256 builder()->Bind(jump_table, entry.token); in ApplyDeferredCommands()
3087 BytecodeJumpTable* jump_table = in VisitYield() local
3090 builder()->SwitchOnSmiNoFeedback(jump_table); in VisitYield()
3103 builder()->Bind(jump_table, JSGeneratorObject::kReturn); in VisitYield()
3114 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/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