Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DCwiseBinaryOp.h37 template<typename BinaryOp, typename Lhs, typename Rhs>
38 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
54 BinaryOp(
79 … | (functor_traits<BinaryOp>::PacketAccess && StorageOrdersAgree && SameType ? PacketAccessBit : 0)
84 CoeffReadCost = LhsCoeffReadCost + RhsCoeffReadCost + functor_traits<BinaryOp>::Cost
102 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
105 template<typename BinaryOp, typename Lhs, typename Rhs>
108 BinaryOp, Lhs, Rhs,
115 BinaryOp, Lhs, Rhs,
125 …EN_STRONG_INLINE CwiseBinaryOp(const Lhs& aLhs, const Rhs& aRhs, const BinaryOp& func = BinaryOp())
[all …]
DSelfCwiseBinaryOp.h31 template<typename BinaryOp, typename Lhs, typename Rhs>
32 struct traits<SelfCwiseBinaryOp<BinaryOp,Lhs,Rhs> >
33 : traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >
38 …Flags = traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&DirectAccessBit) | (Lhs::Fla…
45 template<typename BinaryOp, typename Lhs, typename Rhs> class SelfCwiseBinaryOp
46 : public internal::dense_xpr_base< SelfCwiseBinaryOp<BinaryOp, Lhs, Rhs> >::type
55 …inline SelfCwiseBinaryOp(Lhs& xpr, const BinaryOp& func = BinaryOp()) : m_matrix(xpr), m_functor(f…
131 EIGEN_CHECK_BINARY_COMPATIBILIY(BinaryOp,typename Lhs::Scalar,typename RhsDerived::Scalar);
158 const BinaryOp& functor() const
165 const BinaryOp& m_functor;
DVectorwiseOp.h134 template <typename BinaryOp, typename Scalar>
137 BinaryOp(Scalar)
140 { enum { value = (Size-1) * functor_traits<BinaryOp>::Cost }; };
141 member_redux(const BinaryOp func) : m_functor(func) {}
145 const BinaryOp m_functor;
186 template<typename BinaryOp> struct ReduxReturnType
189 … internal::member_redux<BinaryOp,typename internal::traits<ExpressionType>::Scalar>,
274 template<typename BinaryOp>
275 const typename ReduxReturnType<BinaryOp>::Type
276 redux(const BinaryOp& func = BinaryOp()) const
[all …]
DDenseBase.h416 template<typename BinaryOp>
417 typename internal::result_of<BinaryOp(typename internal::traits<Derived>::Scalar)>::type
418 redux(const BinaryOp& func) const;
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h40 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived,
47 template<typename BinaryOp, typename Lhs, typename Rhs>
48 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse>
49 : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
54 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
67 template<typename BinaryOp, typename Lhs, typename Rhs>
68 class CwiseBinaryOpImpl<BinaryOp,Lhs,Rhs,Sparse>::InnerIterator
69 …l::sparse_cwise_binary_op_inner_iterator_selector<BinaryOp,Lhs,Rhs,typename CwiseBinaryOpImpl<Bina…
74 BinaryOp,Lhs,Rhs, InnerIterator> Base;
94 template<typename BinaryOp, typename Lhs, typename Rhs, typename Derived>
[all …]
/external/clang/lib/AST/
DStmtProfile.cpp886 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() argument
906 BinaryOp = BO_Add; in DecodeOperatorCall()
915 BinaryOp = BO_Sub; in DecodeOperatorCall()
924 BinaryOp = BO_Mul; in DecodeOperatorCall()
928 BinaryOp = BO_Div; in DecodeOperatorCall()
932 BinaryOp = BO_Rem; in DecodeOperatorCall()
936 BinaryOp = BO_Xor; in DecodeOperatorCall()
945 BinaryOp = BO_And; in DecodeOperatorCall()
949 BinaryOp = BO_Or; in DecodeOperatorCall()
961 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/src/test/java/com/google/dexmaker/examples/
DFibonacciMaker.java19 import com.google.dexmaker.BinaryOp;
55 code.op(BinaryOp.SUBTRACT, a, i, constant1); in main()
56 code.op(BinaryOp.SUBTRACT, b, i, constant2); in main()
59 code.op(BinaryOp.ADD, result, c, d); in main()
DHelloWorldMaker.java19 import com.google.dexmaker.BinaryOp;
86 code.op(BinaryOp.SUBTRACT, c, a, b); in generateHelloMethod()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java743 Method add = binaryOpMethod(int.class, int.class, BinaryOp.ADD); in testIntBinaryOps()
746 Method subtract = binaryOpMethod(int.class, int.class, BinaryOp.SUBTRACT); in testIntBinaryOps()
749 Method multiply = binaryOpMethod(int.class, int.class, BinaryOp.MULTIPLY); in testIntBinaryOps()
752 Method divide = binaryOpMethod(int.class, int.class, BinaryOp.DIVIDE); in testIntBinaryOps()
761 Method remainder = binaryOpMethod(int.class, int.class, BinaryOp.REMAINDER); in testIntBinaryOps()
770 Method and = binaryOpMethod(int.class, int.class, BinaryOp.AND); in testIntBinaryOps()
773 Method or = binaryOpMethod(int.class, int.class, BinaryOp.OR); in testIntBinaryOps()
776 Method xor = binaryOpMethod(int.class, int.class, BinaryOp.XOR); in testIntBinaryOps()
779 Method shiftLeft = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_LEFT); in testIntBinaryOps()
782 Method shiftRight = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_RIGHT); in testIntBinaryOps()
[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/src/main/java/com/google/dexmaker/
DBinaryOp.java39 public enum BinaryOp { enum
DCode.java514 public <T1, T2> void op(BinaryOp op, Local<T1> target, Local<T1> a, Local<T2> b) { in op()
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h89 template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
211 template<typename MatrixType, typename BinaryOp, int Direction> class PartialReduxExpr;
/external/llvm/include/llvm/TableGen/
DRecord.h727 enum BinaryOp { ADD, AND, SHL, SRA, SRL, LISTCONCAT, STRCONCAT, CONCAT, EQ }; enum
730 BinaryOp Opc;
733 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
743 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
762 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()
/external/v8/src/
Dinterface-descriptors.h58 V(BinaryOp) \
Dcode-stubs.h1483 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp);
1646 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp);
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3959 template<class T, class BinaryOp>
3961 void BinaryOpOriginTest(BinaryOp op) { in BinaryOpOriginTest()
4000 TEST(MemorySanitizerOrigins, BinaryOp) { in TEST() argument
/external/llvm/lib/TableGen/
DTGParser.cpp889 BinOpInit::BinaryOp Code; in ParseOperation()
DRecord.cpp734 BinOpInit *BinOpInit::get(BinaryOp opc, Init *lhs, in get()