HomeSort by relevance Sort by last modified time
    Searched refs:BinOp (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/clang/include/clang/Analysis/Analyses/
ThreadSafetyLogical.h 55 class BinOp : public LExpr {
59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {}
69 class And : public BinOp {
71 And(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::And) {}
76 class Or : public BinOp {
78 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {}
  /external/clang/lib/Analysis/
ThreadSafetyLogical.cpp 24 const auto LeftAndOperator = [=](const BinOp *A) {
28 const auto RightAndOperator = [=](const BinOp *A) {
34 const auto LeftOrOperator = [=](const BinOp *A) {
38 const auto RightOrOperator = [=](const BinOp *A) {
Consumed.cpp 491 void VisitBinaryOperator(const BinaryOperator *BinOp);
700 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) {
701 switch (BinOp->getOpcode()) {
704 InfoEntry LEntry = findInfo(BinOp->getLHS()),
705 REntry = findInfo(BinOp->getRHS());
726 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp,
727 static_cast<EffectiveOp>(BinOp->getOpcode() == BO_LOr), LTest, RTest)));
734 forwardInfo(BinOp->getLHS(), BinOp);
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/cuda/
transform.hpp 65 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, const Mask& mask, cudaStream_t stream)
68 typedef TransformFunctorTraits<BinOp> ft;
warp.hpp 94 template<typename InIt1, typename InIt2, typename OutIt, class BinOp>
95 static __device__ __forceinline__ OutIt transform(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op)
106 template <class T, class BinOp>
107 static __device__ __forceinline__ T reduce(volatile T *ptr, BinOp op)
block.hpp 119 template<typename InIt1, typename InIt2, typename OutIt, class BinOp>
120 static __device__ __forceinline__ void transfrom(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op)
131 template<int CTA_SIZE, typename T, class BinOp>
132 static __device__ __forceinline__ void reduce(volatile T* buffer, BinOp op)
153 template<int CTA_SIZE, typename T, class BinOp>
154 static __device__ __forceinline__ T reduce(volatile T* buffer, T init, BinOp op)
178 template <typename T, class BinOp>
179 static __device__ __forceinline__ void reduce_n(T* data, unsigned int n, BinOp op)
  /external/eigen/Eigen/src/Core/
Transpose.h 334 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,DerivedB> >
365 template<typename Scalar, bool DestIsTransposed, typename BinOp, typename DerivedA, typename DerivedB>
366 struct check_transpose_aliasing_run_time_selector<Scalar,DestIsTransposed,CwiseBinaryOp<BinOp,DerivedA,DerivedB> >
368 static bool run(const Scalar* dest, const CwiseBinaryOp<BinOp,DerivedA,DerivedB>& src)
SelfCwiseBinaryOp.h 185 internal::scalar_product_op<Scalar> >::type BinOp;
187 SelfCwiseBinaryOp<BinOp, Derived, typename PlainObject::ConstantReturnType> tmp(derived());
  /external/llvm/lib/Target/AArch64/
AArch64AddressTypePromotion.cpp 161 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst);
162 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) &&
163 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap()))
457 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst);
458 if (BinOp && isa<ConstantInt>(BinOp->getOperand(0)))
  /external/llvm/lib/Analysis/
