Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h440 void makeLargest(bool Neg = false);
441 void makeSmallest(bool Neg = false);
442 void makeNaN(bool SNaN = false, bool Neg = false,
444 void makeInf(bool Neg = false);
445 void makeZero(bool Neg = false);
626 void makeInf(bool Neg);
627 void makeZero(bool Neg);
628 void makeLargest(bool Neg);
629 void makeSmallest(bool Neg);
630 void makeSmallestNormalized(bool Neg);
[all …]
/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/core/api_def/java_api/
Dapi_def_Neg.pbtxt2 graph_op_name: "Neg"
4 name: "math.Neg"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Neg.pbtxt2 graph_op_name: "Neg"
7 name: "Neg"
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_precision_test.cc291 Neg(abs); in XLA_TEST_F()
317 Neg(abs); in XLA_TEST_F()
341 Neg(abs); in XLA_TEST_F()
366 Neg(abs); in XLA_TEST_F()
Dcompilation_cache_test.cc78 Neg(ConstantR0<float>(&builder, 42.0)); in XLA_TEST_F()
100 Neg(Parameter(&builder, 0, ShapeUtil::MakeShape(F32, {}), "param")); in XLA_TEST_F()
116 Neg(ConstantR0<float>(&builder_neg, 42.0)); in XLA_TEST_F()
Dvector_ops_simple_test.cc112 Neg(x); in XLA_TEST_F()
122 Neg(x); in XLA_TEST_F()
132 Neg(x); in XLA_TEST_F()
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSubtargetFeatureInfo.cpp140 bool Neg = false; in emitComputeAssemblerAvailableFeatures() local
143 Neg = true; in emitComputeAssemblerAvailableFeatures()
148 if (Neg) in emitComputeAssemblerAvailableFeatures()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dsorting.cc37 Sort({Neg(input), iota_s32}, in TopK()
46 XlaOp values = Neg(Slice(GetTupleElement(sort_result, 0), start_indices, in TopK()
/external/tensorflow/tensorflow/core/kernels/
Dunary_ops_composition.cc237 REGISTER_COMPUTE_FN(Neg); in UnaryOpsCompositionSupport()
276 REGISTER_COMPUTE_FN_HELPER(Neg, functor::neg<T>);
306 REGISTER_COMPUTE_FN(Neg); in UnaryOpsCompositionSupport()
334 REGISTER_COMPUTE_FN_HELPER(Neg, functor::neg<T>);
367 REGISTER_COMPUTE_FN(Neg); in UnaryOpsCompositionSupport()
405 REGISTER_COMPUTE_FN_HELPER(Neg, functor::neg<T>);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Option/
DArgList.cpp74 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() argument
75 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
80 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() argument
82 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Demangle/
DPartialDemangleTest.cpp122 static const char *Neg[] = { in TEST() local
132 for (const char *N : Neg) { 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/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef_test.cc61 auto f = ops::Neg(root.WithOpName("h"), e); in TEST()
99 auto b = ops::Neg(root.WithOpName("b").WithControlDependencies(a), a); in TEST()
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad.cc69 grad_outputs->push_back(Neg(scope, grad_inputs[0])); in NegGrad()
297 auto dydx = Neg(scope, Sin(scope, op.input(0))); in CosGrad()
328 auto dydx = Neg(scope, Reciprocal(scope, Sqrt(scope, Sub(scope, one, x2)))); in AcosGrad()
395 auto gx_2 = Neg(scope, grad_inputs[0]); in SubGrad()
424 Div(scope, Div(scope, Neg(scope, x_1), x_2), x_2)); in DivGrad()
439 RealDiv(scope, RealDiv(scope, Neg(scope, x_1), x_2), x_2)); in RealDivGrad()
454 DivNoNan(scope, DivNoNan(scope, Neg(scope, x_1), x_2), x_2)); in DivNoNanGrad()
469 auto gx_2 = Neg(scope, gx_1); in SquaredDifferenceGrad()
602 auto dx = Neg(scope, Mul(scope, grad, z_inv)); in AngleGrad()
764 Exp(grad_scope, Neg(grad_scope, Square(grad_scope, x)))); in ErfGrad()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp294 bool Neg = false; member
297 ExtExpr(Register RS, bool NG, unsigned SH) : Rs(RS), S(SH), Neg(NG) {} in ExtExpr()
303 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==()
313 return !Neg && Ex.Neg; in operator <()
467 OS << "## " << (P.Ex.Neg ? "- " : "+ "); in operator <<()
1213 ED.Expr.Neg = true; in recordExtender()
1217 ED.Expr.Neg = true; in recordExtender()
1537 assert(!Ex.Neg && "Cannot subtract a stack slot"); in insertInitializer()
1549 if (Ex.Neg) { in insertInitializer()
1561 unsigned NewOpc = Ex.Neg ? Hexagon::S4_subi_asl_ri in insertInitializer()
[all …]
/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/compiler/tf2xla/kernels/
Dbinary_ops.cc125 auto t = xla::Neg(xla::Sub(xla::Add(abs_x, abs_y), one)); in FloorDivImpl()
179 XLA_MAKE_BINARY(ReciprocalGrad, xla::Neg(xla::Mul(rhs, xla::Mul(lhs, lhs))));
210 xla::Div(lhs, xla::Add(xla::Exp(xla::Neg(rhs)),
/external/tensorflow/tensorflow/go/
Doperation_test.go196 a, err := Neg(g, "a", x)
200 b, err := Neg(g, "b", x)
/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc1316 auto Neg = [](int x) -> ChunkID { in TEST_F() local
1320 {ProducerID(1), WriterID(1), ChunkID(Neg(-2))}, in TEST_F()
1321 {ProducerID(1), WriterID(1), ChunkID(Neg(-1))}, in TEST_F()
1322 {ProducerID(1), WriterID(2), ChunkID(Neg(-1))}, in TEST_F()
1323 {ProducerID(3), WriterID(1), ChunkID(Neg(-1))}, in TEST_F()
1330 ASSERT_TRUE(IteratorSeqEq(ProducerID(1), WriterID(1), {Neg(-2), Neg(-1), 0})); in TEST_F()
1331 ASSERT_TRUE(IteratorSeqEq(ProducerID(1), WriterID(2), {Neg(-1), 0, 1})); in TEST_F()
1332 ASSERT_TRUE(IteratorSeqEq(ProducerID(3), WriterID(1), {Neg(-1), 0, 1})); in TEST_F()

1234567