/external/v8/src/compiler/ |
D | control-builders.h | 91 explicit SwitchBuilder(AstGraphBuilder* builder, int case_count) in SwitchBuilder() argument 96 body_environments_(case_count, zone()) {} in SwitchBuilder() 111 size_t case_count() const { return body_environments_.size(); } in case_count() function
|
D | raw-machine-assembler.cc | 75 size_t case_count) { in Switch() argument 77 size_t succ_count = case_count + 1; in Switch() 80 for (size_t index = 0; index < case_count; ++index) { in Switch() 91 succ_blocks[case_count] = default_block; in Switch()
|
D | instruction-selector.cc | 736 sw.case_count = block->SuccessorCount() - 1; in VisitControl() 739 sw.case_values = zone()->NewArray<int32_t>(sw.case_count); in VisitControl() 742 for (size_t index = 0; index < sw.case_count; ++index) { in VisitControl() 1105 for (size_t index = 0; index < sw.case_count; ++index) { in EmitTableSwitch() 1119 size_t input_count = 2 + sw.case_count * 2; in EmitLookupSwitch() 1123 for (size_t index = 0; index < sw.case_count; ++index) { in EmitLookupSwitch()
|
D | instruction-selector-impl.h | 23 size_t case_count; // number of cases member
|
D | raw-machine-assembler.h | 616 RawMachineLabel** case_labels, size_t case_count);
|
/external/v8/src/wasm/ |
D | ast-decoder.cc | 397 uint16_t case_count = *reinterpret_cast<const uint16_t*>(pc_ + 1); in DecodeFunctionBody() local 411 Shift(kAstEnd, 1 + case_count); in DecodeFunctionBody() 423 if (target >= case_count) { in DecodeFunctionBody() 833 uint16_t case_count = *reinterpret_cast<const uint16_t*>(p->pc() + 1); in Reduce() local 834 SsaEnv** case_envs = zone_->NewArray<SsaEnv*>(case_count); in Reduce() 835 for (int i = 0; i < case_count; i++) { in Reduce() 1564 uint16_t case_count = *reinterpret_cast<const uint16_t*>(pc + 1); in OpcodeArity() local 1565 return 1 + case_count; in OpcodeArity()
|
D | wasm-macro-gen.h | 36 #define WASM_TABLESWITCH_OP(case_count, table_count, ...) \ argument 37 kExprTableSwitch, static_cast<byte>(case_count), \ 38 static_cast<byte>(case_count >> 8), static_cast<byte>(table_count), \
|
/external/v8/src/compiler/ia32/ |
D | code-generator-ia32.cc | 1268 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1269 Label** cases = zone()->NewArray<Label*>(case_count); in AssembleArchTableSwitch() 1270 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch() 1273 Label* const table = AddJumpTable(cases, case_count); in AssembleArchTableSwitch() 1274 __ cmp(input, Immediate(case_count)); in AssembleArchTableSwitch()
|
D | instruction-selector-ia32.cc | 1159 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1160 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1161 if (sw.case_count > 4 && in VisitSwitch()
|
/external/v8/src/compiler/ppc/ |
D | code-generator-ppc.cc | 1523 int32_t const case_count = static_cast<int32_t>(instr->InputCount() - 2); in AssembleArchTableSwitch() local 1524 Label** cases = zone()->NewArray<Label*>(case_count); in AssembleArchTableSwitch() 1525 for (int32_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch() 1528 Label* const table = AddJumpTable(cases, case_count); in AssembleArchTableSwitch() 1529 __ Cmpli(input, Operand(case_count), r0); in AssembleArchTableSwitch()
|
D | instruction-selector-ppc.cc | 1539 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1540 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1541 if (sw.case_count > 0 && in VisitSwitch()
|
/external/v8/src/compiler/arm/ |
D | code-generator-arm.cc | 1049 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1052 __ cmp(input, Operand(case_count)); in AssembleArchTableSwitch() 1053 __ BlockConstPoolFor(case_count + 2); in AssembleArchTableSwitch() 1056 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch()
|
D | instruction-selector-arm.cc | 1435 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1436 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1437 if (sw.case_count > 0 && in VisitSwitch()
|
/external/v8/src/compiler/x87/ |
D | code-generator-x87.cc | 1644 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1645 Label** cases = zone()->NewArray<Label*>(case_count); in AssembleArchTableSwitch() 1646 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch() 1649 Label* const table = AddJumpTable(cases, case_count); in AssembleArchTableSwitch() 1650 __ cmp(input, Immediate(case_count)); in AssembleArchTableSwitch()
|
D | instruction-selector-x87.cc | 1176 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1177 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1178 if (sw.case_count > 4 && in VisitSwitch()
|
/external/v8/src/compiler/x64/ |
D | code-generator-x64.cc | 1778 int32_t const case_count = static_cast<int32_t>(instr->InputCount() - 2); in AssembleArchTableSwitch() local 1779 Label** cases = zone()->NewArray<Label*>(case_count); in AssembleArchTableSwitch() 1780 for (int32_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch() 1783 Label* const table = AddJumpTable(cases, case_count); in AssembleArchTableSwitch() 1784 __ cmpl(input, Immediate(case_count)); in AssembleArchTableSwitch()
|
D | instruction-selector-x64.cc | 1558 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1559 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1560 if (sw.case_count > 4 && in VisitSwitch()
|
/external/v8/src/compiler/mips/ |
D | code-generator-mips.cc | 1418 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1420 __ Branch(GetLabel(i.InputRpo(1)), hs, input, Operand(case_count)); in AssembleArchTableSwitch() 1421 __ BlockTrampolinePoolFor(case_count + 6); in AssembleArchTableSwitch() 1429 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch()
|
D | instruction-selector-mips.cc | 1167 size_t lookup_space_cost = 2 + 2 * sw.case_count; in VisitSwitch() 1168 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1169 if (sw.case_count > 0 && in VisitSwitch()
|
/external/v8/src/compiler/mips64/ |
D | code-generator-mips64.cc | 1655 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1658 __ Branch(GetLabel(i.InputRpo(1)), hs, input, Operand(case_count)); in AssembleArchTableSwitch() 1659 __ BlockTrampolinePoolFor(static_cast<int>(case_count) * 2 + 7); in AssembleArchTableSwitch() 1669 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch()
|
D | instruction-selector-mips64.cc | 1651 size_t lookup_space_cost = 2 + 2 * sw.case_count; in VisitSwitch() 1652 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1653 if (sw.case_count > 0 && in VisitSwitch()
|
/external/v8/src/compiler/arm64/ |
D | code-generator-arm64.cc | 1318 size_t const case_count = instr->InputCount() - 2; in AssembleArchTableSwitch() local 1320 __ Cmp(input, case_count); in AssembleArchTableSwitch() 1327 for (size_t index = 0; index < case_count; ++index) { in AssembleArchTableSwitch()
|
D | instruction-selector-arm64.cc | 1922 size_t lookup_space_cost = 3 + 2 * sw.case_count; in VisitSwitch() 1923 size_t lookup_time_cost = sw.case_count; in VisitSwitch() 1924 if (sw.case_count > 0 && in VisitSwitch()
|