Home
last modified time | relevance | path

Searched refs:WhichPowerOf2 (Results 1 – 23 of 23) sorted by relevance

/external/vixl/src/vixl/
Dutils.h194 inline int WhichPowerOf2(V value) { in WhichPowerOf2() function
/external/v8/src/ic/
Dic-state.cc57 extra_ic_state, WhichPowerOf2(fixed_right_arg_.FromJust())); in GetExtraICState()
232 FixedRightArgValueField::is_valid(WhichPowerOf2(fixed_right_arg_value)) && in Update()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc696 g.TempImmediate(WhichPowerOf2(value))); in VisitInt32Mul()
702 g.TempImmediate(WhichPowerOf2(value - 1))); in VisitInt32Mul()
709 g.TempImmediate(WhichPowerOf2(value + 1))); in VisitInt32Mul()
753 g.TempImmediate(WhichPowerOf2(value))); in VisitInt64Mul()
760 g.TempImmediate(WhichPowerOf2(value - 1))); in VisitInt64Mul()
767 g.TempImmediate(WhichPowerOf2(value + 1))); in VisitInt64Mul()
/external/v8/test/unittests/compiler/
Djs-typed-lowering-unittest.cc614 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F()
695 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F()
742 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F()
/external/v8/src/
Dutils.h56 inline int WhichPowerOf2(uint32_t x) { in WhichPowerOf2() function
246 return (x == kMinInt) ? 31 : WhichPowerOf2(Abs(x)); in WhichPowerOf2Abs()
Dgdb-jit.cc233 align_ = WhichPowerOf2(align_); in MachOSection()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc534 g.TempImmediate(WhichPowerOf2(value))); in VisitInt32Mul()
540 g.TempImmediate(WhichPowerOf2(value - 1))); in VisitInt32Mul()
547 g.TempImmediate(WhichPowerOf2(value + 1))); in VisitInt32Mul()
/external/v8/src/compiler/
Dmachine-operator-reducer.cc217 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value()))); in Reduce()
624 node->ReplaceInput(1, Uint32Constant(WhichPowerOf2(m.right().Value()))); in ReduceUint32Div()
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc2034 (!Assembler::IsImmLSPair(min_offset, WhichPowerOf2(reg_size)) || in BaseMemOperandForLoadStoreCPURegList()
2035 !Assembler::IsImmLSPair(max_offset, WhichPowerOf2(reg_size)))) { in BaseMemOperandForLoadStoreCPURegList()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc1365 int32_t shift = WhichPowerOf2(constant_abs); in DoMulS()
1370 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulS()
1375 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulS()
1467 int32_t shift = WhichPowerOf2(constant_abs); in DoMulI()
1472 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulI()
1477 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulI()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc1106 g.TempImmediate(WhichPowerOf2(value - 1))); in VisitInt32Mul()
1113 g.TempImmediate(WhichPowerOf2(value + 1))); in VisitInt32Mul()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc4067 int right_log2 = WhichPowerOf2(right_abs); in DoMulConstIS()
4101 __ Add(result, left, Operand(left, LSL, WhichPowerOf2(right - 1))); in DoMulConstIS()
4104 __ Sub(result, left, Operand(left, LSL, WhichPowerOf2(right + 1))); in DoMulConstIS()
4112 __ Sub(result, left, Operand(left, LSL, WhichPowerOf2(-right + 1))); in DoMulConstIS()
4115 __ Add(result, left, Operand(left, LSL, WhichPowerOf2(-right - 1))); in DoMulConstIS()
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.cc1109 __ ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in CallCheckStackGuardState()
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc1375 int32_t shift = WhichPowerOf2(constant_abs); in DoMulI()
1380 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulI()
1386 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulI()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc1365 int32_t shift = WhichPowerOf2(constant_abs); in DoMulI()
1370 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulI()
1375 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulI()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc1434 int32_t shift = WhichPowerOf2(constant_abs); in DoMulI()
1439 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulI()
1445 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulI()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc1496 int32_t shift = WhichPowerOf2(constant_abs); in DoMulI()
1501 int32_t shift = WhichPowerOf2(constant_abs - 1); in DoMulI()
1506 int32_t shift = WhichPowerOf2(constant_abs + 1); in DoMulI()
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc1153 ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in EnterExitFrame()
3480 ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in PrepareCallCFunction()
Dcode-stubs-ppc.cc4099 __ ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in Generate()
/external/v8/src/arm/
Dmacro-assembler-arm.cc301 WhichPowerOf2(static_cast<uint32_t>(src2.immediate()) + 1), cond); in And()
/external/v8/src/arm64/
Dmacro-assembler-arm64.cc1070 PushPreamble(Operand(count, UXTW, WhichPowerOf2(src.SizeInBytes()))); in PushMultipleTimes()
/external/v8/src/s390/
Dmacro-assembler-s390.cc3262 ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in PrepareCallCFunction()
Dcode-stubs-s390.cc4034 __ ClearRightImm(sp, sp, Operand(WhichPowerOf2(frame_alignment))); in Generate()