CostModel.cpp 158 static bool matchPairwiseReductionAtLevel(const BinaryOperator *BinOp,
166 if (BinOp == nullptr)
169 assert(BinOp->getType()->isVectorTy() && "Expecting a vector type");
171 unsigned Opcode = BinOp->getOpcode();
172 Value *L = BinOp->getOperand(0);
173 Value *R = BinOp->getOperand(1);
202 // %BinOp = fadd %NextLevelOpL, %R
342 BinaryOperator *BinOp;
343 if (!(BinOp = dyn_cast<BinaryOperator>(RdxOp)))
345 if (BinOp->getOpcode() != RdxOpcode
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/cuda/detail/
transform_detail.hpp 83 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
84 static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted, int y)
101 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
102 static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_shifted, int y)
123 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
124 static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y)
149 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
150 static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y)
185 template <typename T1, typename T2, typename D, typename BinOp, typename Mask>
186 static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, const BinOp& op, int x_shifted, int y
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
transform.hpp 73 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
74 __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y)
92 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
93 __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y)
115 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
116 __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y)
142 template <typename T1, typename T2, typename D, class BinOp, class MaskPtr>
143 __device__ __forceinline__ static void unroll(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int y)
170 template <class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
171 __global__ void transformSimple(const SrcPtr1 src1, const SrcPtr2 src2, GlobPtr<DstType> dst, const BinOp op, const MaskPtr mask, const int rows, const int cols
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/block/
block.hpp 117 template <class InIt1, class InIt2, class OutIt, class BinOp>
118 __device__ __forceinline__ static void blockTransfrom(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, const BinOp& op)
  /external/opencv3/modules/cudev/include/opencv2/cudev/warp/
warp.hpp 101 template <class InIt1, class InIt2, class OutIt, class BinOp>
102 __device__ __forceinline__ OutIt warpTransform(InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, const BinOp& op)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ast.py 122 # BinOp
305 x = ast.BinOp()
315 x = ast.BinOp(n1, addop, n3)
320 x = ast.BinOp(1, 2, 3)
325 x = ast.BinOp(1, 2, 3, lineno=0)
332 self.assertRaises(TypeError, ast.BinOp, 1, 2)
334 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4)
336 self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0)
338 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0)
341 x = ast.BinOp(left=1, op=2, right=3, lineno=0
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ast.py 122 # BinOp
305 x = ast.BinOp()
315 x = ast.BinOp(n1, addop, n3)
320 x = ast.BinOp(1, 2, 3)
325 x = ast.BinOp(1, 2, 3, lineno=0)
332 self.assertRaises(TypeError, ast.BinOp, 1, 2)
334 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4)
336 self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0)
338 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0)
341 x = ast.BinOp(left=1, op=2, right=3, lineno=0
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ast.py 122 # BinOp
305 x = ast.BinOp()
315 x = ast.BinOp(n1, addop, n3)
320 x = ast.BinOp(1, 2, 3)
325 x = ast.BinOp(1, 2, 3, lineno=0)
332 self.assertRaises(TypeError, ast.BinOp, 1, 2)
334 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4)
336 self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0)
338 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0)
341 x = ast.BinOp(left=1, op=2, right=3, lineno=0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ast.py 122 # BinOp
305 x = ast.BinOp()
315 x = ast.BinOp(n1, addop, n3)
320 x = ast.BinOp(1, 2, 3)
325 x = ast.BinOp(1, 2, 3, lineno=0)
332 self.assertRaises(TypeError, ast.BinOp, 1, 2)
334 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4)
336 self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0)
338 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0)
341 x = ast.BinOp(left=1, op=2, right=3, lineno=0
    [all...]
  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 94 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst)) {
95 Value *LHS = BinOp->getOperand(0);
96 Value *RHS = BinOp->getOperand(1);
97 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1))
100 if (isa<OverflowingBinaryOperator>(BinOp)) {
103 BinOp->hasNoSignedWrap() * OverflowingBinaryOperator::NoSignedWrap |
104 BinOp->hasNoUnsignedWrap() *
106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 24 /// adds all have a single use, turn this into a phi and a single binop.
121 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst);
123 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
509 // Can fold binop, compare or shift here if the RHS is a constant,
582 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) {
583 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp);
584 if (isNUW) BinOp->setHasNoUnsignedWrap();
585 if (isNSW) BinOp->setHasNoSignedWrap();
586 if (isExact) BinOp->setIsExact()
    [all...]
  /external/llvm/include/llvm/IR/
ConstantRange.h 93 static ConstantRange makeNoWrapRegion(Instruction::BinaryOps BinOp,
  /external/clang/include/clang/AST/
StmtVisitor.h 42 // If we have a binary expr, dispatch to the subcode of the binop. A smart
45 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) {
46 switch (BinOp->getOpcode()) {
  /external/clang/lib/StaticAnalyzer/Checkers/
NullabilityChecker.cpp 869 if (auto *BinOp = dyn_cast<BinaryOperator>(S)) {
870 if (BinOp->getOpcode() == BO_Assign)
871 return BinOp->getRHS();
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp 183 // Make sure it's a declared binop.
279 // If this is a binop, find its precedence.
283 // If this is a binop that binds at least as tightly as the current binop,
288 // Okay, we know this is a binop.
289 int BinOp = CurTok;
290 getNextToken(); // eat binop
297 // If BinOp binds less tightly with RHS than the operator after RHS, let
307 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS),
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/
transform.hpp 110 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
111 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
124 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
125 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, const MaskPtr& mask, Stream& stream = Stream::Null())
137 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp>
138 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst, const BinOp& op, Stream& stream = Stream::Null())
150 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp>
151 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, const GlobPtrSz<DstType>& dst, const BinOp& op, Stream& stream = Stream::Null())

Completed in 4660 milliseconds

1 2 3 4