Home
last modified time | relevance | path

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

12

/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.h414 template<typename BinaryOp>
415 typename internal::result_of<BinaryOp(typename internal::traits<Derived>::Scalar)>::type
416 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.cpp647 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() argument
666 BinaryOp = BO_Add; in DecodeOperatorCall()
675 BinaryOp = BO_Sub; in DecodeOperatorCall()
684 BinaryOp = BO_Mul; in DecodeOperatorCall()
688 BinaryOp = BO_Div; in DecodeOperatorCall()
692 BinaryOp = BO_Rem; in DecodeOperatorCall()
696 BinaryOp = BO_Xor; in DecodeOperatorCall()
705 BinaryOp = BO_And; in DecodeOperatorCall()
709 BinaryOp = BO_Or; in DecodeOperatorCall()
721 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.java733 Method add = binaryOpMethod(int.class, int.class, BinaryOp.ADD); in testIntBinaryOps()
736 Method subtract = binaryOpMethod(int.class, int.class, BinaryOp.SUBTRACT); in testIntBinaryOps()
739 Method multiply = binaryOpMethod(int.class, int.class, BinaryOp.MULTIPLY); in testIntBinaryOps()
742 Method divide = binaryOpMethod(int.class, int.class, BinaryOp.DIVIDE); in testIntBinaryOps()
751 Method remainder = binaryOpMethod(int.class, int.class, BinaryOp.REMAINDER); in testIntBinaryOps()
760 Method and = binaryOpMethod(int.class, int.class, BinaryOp.AND); in testIntBinaryOps()
763 Method or = binaryOpMethod(int.class, int.class, BinaryOp.OR); in testIntBinaryOps()
766 Method xor = binaryOpMethod(int.class, int.class, BinaryOp.XOR); in testIntBinaryOps()
769 Method shiftLeft = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_LEFT); in testIntBinaryOps()
772 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)
DThreadSafetyTraverse.h226 R_SExpr reduceBinaryOp(BinaryOp &Orig, R_SExpr E0, R_SExpr E1) { in reduceBinaryOp()
227 return new (Arena) BinaryOp(Orig, E0, E1); in reduceBinaryOp()
361 R_SExpr reduceBinaryOp(BinaryOp &Orig, R_SExpr E0, R_SExpr E1) { in reduceBinaryOp()
827 void printBinaryOp(BinaryOp *E, StreamType &SS) { in printBinaryOp()
DThreadSafetyTIL.h1268 class BinaryOp : public SExpr {
1272 BinaryOp(TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) in BinaryOp() function
1276 BinaryOp(const BinaryOp &B, SExpr *E0, SExpr *E1) in BinaryOp() function
1298 template <class C> typename C::CType compare(BinaryOp* E, C& Cmp) { in compare()
/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/chromium_org/third_party/sqlite/src/test/
Dfuzz_common.tcl57 proc BinaryOp {} { procedure
74 {[Expr $c] [BinaryOp] [Expr $c]} \
/external/chromium_org/tools/gn/
Dparser.h114 FRIEND_TEST_ALL_PREFIXES(Parser, BinaryOp);
Dparser_unittest.cc99 TEST(Parser, BinaryOp) { in TEST() argument
/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/clang/lib/Analysis/
DThreadSafetyCommon.cpp273 return new (Arena) til::BinaryOp(Op, E1, E0); in translateBinOp()
275 return new (Arena) til::BinaryOp(Op, E0, E1); in translateBinOp()
297 E1 = new (Arena) til::BinaryOp(Op, Arg, E1); in translateBinAssign()
/external/chromium_org/v8/src/
Dinterface-descriptors.h41 V(BinaryOp) \
Dcode-stubs.h1134 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp);
1307 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp);
/external/llvm/include/llvm/TableGen/
DRecord.h931 enum BinaryOp { ADD, SHL, SRA, SRL, LISTCONCAT, STRCONCAT, CONCAT, EQ }; enum
934 BinaryOp Opc;
937 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
947 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
967 BinaryOp getOpcode() const { return Opc; } in getOpcode()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3800 template<class T, class BinaryOp>
3802 void BinaryOpOriginTest(BinaryOp op) { in BinaryOpOriginTest()
3840 TEST(MemorySanitizerOrigins, BinaryOp) { in TEST() argument

12