/art/test/411-optimizing-arith/src/ |
DivTest.java | 77 $opt$Div(value, 0); 90 $opt$Div(value, 0L); 110 expectEquals(2, $opt$Div(6, 3)); 111 expectEquals(6, $opt$Div(6, 1)); 112 expectEquals(-2, $opt$Div(6, -3)); 113 expectEquals(1, $opt$Div(4, 3)); 114 expectEquals(-1, $opt$Div(4, -3)); 115 expectEquals(5, $opt$Div(23, 4)); 116 expectEquals(-5, $opt$Div(-23, 4)); 118 expectEquals(-Integer.MAX_VALUE, $opt$Div(Integer.MAX_VALUE, -1)) [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
IntegerDivision.h | 35 /// Generate code to divide two integers, replacing Div with the generated 41 /// @brief Replace Div with generated code. 42 bool expandDivision(BinaryOperator* Div); 58 /// Generate code to divide two integers, replacing Div with the generated 59 /// code. Uses ExpandDivision with a 32bit Div which makes it useful for 63 bool expandDivisionUpTo32Bits(BinaryOperator *Div); 65 /// Generate code to divide two integers, replacing Div with the generated 66 /// code. Uses ExpandDivision with a 64bit Div. 69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
IntegerDivision.h | 35 /// Generate code to divide two integers, replacing Div with the generated 41 /// Replace Div with generated code. 42 bool expandDivision(BinaryOperator* Div); 58 /// Generate code to divide two integers, replacing Div with the generated 59 /// code. Uses ExpandDivision with a 32bit Div which makes it useful for 63 bool expandDivisionUpTo32Bits(BinaryOperator *Div); 65 /// Generate code to divide two integers, replacing Div with the generated 66 /// code. Uses ExpandDivision with a 64bit Div. 69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
|
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/ |
Div.java | 14 public class Div implements IExpression { 20 public Div(final IExpression l, final IExpression r) {
|
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); 386 "Div of bitwidth other than 32 or 64 not supported"); 427 /// Generate code to divide two integers, replacing Div with the generated 433 /// @brief Replace Div with generated code. 434 bool llvm::expandDivision(BinaryOperator *Div) { 435 assert((Div->getOpcode() == Instruction::SDiv || 436 Div->getOpcode() == Instruction::UDiv) && 439 IRBuilder<> Builder(Div); 441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported") [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); 386 "Div of bitwidth other than 32 or 64 not supported"); 427 /// Generate code to divide two integers, replacing Div with the generated 433 /// Replace Div with generated code. 434 bool llvm::expandDivision(BinaryOperator *Div) { 435 assert((Div->getOpcode() == Instruction::SDiv || 436 Div->getOpcode() == Instruction::UDiv) && 439 IRBuilder<> Builder(Div); 441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported") [all...] |
/external/grpc-grpc/src/ruby/bin/ |
math_services_pb.rb | 32 # Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient 34 rpc :Div, DivArgs, DivReply
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
Div.java | 19 * $Id: Div.java 468655 2006-10-28 07:12:06Z minchau $ 28 * The 'div' operation expression executer. 30 public class Div extends Operation
|
/external/grpc-grpc/src/php/tests/generated_code/ |
AbstractGeneratedCodeTest.php | 62 $call = self::$client->Div($div_arg); 71 $call = self::$client->Div($div_arg, [' ' => 'abc123']); 77 $call = self::$client->Div($div_arg); 84 $call = self::$client->Div($div_arg, [], ['timeout' => 1]); 92 $call = self::$client->Div($div_arg); 101 $call = self::$client->Div($div_arg, array(), array( 114 $call = self::$client->Div($div_arg); 160 $call = self::$client->Div($div_arg, [], 208 $call = self::$client->Div($div_arg);
|
math_client.php | 44 $call = $client->Div($div_arg);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
binary_ops.cc | 59 XLA_MAKE_BINARY(Div, xla::Div(lhs, rhs, extend_dimensions)); 76 auto result = xla::Select(y_equals_0, zeros, xla::Div(x, y)); 115 return xla::Floor(xla::Div(x, y)); 118 return xla::Div(x, y); 126 return xla::Select(different_sign, xla::Div(t, abs_y), xla::Div(x, y)); 145 return xla::Select(is_zero, zero, xla::Div(x, y)); 178 XLA_MAKE_BINARY(RealDiv, xla::Div(lhs, rhs, extend_dimensions)); 183 xla::Div(rhs, XlaHelpers::IntegerLiteral(b, input_type(0), -2)) [all...] |
l2loss_op.cc | 45 ctx->SetOutput(0, xla::Div(deconverted, two));
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
XenonSdhci.c | 179 UINT32 Div;
193 Div = 1;
195 for (Div = 2; Div < SDHCI_MAX_DIV_SPEC_300; Div += 2) {
196 if ((XENON_MMC_MAX_CLK / Div) <= Clock)
202 for (Div = 1; Div < SDHCI_MAX_DIV_SPEC_200; Div *= 2) {
203 if ((XENON_MMC_MAX_CLK / Div) <= Clock) [all...] |
/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 41 Value *Div = Builder.CreateSDiv(A, B); 44 Value *Ret = Builder.CreateRet(Div); 46 expandDivision(cast<BinaryOperator>(Div)); 71 Value *Div = Builder.CreateUDiv(A, B); 74 Value *Ret = Builder.CreateRet(Div); 76 expandDivision(cast<BinaryOperator>(Div)); 162 Value *Div = Builder.CreateSDiv(A, B); 165 Value *Ret = Builder.CreateRet(Div); 167 expandDivision(cast<BinaryOperator>(Div)); 192 Value *Div = Builder.CreateUDiv(A, B) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 41 Value *Div = Builder.CreateSDiv(A, B); 44 Value *Ret = Builder.CreateRet(Div); 46 expandDivision(cast<BinaryOperator>(Div)); 71 Value *Div = Builder.CreateUDiv(A, B); 74 Value *Ret = Builder.CreateRet(Div); 76 expandDivision(cast<BinaryOperator>(Div)); 162 Value *Div = Builder.CreateSDiv(A, B); 165 Value *Ret = Builder.CreateRet(Div); 167 expandDivision(cast<BinaryOperator>(Div)); 192 Value *Div = Builder.CreateUDiv(A, B) [all...] |
/external/tensorflow/tensorflow/lite/kernels/ |
div.cc | 27 namespace div { namespace in namespace:tflite::ops::builtin 29 // This file has three implementation of Div. 100 TF_LITE_DIV(reference_ops, Div, int32_t); 106 TF_LITE_DIV(optimized_ops, Div, int32_t); 114 TF_LITE_DIV(reference_ops, Div, float); 120 TF_LITE_DIV(optimized_ops, Div, float); 141 "Div only supports FLOAT32, INT32 and quantized UINT8 now, got %d.", 149 } // namespace div 152 static TfLiteRegistration r = {div::Init, div::Free, div::Prepare [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
HasPositionalPredChecker.java | 30 import org.apache.xpath.operations.Div; 103 (pred instanceof Div) ||
|
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/ |
ExpressionParser.java | 23 import org.jacoco.examples.expressions.Div; 68 e = new Div(e, factor());
|
/external/u-boot/include/ |
SA-1100.h | 555 #define UTCR1_BdRtDiv(Div) /* Baud Rate Divisor [16..65536] */ \ 556 (((Div) - 16)/16 >> FSize (UTCR2_BRD) << \ 558 #define UTCR2_BdRtDiv(Div) /* Baud Rate Divisor [16..65536] */ \ 559 (((Div) - 16)/16 & FAlnMsk (UTCR2_BRD) << \ 561 /* fua = fxtl/(16*Floor (Div/16)) */ 562 /* Tua = 16*Floor (Div/16)*Txtl */ 563 #define UTCR1_CeilBdRtDiv(Div) /* Ceil. of BdRtDiv [16..65536] */ \ 564 (((Div) - 1)/16 >> FSize (UTCR2_BRD) << \ 566 #define UTCR2_CeilBdRtDiv(Div) /* Ceil. of BdRtDiv [16..65536] */ \ 567 (((Div) - 1)/16 & FAlnMsk (UTCR2_BRD) << [all...] |
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
inception_preprocessing.cc | 37 auto cropped_begin = ops::Div( 74 preprocessed_image = ops::Div(s, squeezed_image, {params_.scale});
|
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/ |
MathClientMockableTest.cs | 39 mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(expected); 40 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs())); 49 mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), Moq.It.IsAny<CallOptions>())).Returns(expected); 50 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs(), new CallOptions()));
|
MathClientServerTests.cs | 64 DivReply response = client.Div(new DivArgs { Dividend = 10, Divisor = 3 }); 72 DivReply response = client.Div(new DivArgs { Dividend = 0, Divisor = 1 }); 80 var ex = Assert.Throws<RpcException>(() => client.Div(new DivArgs { Dividend = 0, Divisor = 0 }));
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IpSecImpl.c | 46 UINT8 Div;
63 Div = (UINT8) (PrefixLength / 8);
74 if ((Addr[Div] | Mask) != Mask) {
78 Div++;
81 // Check whether the div part of host scope is zero or not.
84 &Addr[Div],
86 sizeof (EFI_IP_ADDRESS) - Div
111 UINT8 Div;
120 Div = (UINT8) (PrefixLength / 8);
131 Addr[Div] = (UINT8) (Addr[Div] & Mask); [all...] |
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
MathExamples.cs | 29 DivReply result = client.Div(new DivArgs { Dividend = 10, Divisor = 3 }); 30 Console.WriteLine("Div Result: " + result);
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
svd.cc | 145 auto mu = Mul(sigma, Sqrt(Square(Div(x_0j, sigma, broadcast_dims)) + one), 150 -Mul(sigma, Div(sigma, Add(x_0j, mu), broadcast_dims), broadcast_dims)); 152 auto beta = Div(ScalarLike(v_0j, 2.0), 153 (Square(Div(sigma, v_0j, broadcast_dims)) + one)); 212 auto mu = Mul(sigma, Sqrt(Square(Div(x_0i, sigma, broadcast_dims)) + one), 217 -Mul(sigma, Div(sigma, Add(x_0i, mu), broadcast_dims), broadcast_dims)); 219 auto beta = Div(ScalarLike(v_0i, 2.0), 220 (Square(Div(sigma, v_0i, broadcast_dims)) + one)); 434 XlaOp u = Div(t, d);
|