Home
last modified time | relevance | path

Searched refs:BinaryOp (Results 1 – 25 of 35) sorted by relevance

12

/external/eigen/Eigen/src/Core/
DCwiseBinaryOp.h17 template<typename BinaryOp, typename Lhs, typename Rhs>
18 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
34 BinaryOp(
41 BinaryOp>::ret StorageKind;
54 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
76 template<typename BinaryOp, typename LhsType, typename RhsType>
79 BinaryOp, LhsType, RhsType,
82 BinaryOp>::ret>,
87 typedef typename internal::remove_all<BinaryOp>::type Functor;
92 BinaryOp, LhsType, RhsType,
[all …]
DVectorwiseOp.h124 template <typename BinaryOp, typename Scalar>
127 BinaryOp(const Scalar&,const Scalar&)
130 { enum { value = (Size-1) * functor_traits<BinaryOp>::Cost }; };
131 EIGEN_DEVICE_FUNC explicit member_redux(const BinaryOp func) : m_functor(func) {}
135 const BinaryOp m_functor;
175 template<typename BinaryOp> struct ReduxReturnType
178 internal::member_redux<BinaryOp,Scalar>,
268 template<typename BinaryOp>
270 const typename ReduxReturnType<BinaryOp>::Type
271 redux(const BinaryOp& func = BinaryOp()) const
[all …]
DCoreEvaluators.h664 template<typename BinaryOp, typename Lhs, typename Rhs>
665 struct evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
666 : public binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
668 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
669 typedef binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > Base;
674 template<typename BinaryOp, typename Lhs, typename Rhs>
675 struct binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs>, IndexBased, IndexBased>
676 : evaluator_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
678 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
681 …t = evaluator<Lhs>::CoeffReadCost + evaluator<Rhs>::CoeffReadCost + functor_traits<BinaryOp>::Cost,
[all …]
DDenseBase.h458 template<typename BinaryOp>
460 Scalar redux(const BinaryOp& func) const;
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h35 template<typename BinaryOp, typename Lhs, typename Rhs>
36 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse>
37 : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
40 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
59 template<typename BinaryOp, typename Lhs, typename Rhs>
60 struct binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs>, IteratorBased, IteratorBased>
61 : evaluator_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
66 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
122 const BinaryOp& m_functor;
129 …t = evaluator<Lhs>::CoeffReadCost + evaluator<Rhs>::CoeffReadCost + functor_traits<BinaryOp>::Cost,
[all …]
/external/eigen/Eigen/src/Core/functors/
DBinaryFunctors.h440 template<typename BinaryOp> struct bind1st_op : BinaryOp {
442 typedef typename BinaryOp::first_argument_type first_argument_type;
443 typedef typename BinaryOp::second_argument_type second_argument_type;
444 typedef typename BinaryOp::result_type result_type;
448 …t result_type operator() (const second_argument_type& b) const { return BinaryOp::operator()(m_val…
452 { return BinaryOp::packetOp(internal::pset1<Packet>(m_value), b); }
456 template<typename BinaryOp> struct functor_traits<bind1st_op<BinaryOp> > : functor_traits<BinaryOp>…
459 template<typename BinaryOp> struct bind2nd_op : BinaryOp {
461 typedef typename BinaryOp::first_argument_type first_argument_type;
462 typedef typename BinaryOp::second_argument_type second_argument_type;
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExpr.h141 template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
142 struct traits<TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType> >
149 BinaryOp(typename LhsXprType::Scalar,
170 template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
171 struct eval<TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType>, Eigen::Dense>
173 typedef const TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType>& type;
176 template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
177 struct nested<TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType>, 1, typename eval<TensorCwiseBi…
179 typedef TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType> type;
186 template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
[all …]
DTensorEvaluator.h360 template<typename BinaryOp, typename LeftArgType, typename RightArgType, typename Device>
361 struct TensorEvaluator<const TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArgType>, Device>
363 typedef TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArgType> XprType;
368 internal::functor_traits<BinaryOp>::PacketAccess,
418 const double functor_cost = internal::functor_traits<BinaryOp>::Cost;
430 BinaryOp functor() const { return m_functor; }
433 const BinaryOp m_functor;
DTensorForwardDeclarations.h33 template<typename BinaryOp, typename LeftXprType, typename RightXprType> class TensorCwiseBinaryOp;
/external/clang/lib/AST/
DStmtProfile.cpp1000 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() argument
1020 BinaryOp = BO_Add; in DecodeOperatorCall()
1029 BinaryOp = BO_Sub; in DecodeOperatorCall()
1038 BinaryOp = BO_Mul; in DecodeOperatorCall()
1042 BinaryOp = BO_Div; in DecodeOperatorCall()
1046 BinaryOp = BO_Rem; in DecodeOperatorCall()
1050 BinaryOp = BO_Xor; in DecodeOperatorCall()
1059 BinaryOp = BO_And; in DecodeOperatorCall()
1063 BinaryOp = BO_Or; in DecodeOperatorCall()
1075 BinaryOp = BO_Assign; in DecodeOperatorCall()
[all …]
/external/deqp/framework/randomshaders/
DrsgBinaryOps.hpp41 class BinaryOp : public Expression class
44 BinaryOp (Token::Type operatorToken);
45 virtual ~BinaryOp (void);
69 class BinaryVecOp : public BinaryOp<Precedence, ASSOCIATIVITY_LEFT>
148 class RelationalOp : public BinaryOp<7, ASSOCIATIVITY_LEFT>
264 class EqualityComparisonOp : public BinaryOp<8, ASSOCIATIVITY_LEFT>
DrsgBinaryOps.cpp35 BinaryOp<Precedence, Assoc>::BinaryOp (Token::Type operatorToken) in BinaryOp() function in rsg::BinaryOp
45 BinaryOp<Precedence, Assoc>::~BinaryOp (void) in ~BinaryOp()
52 Expression* BinaryOp<Precedence, Assoc>::createNextChild (GeneratorState& state) in createNextChild()
76 float BinaryOp<Precedence, Assoc>::getWeight (const GeneratorState& state, ConstValueRangeAccess va… in getWeight()
93 void BinaryOp<Precedence, Assoc>::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
101 void BinaryOp<Precedence, Assoc>::evaluate (ExecutionContext& execCtx) in evaluate()
115 : BinaryOp<Precedence, ASSOCIATIVITY_LEFT>(operatorToken) in BinaryVecOp()
398 : BinaryOp<7, ASSOCIATIVITY_LEFT>(operatorToken) in RelationalOp()
472 return BinaryOp<7, ASSOCIATIVITY_LEFT>::getWeight(state, valueRange); in getWeight()
693 : BinaryOp<8, ASSOCIATIVITY_LEFT>(IsEqual ? Token::CMP_EQ : Token::CMP_NE) in EqualityComparisonOp()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DFibonacciMaker.java26 import com.android.dx.BinaryOp;
56 code.op(BinaryOp.SUBTRACT, a, i, constant1); in main()
57 code.op(BinaryOp.SUBTRACT, b, i, constant2); in main()
60 code.op(BinaryOp.ADD, result, c, d); in main()
DHelloWorldMaker.java23 import com.android.dx.BinaryOp;
87 code.op(BinaryOp.SUBTRACT, c, a, b); in generateHelloMethod()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java776 Method add = binaryOpMethod(int.class, int.class, BinaryOp.ADD); in testIntBinaryOps()
779 Method subtract = binaryOpMethod(int.class, int.class, BinaryOp.SUBTRACT); in testIntBinaryOps()
782 Method multiply = binaryOpMethod(int.class, int.class, BinaryOp.MULTIPLY); in testIntBinaryOps()
785 Method divide = binaryOpMethod(int.class, int.class, BinaryOp.DIVIDE); in testIntBinaryOps()
794 Method remainder = binaryOpMethod(int.class, int.class, BinaryOp.REMAINDER); in testIntBinaryOps()
803 Method and = binaryOpMethod(int.class, int.class, BinaryOp.AND); in testIntBinaryOps()
806 Method or = binaryOpMethod(int.class, int.class, BinaryOp.OR); in testIntBinaryOps()
809 Method xor = binaryOpMethod(int.class, int.class, BinaryOp.XOR); in testIntBinaryOps()
812 Method shiftLeft = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_LEFT); in testIntBinaryOps()
815 Method shiftRight = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_RIGHT); in testIntBinaryOps()
[all …]
/external/eigen/Eigen/src/Core/util/
DXprHelper.h765 template<typename ScalarA, typename ScalarB, typename BinaryOp=internal::scalar_product_op<ScalarA,…
773 template<typename T, typename BinaryOp>
774 struct ScalarBinaryOpTraits<T,T,BinaryOp>
779 template <typename T, typename BinaryOp>
780 … typename NumTraits<typename internal::enable_if<NumTraits<T>::IsComplex,T>::type>::Real, BinaryOp>
784 template <typename T, typename BinaryOp>
785 …pename NumTraits<typename internal::enable_if<NumTraits<T>::IsComplex,T>::type>::Real, T, BinaryOp>
791 template<typename T, typename BinaryOp>
792 struct ScalarBinaryOpTraits<T,void,BinaryOp>
798 template<typename T, typename BinaryOp>
[all …]
DForwardDeclarations.h93 template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
244 template<typename MatrixType, typename BinaryOp, int Direction> class PartialReduxExpr;
/external/v8/src/builtins/
Dbuiltins.h591 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp, 1) \
592 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp, 1) \
593 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp, 1) \
594 TFS(Divide, BUILTIN, kNoExtraICState, BinaryOp, 1) \
595 TFS(Modulus, BUILTIN, kNoExtraICState, BinaryOp, 1) \
596 TFS(BitwiseAnd, BUILTIN, kNoExtraICState, BinaryOp, 1) \
597 TFS(BitwiseOr, BUILTIN, kNoExtraICState, BinaryOp, 1) \
598 TFS(BitwiseXor, BUILTIN, kNoExtraICState, BinaryOp, 1) \
599 TFS(ShiftLeft, BUILTIN, kNoExtraICState, BinaryOp, 1) \
600 TFS(ShiftRight, BUILTIN, kNoExtraICState, BinaryOp, 1) \
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyOps.def41 TIL_OPCODE_DEF(BinaryOp)
DThreadSafetyTIL.h1207 class BinaryOp : public SExpr {
1211 BinaryOp(TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) in BinaryOp() function
1215 BinaryOp(const BinaryOp &B, SExpr *E0, SExpr *E1) in BinaryOp() function
1238 typename C::CType compare(const BinaryOp* E, C& Cmp) const { in compare()
DThreadSafetyTraverse.h221 R_SExpr reduceBinaryOp(BinaryOp &Orig, R_SExpr E0, R_SExpr E1) { in reduceBinaryOp()
763 void printBinaryOp(const BinaryOp *E, StreamType &SS) { in printBinaryOp()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DBinaryOp.java39 public enum BinaryOp { enum
/external/llvm/include/llvm/TableGen/
DRecord.h801 enum BinaryOp : uint8_t { ADD, AND, SHL, SRA, SRL, LISTCONCAT, enum
807 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
817 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
838 BinaryOp getOpcode() const { return (BinaryOp)Opc; } in getOpcode()
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h954 enum BinaryOp { SHL, SRA, SRL, STRCONCAT, CONCAT, EQ }; enum
956 BinaryOp Opc;
959 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
966 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
986 BinaryOp getOpcode() const { return Opc; } in getOpcode()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp460 return new (Arena) til::BinaryOp(Op, E1, E0); in translateBinOp()
462 return new (Arena) til::BinaryOp(Op, E0, E1); in translateBinOp()
483 E1 = new (Arena) til::BinaryOp(Op, Arg, E1); in translateBinAssign()

12