Home
last modified time | relevance | path

Searched refs:Neg (Results 1 – 25 of 118) sorted by relevance

12345

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h467 void makeLargest(bool Neg = false);
468 void makeSmallest(bool Neg = false);
469 void makeNaN(bool SNaN = false, bool Neg = false,
471 void makeInf(bool Neg = false);
472 void makeZero(bool Neg = false);
645 void makeInf(bool Neg);
646 void makeNaN(bool SNaN, bool Neg, const APInt *fill);
773 void makeZero(bool Neg) { getIEEE().makeZero(Neg); } in makeZero() argument
775 void makeInf(bool Neg) { in makeInf() argument
777 return U.IEEE.makeInf(Neg); in makeInf()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcompilation_cache_test.cc79 builder.Neg(builder.ConstantR0<float>(42.0)); in XLA_TEST_F()
99 builder.Neg(builder.Parameter(0, ShapeUtil::MakeShape(F32, {}), "param")); in XLA_TEST_F()
114 builder_neg.Neg(builder_neg.ConstantR0<float>(42.0)); in XLA_TEST_F()
178 auto neg = builder.Neg(builder.ConstantR0<float>(42.0)); in XLA_TEST_F()
Dreduce_precision_test.cc293 auto neg = builder.Neg(abs); in XLA_TEST_F()
319 auto neg = builder.Neg(abs); in XLA_TEST_F()
343 auto neg = builder.Neg(abs); in XLA_TEST_F()
368 auto neg = builder.Neg(abs); in XLA_TEST_F()
Dvector_ops_simple_test.cc112 builder.Neg(x); in XLA_TEST_F()
122 builder.Neg(x); in XLA_TEST_F()
132 builder.Neg(x); in XLA_TEST_F()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Neg.pbtxt2 graph_op_name: "Neg"
7 name: "Neg"
/external/llvm/include/llvm/ADT/
DAPFloat.h569 void makeLargest(bool Neg = false);
570 void makeSmallest(bool Neg = false);
571 void makeNaN(bool SNaN = false, bool Neg = false,
575 void makeInf(bool Neg = false);
576 void makeZero(bool Neg = false);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dunary_ops.cc96 b->Mul(b->Add(b->Exp(x), b->Exp(b->Neg(x))),
121 XLAJIT_MAKE_UNARY(Neg, b->Neg(x));
160 b->Mul(b->Sub(b->Exp(x), b->Exp(b->Neg(x))),
171 xla::ComputationDataHandle too_large = b->Gt(features, b->Neg(threshold)); in Softplus()
Dbinary_ops.cc77 auto t = b->Neg(b->Sub(b->Add(abs_x, abs_y), one)); in FloorDivImpl()
119 XLA_MAKE_BINARY(ReciprocalGrad, b->Neg(b->Mul(rhs, b->Mul(lhs, lhs))));
155 b->Div(lhs, b->Add(b->Exp(b->Neg(rhs)),
Dcategorical_op.cc77 builder->Sub(logits, builder->Log(builder->Neg(builder->Log(uniforms))), in Compile()
/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc200 Output neg0 = ops::Neg(s.WithOpName("neg0"), c1); in TEST_F()
203 ops::Neg(s.WithControlDependencies(neg0).WithOpName("neg1"), c0); in TEST_F()
204 Output neg2 = ops::Neg(s.WithOpName("neg2"), neg1); in TEST_F()
/external/tensorflow/tensorflow/compiler/jit/
Dgraph_to_functiondef_test.cc52 auto f = ops::Neg(root.WithOpName("h"), e); in TEST()
89 auto b = ops::Neg(root.WithOpName("b").WithControlDependencies(a), a); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp212 static Instruction *LowerNegateToMultiply(Instruction *Neg, in LowerNegateToMultiply() argument
214 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); in LowerNegateToMultiply()
216 Instruction *Res = BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg); in LowerNegateToMultiply()
217 ValueRankMap.erase(Neg); in LowerNegateToMultiply()
218 Res->takeName(Neg); in LowerNegateToMultiply()
219 Neg->replaceAllUsesWith(Res); in LowerNegateToMultiply()
220 Res->setDebugLoc(Neg->getDebugLoc()); in LowerNegateToMultiply()
221 Neg->eraseFromParent(); in LowerNegateToMultiply()
/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc1074 auto Neg = [](int x) -> ChunkID { in TEST_F() local
1078 {ProducerID(1), WriterID(1), ChunkID(Neg(-4))}, in TEST_F()
1079 {ProducerID(1), WriterID(1), ChunkID(Neg(-3))}, in TEST_F()
1080 {ProducerID(1), WriterID(2), ChunkID(Neg(-2))}, in TEST_F()
1081 {ProducerID(3), WriterID(1), ChunkID(Neg(-1))}, in TEST_F()
1088 ASSERT_TRUE(IteratorSeqEq(ProducerID(1), WriterID(1), {Neg(-4), Neg(-3), 3})); in TEST_F()
1089 ASSERT_TRUE(IteratorSeqEq(ProducerID(1), WriterID(2), {Neg(-2), 0, 1})); in TEST_F()
1090 ASSERT_TRUE(IteratorSeqEq(ProducerID(3), WriterID(1), {Neg(-1), 2, 4})); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp248 SDValue Neg = CurDAG->getNode(ISD::SUB, dl, N.getValueType(), Zero, RHS); in MatchAddress() local
249 AM.IndexReg = Neg; in MatchAddress()
257 if (Neg.getNode()->getNodeId() == -1 || in MatchAddress()
258 Neg.getNode()->getNodeId() > N.getNode()->getNodeId()) { in MatchAddress()
259 CurDAG->RepositionNode(N.getNode(), Neg.getNode()); in MatchAddress()
260 Neg.getNode()->setNodeId(N.getNode()->getNodeId()); in MatchAddress()
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad.cc68 grad_outputs->push_back(Neg(scope, grad_inputs[0])); in NegGrad()
296 auto dydx = Neg(scope, Sin(scope, op.input(0))); in CosGrad()
327 auto dydx = Neg(scope, Reciprocal(scope, Sqrt(scope, Sub(scope, one, x2)))); in AcosGrad()
394 auto gx_2 = Neg(scope, grad_inputs[0]); in SubGrad()
423 Div(scope, Div(scope, Neg(scope, x_1), x_2), x_2)); in DivGrad()
438 RealDiv(scope, RealDiv(scope, Neg(scope, x_1), x_2), x_2)); in RealDivGrad()
453 auto gx_2 = Neg(scope, gx_1); in SquaredDifferenceGrad()
586 auto dx = Neg(scope, Mul(scope, grad, z_inv)); in AngleGrad()
748 Exp(grad_scope, Neg(grad_scope, Square(grad_scope, x)))); in ErfGrad()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Neg.pbtxt2 graph_op_name: "Neg"
/external/llvm/lib/Support/
Draw_ostream.cpp440 bool Neg = (FN.DecValue < 0); in operator <<() local
441 uint64_t N = Neg ? -static_cast<uint64_t>(FN.DecValue) : FN.DecValue; in operator <<()
448 if (Neg) in operator <<()
452 if (Neg) in operator <<()
/external/llvm/lib/Option/
DArgList.cpp221 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() argument
222 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
227 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() argument
229 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DNeg.java30 public class Neg extends UnaryOperation class
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer_test.cc158 Output neg = ops::Neg(scope.WithOpName("neg"), s.output_true); in TEST_F()
169 Output neg1 = ops::Neg(scope.WithOpName("neg1"), s.output_false); in TEST_F()
170 Output neg2 = ops::Neg(scope.WithOpName("neg2"), ctrl_dep_id); in TEST_F()
455 Output neg1 = ops::Neg(s.WithOpName("neg1"), x); in TEST_F()
457 ops::Neg(s.WithOpName("neg2").WithControlDependencies({x}), neg1); in TEST_F()
/external/tensorflow/tensorflow/go/
Dgraph_test.go65 if _, err := Neg(g, "neg", input); err != nil {
Dutil_test.go49 func Neg(g *Graph, name string, port Output) (Output, error) { func
/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs85 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp253 static BinaryOperator *LowerNegateToMultiply(Instruction *Neg) { in LowerNegateToMultiply() argument
254 Type *Ty = Neg->getType(); in LowerNegateToMultiply()
258 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
259 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
260 Res->takeName(Neg); in LowerNegateToMultiply()
261 Neg->replaceAllUsesWith(Res); in LowerNegateToMultiply()
262 Res->setDebugLoc(Neg->getDebugLoc()); in LowerNegateToMultiply()
/external/gemmlowp/fixedpoint/
Dfixedpoint_neon.h98 inline int32x4_t Neg(int32x4_t a) {
103 inline int16x8_t Neg(int16x8_t a) {

12345