/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
DivS64x64Remainder.c | 29 This function divides the 64-bit unsigned value Dividend by the 64-bit
34 @param Dividend A 64-bit signed value.
39 @return Dividend / Divisor
44 IN INT64 Dividend,
52 (UINT64) (Dividend >= 0 ? Dividend : -Dividend),
56 if (Remainder != NULL && Dividend < 0) {
59 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot;
|
ModU64x32.c | 28 IN UINT64 Dividend,
33 mov eax, dword ptr [Dividend + 4]
37 mov eax, dword ptr [Dividend + 0]
|
DivU64x32.c | 20 IN UINT64 Dividend,
25 mov eax, dword ptr [Dividend + 4]
30 mov eax, dword ptr [Dividend]
|
DivU64x32Remainder.c | 20 IN UINT64 Dividend,
27 mov eax, dword ptr [Dividend + 4]
31 mov eax, dword ptr [Dividend + 0]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
DivS64x64Remainder.c | 21 This function divides the 64-bit signed value Dividend by the 64-bit
26 @param Dividend A 64-bit signed value.
31 @return Dividend / Divisor
37 IN INT64 Dividend,
45 (UINT64) (Dividend >= 0 ? Dividend : -Dividend),
49 if (Remainder != NULL && Dividend < 0) {
52 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot;
|
ModU64x32.c | 22 This function divides the 64-bit unsigned value Dividend by the 32-bit
26 @param Dividend A 64-bit unsigned value.
29 @return Dividend % Divisor
35 IN UINT64 Dividend,
40 mov eax, dword ptr [Dividend + 4]
44 mov eax, dword ptr [Dividend + 0]
|
DivU64x32.c | 22 This function divides the 64-bit unsigned value Dividend by the 32-bit
26 @param Dividend A 64-bit unsigned value.
29 @return Dividend / Divisor
35 IN UINT64 Dividend,
40 mov eax, dword ptr [Dividend + 4]
45 mov eax, dword ptr [Dividend]
|
DivU64x32Remainder.c | 19 This function divides the 64-bit unsigned value Dividend by the 32-bit
24 @param Dividend A 64-bit unsigned value.
29 @return Dividend / Divisor
35 IN UINT64 Dividend,
42 mov eax, dword ptr [Dividend + 4]
46 mov eax, dword ptr [Dividend + 0]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
DivU64x32.c | 29 This function divides the 64-bit unsigned value Dividend by the 32-bit
35 @param Dividend A 64-bit unsigned value.
38 @return Dividend / Divisor
44 IN UINT64 Dividend,
49 return InternalMathDivU64x32 (Dividend, Divisor);
|
ModU64x32.c | 29 This function divides the 64-bit unsigned value Dividend by the 32-bit
35 @param Dividend A 64-bit unsigned value.
38 @return Dividend % Divisor
44 IN UINT64 Dividend,
49 return InternalMathModU64x32 (Dividend, Divisor);
|
DivS64x64Remainder.c | 29 This function divides the 64-bit signed value Dividend by the 64-bit signed
36 @param Dividend A 64-bit signed value.
41 @return Dividend / Divisor
47 IN INT64 Dividend,
53 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder);
|
DivU64x32Remainder.c | 29 This function divides the 64-bit unsigned value Dividend by the 32-bit
36 @param Dividend A 64-bit unsigned value.
41 @return Dividend / Divisor
47 IN UINT64 Dividend,
53 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder);
|
DivU64x64Remainder.c | 28 This function divides the 64-bit unsigned value Dividend by the 64-bit
35 @param Dividend A 64-bit unsigned value.
40 @return Dividend / Divisor
46 IN UINT64 Dividend,
52 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder);
|
Math64.c | 243 This function divides the 64-bit unsigned value Dividend by the 32-bit
247 @param Dividend A 64-bit unsigned value.
250 @return Dividend / Divisor
256 IN UINT64 Dividend,
260 return Dividend / Divisor;
267 This function divides the 64-bit unsigned value Dividend by the 32-bit
271 @param Dividend A 64-bit unsigned value.
274 @return Dividend % Divisor
280 IN UINT64 Dividend,
284 return (UINT32)(Dividend % Divisor); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
DivU64x32.c | 24 This function divides the 64-bit unsigned value Dividend by the 32-bit
30 @param Dividend A 64-bit unsigned value.
33 @return Dividend / Divisor
39 IN UINT64 Dividend,
44 return InternalMathDivU64x32 (Dividend, Divisor);
|
ModU64x32.c | 24 This function divides the 64-bit unsigned value Dividend by the 32-bit
30 @param Dividend A 64-bit unsigned value.
33 @return Dividend % Divisor.
39 IN UINT64 Dividend,
44 return InternalMathModU64x32 (Dividend, Divisor);
|
DivS64x64Remainder.c | 24 This function divides the 64-bit signed value Dividend by the 64-bit signed
35 @param Dividend A 64-bit signed value.
40 @return Dividend / Divisor
46 IN INT64 Dividend,
52 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder);
|
DivU64x32Remainder.c | 24 This function divides the 64-bit unsigned value Dividend by the 32-bit
31 @param Dividend A 64-bit unsigned value.
36 @return Dividend / Divisor
42 IN UINT64 Dividend,
48 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder);
|
DivU64x64Remainder.c | 24 This function divides the 64-bit unsigned value Dividend by the 64-bit
31 @param Dividend A 64-bit unsigned value.
36 @return Dividend / Divisor
42 IN UINT64 Dividend,
48 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder);
|
Math64.c | 233 This function divides the 64-bit unsigned value Dividend by the 32-bit
237 @param Dividend A 64-bit unsigned value.
240 @return Dividend / Divisor.
246 IN UINT64 Dividend,
250 return Dividend / Divisor;
257 This function divides the 64-bit unsigned value Dividend by the 32-bit
261 @param Dividend A 64-bit unsigned value.
264 @return Dividend % Divisor.
270 IN UINT64 Dividend,
274 return (UINT32)(Dividend % Divisor); [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/ |
Gcc.c | 62 // Return the quotient of the signed division of Dividend and Divisor
64 int __divsi3(int Dividend, int Divisor)
67 return (int) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL);
70 INT64 __divdi3(INT64 Dividend, INT64 Divisor)
74 Quotient = DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL);
75 DEBUG((DEBUG_INFO, "%a: %Ld / %Ld = %Ld\n", __func__, Dividend, Divisor, Quotient));
80 long long __divti3(long long Dividend, long long Divisor)
83 return (long long) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL);
106 // Return the remainder of the signed division of Dividend and Divisor
108 int __modsi3(int Dividend, int Divisor) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
BypassSlowDivision.h | 32 Value *Dividend; 36 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} 41 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend && 54 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
Math.c | 109 IN UINT64 Dividend,
123 Dividend - dividend
129 Dividend / Divisor
130 Remainder = Dividend mod Divisor
135 *Remainder = Dividend % Divisor;
138 return Dividend / Divisor;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/X64/ |
Math.c | 86 IN UINT64 Dividend,
99 Dividend -
107 Dividend / Divisor
108 Remainder = Dividend mod Divisor
114 return Dividend/Divisor;
|
/external/llvm/lib/Transforms/Utils/ |
BypassSlowDivision.cpp | 31 Value *Dividend; 35 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} 52 Val1.Dividend == Val2.Dividend && 65 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ 82 Value *Dividend = I->getOperand(0); 86 (isa<ConstantInt>(Dividend) && isa<ConstantInt>(Divisor))) { 104 SlowQuotientV = SlowBuilder.CreateSDiv(Dividend, Divisor); 105 SlowRemainderV = SlowBuilder.CreateSRem(Dividend, Divisor); 107 SlowQuotientV = SlowBuilder.CreateUDiv(Dividend, Divisor) [all...] |