Home
last modified time | relevance | path

Searched refs:UnaryOp (Results 1 – 25 of 31) sorted by relevance

12

/external/eigen/Eigen/src/Core/
DCwiseUnaryOp.h17 template<typename UnaryOp, typename XprType>
18 struct traits<CwiseUnaryOp<UnaryOp, XprType> >
22 UnaryOp(const typename XprType::Scalar&)
32 template<typename UnaryOp, typename XprType, typename StorageKind>
54 template<typename UnaryOp, typename XprType>
55 class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::…
59 …typedef typename CwiseUnaryOpImpl<UnaryOp, XprType,typename internal::traits<XprType>::StorageKind…
65 explicit CwiseUnaryOp(const XprType& xpr, const UnaryOp& func = UnaryOp())
75 const UnaryOp& functor() const { return m_functor; }
89 const UnaryOp m_functor;
[all …]
DCoreEvaluators.h515 template<typename UnaryOp, typename ArgType>
516 struct unary_evaluator<CwiseUnaryOp<UnaryOp, ArgType>, IndexBased >
517 : evaluator_base<CwiseUnaryOp<UnaryOp, ArgType> >
519 typedef CwiseUnaryOp<UnaryOp, ArgType> XprType;
522 CoeffReadCost = evaluator<ArgType>::CoeffReadCost + functor_traits<UnaryOp>::Cost,
525 …& (HereditaryBits | LinearAccessBit | (functor_traits<UnaryOp>::PacketAccess ? PacketAccessBit : 0…
534 EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits<UnaryOp>::Cost);
567 const UnaryOp m_functor;
746 template<typename UnaryOp, typename ArgType>
747 struct unary_evaluator<CwiseUnaryView<UnaryOp, ArgType>, IndexBased>
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseUnaryOp.h17 template<typename UnaryOp, typename ArgType>
18 struct unary_evaluator<CwiseUnaryOp<UnaryOp,ArgType>, IteratorBased>
19 : public evaluator_base<CwiseUnaryOp<UnaryOp,ArgType> >
22 typedef CwiseUnaryOp<UnaryOp, ArgType> XprType;
27 CoeffReadCost = evaluator<ArgType>::CoeffReadCost + functor_traits<UnaryOp>::Cost,
33 EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits<UnaryOp>::Cost);
44 const UnaryOp m_functor;
48 template<typename UnaryOp, typename ArgType>
49 class unary_evaluator<CwiseUnaryOp<UnaryOp,ArgType>, IteratorBased>::InnerIterator
50 : public unary_evaluator<CwiseUnaryOp<UnaryOp,ArgType>, IteratorBased>::EvalIterator
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExpr.h80 template<typename UnaryOp, typename XprType>
81 struct traits<TensorCwiseUnaryOp<UnaryOp, XprType> >
86 typedef typename result_of<UnaryOp(typename XprType::Scalar)>::type Scalar;
94 template<typename UnaryOp, typename XprType>
95 struct eval<TensorCwiseUnaryOp<UnaryOp, XprType>, Eigen::Dense>
97 typedef const TensorCwiseUnaryOp<UnaryOp, XprType>& type;
100 template<typename UnaryOp, typename XprType>
101 struct nested<TensorCwiseUnaryOp<UnaryOp, XprType>, 1, typename eval<TensorCwiseUnaryOp<UnaryOp, Xp…
103 typedef TensorCwiseUnaryOp<UnaryOp, XprType> type;
110 template<typename UnaryOp, typename XprType>
[all …]
DTensorEvaluator.h292 template<typename UnaryOp, typename ArgType, typename Device>
293 struct TensorEvaluator<const TensorCwiseUnaryOp<UnaryOp, ArgType>, Device>
295 typedef TensorCwiseUnaryOp<UnaryOp, ArgType> XprType;
299 …= TensorEvaluator<ArgType, Device>::PacketAccess & internal::functor_traits<UnaryOp>::PacketAccess,
339 const double functor_cost = internal::functor_traits<UnaryOp>::Cost;
349 UnaryOp functor() const { return m_functor; }
353 const UnaryOp m_functor;
DTensorForwardDeclarations.h32 template<typename UnaryOp, typename XprType> class TensorCwiseUnaryOp;
/external/clang/lib/AST/
DStmtProfile.cpp999 UnaryOperatorKind &UnaryOp, in DecodeOperatorCall() argument
1016 UnaryOp = UO_Plus; in DecodeOperatorCall()
1025 UnaryOp = UO_Minus; in DecodeOperatorCall()
1034 UnaryOp = UO_Deref; in DecodeOperatorCall()
1055 UnaryOp = UO_AddrOf; in DecodeOperatorCall()
1067 UnaryOp = UO_Not; in DecodeOperatorCall()
1071 UnaryOp = UO_LNot; in DecodeOperatorCall()
1159 UnaryOp = S->getNumArgs() == 1? UO_PreInc in DecodeOperatorCall()
1164 UnaryOp = S->getNumArgs() == 1? UO_PreDec in DecodeOperatorCall()
1187 UnaryOperatorKind UnaryOp = UO_Extension; in VisitCXXOperatorCallExpr() local
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DUnaryOp.java25 public enum UnaryOp { enum
DCode.java505 public <T> void op(UnaryOp op, Local<T> target, Local<T> source) { in op()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyOps.def40 TIL_OPCODE_DEF(UnaryOp)
DThreadSafetyTIL.h1169 class UnaryOp : public SExpr {
1173 UnaryOp(TIL_UnaryOpcode Op, SExpr *E) : SExpr(COP_UnaryOp), Expr0(E) { in UnaryOp() function
1176 UnaryOp(const UnaryOp &U, SExpr *E) : SExpr(U), Expr0(E) { Flags = U.Flags; } in UnaryOp() function
1192 typename C::CType compare(const UnaryOp* E, C& Cmp) const { in compare()
DThreadSafetyTraverse.h220 R_SExpr reduceUnaryOp(UnaryOp &Orig, R_SExpr E0) { return E0; } in reduceUnaryOp()
758 void printUnaryOp(const UnaryOp *E, StreamType &SS) { in printUnaryOp()
/external/python/cpython2/Doc/library/
Dast.rst82 For example, to create and populate an :class:`ast.UnaryOp` node, you could
85 node = ast.UnaryOp()
96 node = ast.UnaryOp(ast.USub(), ast.Num(5, lineno=0, col_offset=0),
/external/llvm/include/llvm/TableGen/
DRecord.h753 enum UnaryOp : uint8_t { CAST, HEAD, TAIL, EMPTY }; enum
758 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit()
768 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
785 UnaryOp getOpcode() const { return (UnaryOp)Opc; } in getOpcode()
/external/python/cpython2/Parser/
DPython.asdl55 | UnaryOp(unaryop op, expr operand)
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h911 enum UnaryOp { CAST, HEAD, TAIL, EMPTY }; enum
913 UnaryOp Opc;
916 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit()
923 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
938 UnaryOp getOpcode() const { return Opc; } in getOpcode()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp436 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
439 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
442 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
/external/python/cpython2/Include/
DPython-ast.h210 } UnaryOp; member
455 #define UnaryOp(a0, a1, a2, a3, a4) _Py_UnaryOp(a0, a1, a2, a3, a4) macro
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h91 template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp;
/external/python/cpython2/Python/
Dast.c1768 return UnaryOp(UAdd, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
1771 return UnaryOp(USub, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
1774 return UnaryOp(Invert, expression, LINENO(n), in ast_for_factor()
1892 return UnaryOp(Not, expression, LINENO(n), n->n_col_offset, in ast_for_expr()
DPython-ast.c1532 UnaryOp(unaryop_ty op, expr_ty operand, int lineno, int col_offset, PyArena in UnaryOp() function
1550 p->v.UnaryOp.op = op; in UnaryOp()
1551 p->v.UnaryOp.operand = operand; in UnaryOp()
2612 value = ast2obj_unaryop(o->v.UnaryOp.op); in ast2obj_expr()
2617 value = ast2obj_expr(o->v.UnaryOp.operand); in ast2obj_expr()
4965 *out = UnaryOp(op, operand, lineno, col_offset, arena); in obj2ast_expr()
Dsymtable.c1195 VISIT(st, expr, e->v.UnaryOp.operand); in symtable_visit_expr()
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsopt.c119 cmsBool _Remove1Op(cmsPipeline* Lut, cmsStageSignature UnaryOp) in _Remove1Op() argument
126 if ((*pt) ->Implements == UnaryOp) { in _Remove1Op()
/external/python/cpython2/PC/os2emx/
Dpython27.def712 "UnaryOp"
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java727 code.op(UnaryOp.NOT, localSource, localSource); in notMethod()
769 code.op(UnaryOp.NEGATE, localSource, localSource); in negateMethod()

12