Home
last modified time | relevance | path

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

/external/v8/src/base/
Ddivision-by-constant.cc16 bool MagicNumbersForDivision<T>::operator==( in operator ==()
17 const MagicNumbersForDivision& rhs) const { in operator ==()
23 MagicNumbersForDivision<T> SignedDivisionByConstant(T d) { in SignedDivisionByConstant()
55 return MagicNumbersForDivision<T>(neg ? (0 - mul) : mul, p - bits, false); in SignedDivisionByConstant()
60 MagicNumbersForDivision<T> UnsignedDivisionByConstant(T d, in UnsignedDivisionByConstant()
96 return MagicNumbersForDivision<T>(q2 + 1, p - bits, a); in UnsignedDivisionByConstant()
103 template struct MagicNumbersForDivision<uint32_t>; variable
104 template struct MagicNumbersForDivision<uint64_t>; variable
106 template MagicNumbersForDivision<uint32_t> SignedDivisionByConstant(uint32_t d);
107 template MagicNumbersForDivision<uint64_t> SignedDivisionByConstant(uint64_t d);
[all …]
Ddivision-by-constant.h17 struct MagicNumbersForDivision { struct
18 MagicNumbersForDivision(T m, unsigned s, bool a) in MagicNumbersForDivision() argument
20 bool operator==(const MagicNumbersForDivision& rhs) const;
31 MagicNumbersForDivision<T> SignedDivisionByConstant(T d); argument
39 MagicNumbersForDivision<T> UnsignedDivisionByConstant(
/external/v8/test/unittests/base/
Ddivision-by-constant-unittest.cc20 const MagicNumbersForDivision<T>& mag) { in operator <<()
28 typedef MagicNumbersForDivision<uint32_t> M32;
29 typedef MagicNumbersForDivision<uint64_t> M64;
/external/v8/src/compiler/
Dmachine-operator-reducer.cc92 base::MagicNumbersForDivision<uint32_t> const mag = in Int32Div()
113 base::MagicNumbersForDivision<uint32_t> const mag = in Uint32Div()
/external/v8/test/unittests/compiler/
Dmachine-operator-reducer-unittest.cc40 base::MagicNumbersForDivision<uint32_t> const mag = in IsTruncatingDiv()
/external/v8/src/x87/
Dmacro-assembler-x87.cc2980 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc3108 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/arm/
Dmacro-assembler-arm.cc3607 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc4315 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/arm64/
Dmacro-assembler-arm64.cc4805 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/x64/
Dmacro-assembler-x64.cc5470 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/mips/
Dmacro-assembler-mips.cc5777 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()
/external/v8/src/mips64/
Dmacro-assembler-mips64.cc6494 base::MagicNumbersForDivision<uint32_t> mag = in TruncatingDiv()