Home
last modified time | relevance | path

Searched refs:Div (Results 1 – 25 of 222) sorted by relevance

123456789

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp434 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
439 IRBuilder<> Builder(Div); in expandDivision()
441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
442 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision()
443 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision()
447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
449 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
450 Div->getOperand(1), Builder); in expandDivision()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp434 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
439 IRBuilder<> Builder(Div); in expandDivision()
441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
442 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision()
443 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision()
447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
449 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
450 Div->getOperand(1), Builder); in expandDivision()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc59 XLA_MAKE_BINARY(Div, xla::Div(lhs, rhs, extend_dimensions));
76 auto result = xla::Select(y_equals_0, zeros, xla::Div(x, y)); in DivNoNanImpl()
115 return xla::Floor(xla::Div(x, y)); in FloorDivImpl()
118 return xla::Div(x, y); in FloorDivImpl()
126 return xla::Select(different_sign, xla::Div(t, abs_y), xla::Div(x, y)); in FloorDivImpl()
145 return xla::Select(is_zero, zero, xla::Div(x, y)); in XdivyImpl()
178 XLA_MAKE_BINARY(RealDiv, xla::Div(lhs, rhs, extend_dimensions));
183 xla::Div(rhs, XlaHelpers::IntegerLiteral(b, input_type(0), -2)),
187 xla::Div(xla::Mul(rhs, XlaHelpers::FloatLiteral(b, input_type(0), 0.5)),
193 XLA_MAKE_BINARY(TruncateDiv, xla::Div(lhs, rhs, extend_dimensions));
[all …]
/external/u-boot/include/
DSA-1100.h555 #define UTCR1_BdRtDiv(Div) /* Baud Rate Divisor [16..65536] */ \ argument
556 (((Div) - 16)/16 >> FSize (UTCR2_BRD) << \
558 #define UTCR2_BdRtDiv(Div) /* Baud Rate Divisor [16..65536] */ \ argument
559 (((Div) - 16)/16 & FAlnMsk (UTCR2_BRD) << \
563 #define UTCR1_CeilBdRtDiv(Div) /* Ceil. of BdRtDiv [16..65536] */ \ argument
564 (((Div) - 1)/16 >> FSize (UTCR2_BRD) << \
566 #define UTCR2_CeilBdRtDiv(Div) /* Ceil. of BdRtDiv [16..65536] */ \ argument
567 (((Div) - 1)/16 & FAlnMsk (UTCR2_BRD) << \
713 #define SDCR3_BdRtDiv(Div) /* Baud Rate Divisor [16..65536] */ \ argument
714 (((Div) - 16)/16 >> FSize (SDCR4_BRD) << \
[all …]
/external/grpc-grpc/src/php/tests/generated_code/
DAbstractGeneratedCodeTest.php62 $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);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp41 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
44 Value *Ret = Builder.CreateRet(Div); in TEST()
46 expandDivision(cast<BinaryOperator>(Div)); in TEST()
71 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
74 Value *Ret = Builder.CreateRet(Div); in TEST()
76 expandDivision(cast<BinaryOperator>(Div)); in TEST()
162 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
165 Value *Ret = Builder.CreateRet(Div); in TEST()
167 expandDivision(cast<BinaryOperator>(Div)); in TEST()
192 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp41 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
44 Value *Ret = Builder.CreateRet(Div); in TEST()
46 expandDivision(cast<BinaryOperator>(Div)); in TEST()
71 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
74 Value *Ret = Builder.CreateRet(Div); in TEST()
76 expandDivision(cast<BinaryOperator>(Div)); in TEST()
162 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
165 Value *Ret = Builder.CreateRet(Div); in TEST()
167 expandDivision(cast<BinaryOperator>(Div)); in TEST()
192 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h42 bool expandDivision(BinaryOperator* Div);
63 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h42 bool expandDivision(BinaryOperator* Div);
63 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientMockableTest.cs39 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(… in ClientBaseBlockingUnaryCallCanBeMocked()
40 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs())); in ClientBaseBlockingUnaryCallCanBeMocked()
49 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), Moq.It.IsAny<CallOptions>())).Returns(expecte… in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked()
50 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs(), new CallOptions())); in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked()
DMathClientServerTests.cs64 DivReply response = client.Div(new DivArgs { Dividend = 10, Divisor = 3 }); in Div1()
72 DivReply response = client.Div(new DivArgs { Dividend = 0, Divisor = 1 }); in Div2()
80 … var ex = Assert.Throws<RpcException>(() => client.Div(new DivArgs { Dividend = 0, Divisor = 0 })); in DivByZero()
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Div.pbtxt2 graph_op_name: "Div"
4 name: "math.Div"
/external/tensorflow/tensorflow/lite/kernels/
Ddiv.cc100 TF_LITE_DIV(reference_ops, Div, int32_t); in EvalDiv()
106 TF_LITE_DIV(optimized_ops, Div, int32_t); in EvalDiv()
114 TF_LITE_DIV(reference_ops, Div, float); in EvalDiv()
120 TF_LITE_DIV(optimized_ops, Div, float); in EvalDiv()
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
DDiv.java14 public class Div implements IExpression { class
20 public Div(final IExpression l, final IExpression r) { in Div() method in Div
/external/eigen/unsupported/test/
Dcxx11_tensor_complex_cwise_ops_cuda.cu54 Div in test_cuda_complex_cwise_ops() enumerator
58 for (int op = Add; op <= Div; op++) { in test_cuda_complex_cwise_ops()
73 case Div: in test_cuda_complex_cwise_ops()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Div.pbtxt2 graph_op_name: "Div"
5 *NOTE*: `Div` supports broadcasting. More about broadcasting
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs79 …public virtual global::System.Threading.Tasks.Task<global::Math.DivReply> Div(global::Math.DivArgs… in Div() method in Math.Math.MathBase
159 …public virtual global::Math.DivReply Div(global::Math.DivArgs request, grpc::Metadata headers = nu… in Div() method in Math.Math.MathClient
161 return Div(request, new grpc::CallOptions(headers, deadline, cancellationToken)); in Div()
170 … public virtual global::Math.DivReply Div(global::Math.DivArgs request, grpc::CallOptions options) in Div() method in Math.Math.MathClient
284 .AddMethod(__Method_Div, serviceImpl.Div) in BindService()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java30 import org.apache.xpath.operations.Div;
103 (pred instanceof Div) || in visitPredicate()
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/
DExpressionParser.java23 import org.jacoco.examples.expressions.Div;
68 e = new Div(e, factor()); in product()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp252 BinaryOperator *Div = dyn_cast<BinaryOperator>(Op0); in visitMul() local
253 if (!Div || (Div->getOpcode() != Instruction::UDiv && in visitMul()
254 Div->getOpcode() != Instruction::SDiv)) { in visitMul()
256 Div = dyn_cast<BinaryOperator>(Op1); in visitMul()
259 if (Div && Div->hasOneUse() && in visitMul()
260 (Div->getOperand(1) == Y || Div->getOperand(1) == Neg) && in visitMul()
261 (Div->getOpcode() == Instruction::UDiv || in visitMul()
262 Div->getOpcode() == Instruction::SDiv)) { in visitMul()
263 Value *X = Div->getOperand(0), *DivOp1 = Div->getOperand(1); in visitMul()
266 if (Div->isExact()) { in visitMul()
[all …]
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dinception_preprocessing.cc37 auto cropped_begin = ops::Div( in CentralCropImage()
74 preprocessed_image = ops::Div(s, squeezed_image, {params_.scale}); in AddToGraph()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dsvd.cc145 auto mu = Mul(sigma, Sqrt(Square(Div(x_0j, sigma, broadcast_dims)) + one), in HouseRow()
150 -Mul(sigma, Div(sigma, Add(x_0j, mu), broadcast_dims), broadcast_dims)); in HouseRow()
152 auto beta = Div(ScalarLike(v_0j, 2.0), in HouseRow()
153 (Square(Div(sigma, v_0j, broadcast_dims)) + one)); in HouseRow()
212 auto mu = Mul(sigma, Sqrt(Square(Div(x_0i, sigma, broadcast_dims)) + one), in HouseCol()
217 -Mul(sigma, Div(sigma, Add(x_0i, mu), broadcast_dims), broadcast_dims)); in HouseCol()
219 auto beta = Div(ScalarLike(v_0i, 2.0), in HouseCol()
220 (Square(Div(sigma, v_0i, broadcast_dims)) + one)); in HouseCol()
434 XlaOp u = Div(t, d); in GetOneSidedJacobiRotation()
/external/grpc-grpc/src/proto/math/
Dmath.proto43 // Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient
45 rpc Div (DivArgs) returns (DivReply) { rpc
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Div.pbtxt2 graph_op_name: "Div"
/external/v8/tools/
Dbigint-tester.py211 class Div(BinaryOp): class
224 class Mod(Div): # Sharing GenerateInputLengths.
278 "div": Div,

123456789