/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyLogical.h | 55 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/llvm/lib/Analysis/ |
D | CostModel.cpp | 158 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/clang/lib/Analysis/ |
D | ThreadSafetyLogical.cpp | 24 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()
|
D | Consumed.cpp | 497 void VisitBinaryOperator(const BinaryOperator *BinOp); 706 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) { in VisitBinaryOperator() argument 707 switch (BinOp->getOpcode()) { in VisitBinaryOperator() 710 InfoEntry LEntry = findInfo(BinOp->getLHS()), in VisitBinaryOperator() 711 REntry = findInfo(BinOp->getRHS()); in VisitBinaryOperator() 732 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp, in VisitBinaryOperator() 733 static_cast<EffectiveOp>(BinOp->getOpcode() == BO_LOr), LTest, RTest))); in VisitBinaryOperator() 740 forwardInfo(BinOp->getLHS(), BinOp); in VisitBinaryOperator() 1292 } else if (const BinaryOperator *BinOp = in splitState() local 1295 PInfo = Visitor.getInfo(BinOp->getLHS()); in splitState() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 160 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in canGetThrough() local 161 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) && in canGetThrough() 162 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap())) in canGetThrough() 454 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in analyzeSExtension() local 455 if (BinOp && isa<ConstantInt>(BinOp->getOperand(0))) in analyzeSExtension()
|
/external/python/cpython2/Lib/test/ |
D | test_ast.py | 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) 348 x = ast.BinOp(1, 2, 3, foobarbaz=42)
|
/external/eigen/Eigen/src/Core/ |
D | Transpose.h | 332 template<bool DestIsTransposed, typename BinOp, typename DerivedA, typename DerivedB> 333 struct check_transpose_aliasing_compile_time_selector<DestIsTransposed,CwiseBinaryOp<BinOp,DerivedA… 349 template<typename Scalar, bool DestIsTransposed, typename BinOp, typename DerivedA, typename Derive… 350 struct check_transpose_aliasing_run_time_selector<Scalar,DestIsTransposed,CwiseBinaryOp<BinOp,Deriv… 352 static bool run(const Scalar* dest, const CwiseBinaryOp<BinOp,DerivedA,DerivedB>& src)
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 120 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); in FoldPHIArgBinOpIntoPHI() local 122 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 490 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) { in FoldPHIArgOpIntoPHI() local 491 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI() 492 if (isNUW) BinOp->setHasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI() 493 if (isNSW) BinOp->setHasNoSignedWrap(); in FoldPHIArgOpIntoPHI() 494 if (isExact) BinOp->setIsExact(); in FoldPHIArgOpIntoPHI() 495 BinOp->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI() 496 return BinOp; in FoldPHIArgOpIntoPHI()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 108 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); in FoldPHIArgBinOpIntoPHI() local 110 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 556 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) { in FoldPHIArgOpIntoPHI() local 557 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); in FoldPHIArgOpIntoPHI() 558 BinOp->copyIRFlags(PN.getIncomingValue(0)); in FoldPHIArgOpIntoPHI() 561 BinOp->andIRFlags(PN.getIncomingValue(i)); in FoldPHIArgOpIntoPHI() 563 BinOp->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI() 564 return BinOp; in FoldPHIArgOpIntoPHI()
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 95 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst)) { in getHashValue() local 96 Value *LHS = BinOp->getOperand(0); in getHashValue() 97 Value *RHS = BinOp->getOperand(1); in getHashValue() 98 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue() 101 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | InstrTypes.h | 321 static const Value *getNegArgument(const Value *BinOp); 322 static Value *getNegArgument( Value *BinOp); 323 static const Value *getFNegArgument(const Value *BinOp); 324 static Value *getFNegArgument( Value *BinOp); 325 static const Value *getNotArgument(const Value *BinOp); 326 static Value *getNotArgument( Value *BinOp);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 1016 if (auto *BinOp = dyn_cast<BinaryOperator>(S)) { in matchValueExprForBind() local 1017 if (BinOp->getOpcode() == BO_Assign) in matchValueExprForBind() 1018 return BinOp->getRHS(); in matchValueExprForBind() 1174 const auto *BinOp = dyn_cast<BinaryOperator>(S); in checkBind() local 1179 const Stmt *NullabilitySource = BinOp ? BinOp->getRHS() : S; in checkBind() 1187 const Stmt *NullabilitySource = BinOp ? BinOp->getLHS() : S; in checkBind()
|
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 329 x = ast.BinOp() 339 x = ast.BinOp(n1, addop, n3) 344 x = ast.BinOp(1, 2, 3) 349 x = ast.BinOp(1, 2, 3, lineno=0) 356 self.assertRaises(TypeError, ast.BinOp, 1, 2) 358 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4) 360 self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0) 362 self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0) 365 x = ast.BinOp(left=1, op=2, right=3, lineno=0) 372 x = ast.BinOp(1, 2, 3, foobarbaz=42)
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 251 int BinOp = CurTok; in ParseBinOpRHS() local 267 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|
/external/tensorflow/tensorflow/contrib/py2tf/pyct/ |
D | pretty_printer_test.py | 39 ast.BinOp(
|
D | templates_test.py | 77 ], gast.BinOp(gast.Name('a', None, None), gast.Add(), gast.Num(1))),
|
D | compiler_test.py | 66 gast.BinOp(
|
D | ast_util_test.py | 57 ast.BinOp(
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1597 BinOpInfo BinOp; in createBinOpInfoFromIncDec() local 1598 BinOp.LHS = InVal; in createBinOpInfoFromIncDec() 1599 BinOp.RHS = llvm::ConstantInt::get(InVal->getType(), 1, false); in createBinOpInfoFromIncDec() 1600 BinOp.Ty = E->getType(); in createBinOpInfoFromIncDec() 1601 BinOp.Opcode = IsInc ? BO_Add : BO_Sub; in createBinOpInfoFromIncDec() 1602 BinOp.FPContractable = false; in createBinOpInfoFromIncDec() 1603 BinOp.E = E; in createBinOpInfoFromIncDec() 1604 return BinOp; in createBinOpInfoFromIncDec() 1659 llvm::AtomicRMWInst::BinOp aop = isInc ? llvm::AtomicRMWInst::Add : in EmitScalarPrePostIncDec() 1857 BinOpInfo BinOp; in VisitUnaryMinus() local [all …]
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 45 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { in Visit() 46 switch (BinOp->getOpcode()) { in Visit()
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 290 int BinOp = CurTok; in ParseBinOpRHS() local 308 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS), in ParseBinOpRHS()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 1268 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val, in Init() 1288 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst() 1299 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst() 1929 Value *BinaryOperator::getNegArgument(Value *BinOp) { in getNegArgument() argument 1930 return cast<BinaryOperator>(BinOp)->getOperand(1); in getNegArgument() 1933 const Value *BinaryOperator::getNegArgument(const Value *BinOp) { in getNegArgument() argument 1934 return getNegArgument(const_cast<Value*>(BinOp)); in getNegArgument() 1937 Value *BinaryOperator::getFNegArgument(Value *BinOp) { in getFNegArgument() argument 1938 return cast<BinaryOperator>(BinOp)->getOperand(1); in getFNegArgument() 1941 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) { in getFNegArgument() argument [all …]
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 520 static const Value *getNegArgument(const Value *BinOp); 521 static Value *getNegArgument( Value *BinOp); 522 static const Value *getFNegArgument(const Value *BinOp); 523 static Value *getFNegArgument( Value *BinOp); 524 static const Value *getNotArgument(const Value *BinOp); 525 static Value *getNotArgument( Value *BinOp);
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 263 int BinOp = CurTok; in ParseBinOpRHS() local 279 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 169 ConstantRange::makeGuaranteedNoWrapRegion(Instruction::BinaryOps BinOp, in makeGuaranteedNoWrapRegion() argument 183 assert(BinOp >= Instruction::BinaryOpsBegin && in makeGuaranteedNoWrapRegion() 184 BinOp < Instruction::BinaryOpsEnd && "Binary operators only!"); in makeGuaranteedNoWrapRegion() 192 if (BinOp != Instruction::Add) in makeGuaranteedNoWrapRegion()
|