Home
last modified time | relevance | path

Searched refs:BinOp (Results 1 – 25 of 85) sorted by relevance

1234

/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dtransform_detail.hpp83 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
84 …e__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted… in unroll()
101 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
102 …e__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted… in unroll()
123 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
124 …id unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted… in unroll()
149 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
150 …id unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted… in unroll()
185 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
186 …id unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted… in unroll()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyLogical.h55 class BinOp : public LExpr {
59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} in BinOp() function
69 class And : public BinOp {
71 And(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::And) {} in And()
76 class Or : public BinOp {
78 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {} in Or()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dtransform.hpp73 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
74 …inline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr… in unroll()
92 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
93 …inline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr… in unroll()
115 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
116 …inline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr… in unroll()
142 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
143 …inline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr… in unroll()
170 template <class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
171 …imple(const SrcPtr1 src1, const SrcPtr2 src2, GlobPtr<DstType> dst, const BinOp op, const MaskPtr … in transformSimple()
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dblock.hpp119 template<typename InIt1, typename InIt2, typename OutIt, class BinOp>
120 … __device__ __forceinline__ void transfrom(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op) in transfrom()
131 template<int CTA_SIZE, typename T, class BinOp>
132 static __device__ __forceinline__ void reduce(volatile T* buffer, BinOp op) in reduce()
153 template<int CTA_SIZE, typename T, class BinOp>
154 static __device__ __forceinline__ T reduce(volatile T* buffer, T init, BinOp op) in reduce()
178 template <typename T, class BinOp>
179 static __device__ __forceinline__ void reduce_n(T* data, unsigned int n, BinOp op) in reduce_n()
Dtransform.hpp65 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
66 …static inline void transform(PtrStepSz<T1> src1, PtrStepSz<T2> src2, PtrStepSz<D> dst, BinOp op, c… in transform()
68 typedef TransformFunctorTraits<BinOp> ft; in transform()
Dwarp.hpp94 template<typename InIt1, typename InIt2, typename OutIt, class BinOp>
95 …__device__ __forceinline__ OutIt transform(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op) in transform()
106 template <class T, class BinOp>
107 static __device__ __forceinline__ T reduce(volatile T *ptr, BinOp op) in reduce()
/external/clang/lib/Analysis/
DThreadSafetyLogical.cpp24 const auto LeftAndOperator = [=](const BinOp *A) { in implies()
28 const auto RightAndOperator = [=](const BinOp *A) { in implies()
34 const auto LeftOrOperator = [=](const BinOp *A) { in implies()
38 const auto RightOrOperator = [=](const BinOp *A) { in implies()
DConsumed.cpp491 void VisitBinaryOperator(const BinaryOperator *BinOp);
700 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) { in VisitBinaryOperator() argument
701 switch (BinOp->getOpcode()) { in VisitBinaryOperator()
704 InfoEntry LEntry = findInfo(BinOp->getLHS()), in VisitBinaryOperator()
705 REntry = findInfo(BinOp->getRHS()); in VisitBinaryOperator()
726 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp, in VisitBinaryOperator()
727 static_cast<EffectiveOp>(BinOp->getOpcode() == BO_LOr), LTest, RTest))); in VisitBinaryOperator()
734 forwardInfo(BinOp->getLHS(), BinOp); in VisitBinaryOperator()
1286 } else if (const BinaryOperator *BinOp = in splitState() local
1289 PInfo = Visitor.getInfo(BinOp->getLHS()); in splitState()
[all …]
/external/llvm/lib/Analysis/
DCostModel.cpp158 static bool matchPairwiseReductionAtLevel(const BinaryOperator *BinOp, in matchPairwiseReductionAtLevel() argument
166 if (BinOp == nullptr) in matchPairwiseReductionAtLevel()
169 assert(BinOp->getType()->isVectorTy() && "Expecting a vector type"); in matchPairwiseReductionAtLevel()
171 unsigned Opcode = BinOp->getOpcode(); in matchPairwiseReductionAtLevel()
172 Value *L = BinOp->getOperand(0); in matchPairwiseReductionAtLevel()
173 Value *R = BinOp->getOperand(1); in matchPairwiseReductionAtLevel()
342 BinaryOperator *BinOp; in matchVectorSplittingReduction() local
343 if (!(BinOp = dyn_cast<BinaryOperator>(RdxOp))) in matchVectorSplittingReduction()
345 if (BinOp->getOpcode() != RdxOpcode) in matchVectorSplittingReduction()
350 std::tie(NextRdxOp, Shuffle) = getShuffleAndOtherOprd(BinOp); in matchVectorSplittingReduction()
/external/eigen/Eigen/src/Core/
DTranspose.h334 template<typename BinOp,typename NestedXpr,typename Rhs>
335 struct blas_traits<SelfCwiseBinaryOp<BinOp,NestedXpr,Rhs> >
338 typedef SelfCwiseBinaryOp<BinOp,NestedXpr,Rhs> XprType;
348 template<bool DestIsTransposed, typename BinOp, typename DerivedA, typename DerivedB>
349 struct check_transpose_aliasing_compile_time_selector<DestIsTransposed,CwiseBinaryOp<BinOp,DerivedA…
365 template<typename Scalar, bool DestIsTransposed, typename BinOp, typename DerivedA, typename Derive…
366 struct check_transpose_aliasing_run_time_selector<Scalar,DestIsTransposed,CwiseBinaryOp<BinOp,Deriv…
368 static bool run(const Scalar* dest, const CwiseBinaryOp<BinOp,DerivedA,DerivedB>& src)
DSelfCwiseBinaryOp.h185 internal::scalar_product_op<Scalar> >::type BinOp;
187 SelfCwiseBinaryOp<BinOp, Derived, typename PlainObject::ConstantReturnType> tmp(derived());
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp161 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in canGetThrough() local
162 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) && in canGetThrough()
163 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap())) in canGetThrough()
457 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in analyzeSExtension() local
458 if (BinOp && isa<ConstantInt>(BinOp->getOperand(0))) in analyzeSExtension()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp94 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst)) { in getHashValue() local
95 Value *LHS = BinOp->getOperand(0); in getHashValue()
96 Value *RHS = BinOp->getOperand(1); in getHashValue()
97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue()
100 if (isa<OverflowingBinaryOperator>(BinOp)) { in getHashValue()
103 BinOp->hasNoSignedWrap() * OverflowingBinaryOperator::NoSignedWrap | in getHashValue()
104 BinOp->hasNoUnsignedWrap() * in getHashValue()
106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); in getHashValue()
109 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp121 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); in FoldPHIArgBinOpIntoPHI() local
123 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
582 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) { in FoldPHIArgOpIntoPHI() local
583 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI()
584 if (isNUW) BinOp->setHasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
585 if (isNSW) BinOp->setHasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
586 if (isExact) BinOp->setIsExact(); in FoldPHIArgOpIntoPHI()
587 BinOp->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI()
588 return BinOp; in FoldPHIArgOpIntoPHI()
/external/opencv3/modules/cudev/include/opencv2/cudev/warp/
Dwarp.hpp101 template <class InIt1, class InIt2, class OutIt, class BinOp>
102 …__forceinline__ OutIt warpTransform(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, const BinOp& op) in warpTransform()
/external/opencv3/modules/cudev/include/opencv2/cudev/block/
Dblock.hpp117 template <class InIt1, class InIt2, class OutIt, class BinOp>
118 …inline__ static void blockTransfrom(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, const BinOp& op) in blockTransfrom()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp869 if (auto *BinOp = dyn_cast<BinaryOperator>(S)) { in matchValueExprForBind() local
870 if (BinOp->getOpcode() == BO_Assign) in matchValueExprForBind()
871 return BinOp->getRHS(); in matchValueExprForBind()
958 const auto *BinOp = dyn_cast<BinaryOperator>(S); in checkBind() local
963 const Stmt *NullabilitySource = BinOp ? BinOp->getRHS() : S; in checkBind()
971 const Stmt *NullabilitySource = BinOp ? BinOp->getLHS() : S; in checkBind()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dtransform.hpp110 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
111 …y_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, const MaskPtr… in gridTransformBinary_()
124 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
125 … SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, const MaskPtr… in gridTransformBinary_()
137 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp>
138 …y_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, Stream& strea… in gridTransformBinary_()
150 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp>
151 … SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, Stream& strea… in gridTransformBinary_()
/external/clang/include/clang/AST/
DStmtVisitor.h45 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { in Visit()
46 switch (BinOp->getOpcode()) { in Visit()
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp289 int BinOp = CurTok; in ParseBinOpRHS() local
307 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS), in ParseBinOpRHS()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1615 BinOpInfo BinOp; in createBinOpInfoFromIncDec() local
1616 BinOp.LHS = InVal; in createBinOpInfoFromIncDec()
1617 BinOp.RHS = llvm::ConstantInt::get(InVal->getType(), 1, false); in createBinOpInfoFromIncDec()
1618 BinOp.Ty = E->getType(); in createBinOpInfoFromIncDec()
1619 BinOp.Opcode = IsInc ? BO_Add : BO_Sub; in createBinOpInfoFromIncDec()
1620 BinOp.FPContractable = false; in createBinOpInfoFromIncDec()
1621 BinOp.E = E; in createBinOpInfoFromIncDec()
1622 return BinOp; in createBinOpInfoFromIncDec()
1676 llvm::AtomicRMWInst::BinOp aop = isInc ? llvm::AtomicRMWInst::Add : in EmitScalarPrePostIncDec()
1870 BinOpInfo BinOp; in VisitUnaryMinus() local
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp130 ConstantRange ConstantRange::makeNoWrapRegion(Instruction::BinaryOps BinOp, in makeNoWrapRegion() argument
144 assert(BinOp >= Instruction::BinaryOpsBegin && in makeNoWrapRegion()
145 BinOp < Instruction::BinaryOpsEnd && "Binary operators only!"); in makeNoWrapRegion()
153 if (BinOp != Instruction::Add) in makeNoWrapRegion()
/external/llvm/include/llvm/IR/
DInstrTypes.h511 static const Value *getNegArgument(const Value *BinOp);
512 static Value *getNegArgument( Value *BinOp);
513 static const Value *getFNegArgument(const Value *BinOp);
514 static Value *getFNegArgument( Value *BinOp);
515 static const Value *getNotArgument(const Value *BinOp);
516 static Value *getNotArgument( Value *BinOp);
DConstantRange.h93 static ConstantRange makeNoWrapRegion(Instruction::BinaryOps BinOp,
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp292 int BinOp = CurTok; in ParseBinOpRHS() local
311 llvm::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS)); in ParseBinOpRHS()

1234