/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/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 159 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in canGetThrough() local 160 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) && in canGetThrough() 161 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap())) in canGetThrough() 455 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in analyzeSExtension() local 456 if (BinOp && isa<ConstantInt>(BinOp->getOperand(0))) in analyzeSExtension()
|
/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 | 491 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() 1297 } else if (const BinaryOperator *BinOp = in splitState() local 1300 PInfo = Visitor.getInfo(BinOp->getLHS()); in splitState() [all …]
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 161 static bool matchPairwiseReductionAtLevel(const BinaryOperator *BinOp, in matchPairwiseReductionAtLevel() argument 169 if (BinOp == nullptr) in matchPairwiseReductionAtLevel() 172 assert(BinOp->getType()->isVectorTy() && "Expecting a vector type"); in matchPairwiseReductionAtLevel() 174 unsigned Opcode = BinOp->getOpcode(); in matchPairwiseReductionAtLevel() 175 Value *L = BinOp->getOperand(0); in matchPairwiseReductionAtLevel() 176 Value *R = BinOp->getOperand(1); in matchPairwiseReductionAtLevel() 345 BinaryOperator *BinOp; in matchVectorSplittingReduction() local 346 if (!(BinOp = dyn_cast<BinaryOperator>(RdxOp))) in matchVectorSplittingReduction() 348 if (BinOp->getOpcode() != RdxOpcode) in matchVectorSplittingReduction() 353 std::tie(NextRdxOp, Shuffle) = getShuffleAndOtherOprd(BinOp); in matchVectorSplittingReduction()
|
/external/eigen/Eigen/src/Core/ |
D | 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… 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)
|
D | SelfCwiseBinaryOp.h | 185 internal::scalar_product_op<Scalar> >::type BinOp; 187 SelfCwiseBinaryOp<BinOp, Derived, typename PlainObject::ConstantReturnType> tmp(derived());
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 93 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst)) { in getHashValue() local 94 Value *LHS = BinOp->getOperand(0); in getHashValue() 95 Value *RHS = BinOp->getOperand(1); in getHashValue() 96 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) in getHashValue() 99 if (isa<OverflowingBinaryOperator>(BinOp)) { in getHashValue() 102 BinOp->hasNoSignedWrap() * OverflowingBinaryOperator::NoSignedWrap | in getHashValue() 103 BinOp->hasNoUnsignedWrap() * in getHashValue() 105 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); in getHashValue() 108 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 121 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); in FoldPHIArgBinOpIntoPHI() local 123 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/include/llvm/IR/ |
D | InstrTypes.h | 312 static const Value *getNegArgument(const Value *BinOp); 313 static Value *getNegArgument( Value *BinOp); 314 static const Value *getFNegArgument(const Value *BinOp); 315 static Value *getFNegArgument( Value *BinOp); 316 static const Value *getNotArgument(const Value *BinOp); 317 static Value *getNotArgument( Value *BinOp);
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1625 BinOpInfo BinOp; in EmitAddConsiderOverflowBehavior() local 1626 BinOp.LHS = InVal; in EmitAddConsiderOverflowBehavior() 1627 BinOp.RHS = NextVal; in EmitAddConsiderOverflowBehavior() 1628 BinOp.Ty = E->getType(); in EmitAddConsiderOverflowBehavior() 1629 BinOp.Opcode = BO_Add; in EmitAddConsiderOverflowBehavior() 1630 BinOp.FPContractable = false; in EmitAddConsiderOverflowBehavior() 1631 BinOp.E = E; in EmitAddConsiderOverflowBehavior() 1632 return EmitOverflowCheckedBinOp(BinOp); in EmitAddConsiderOverflowBehavior() 1672 llvm::AtomicRMWInst::BinOp aop = isInc ? llvm::AtomicRMWInst::Add : in EmitScalarPrePostIncDec() 1721 BinOpInfo BinOp; in EmitScalarPrePostIncDec() local [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 244 int BinOp = CurTok; in ParseBinOpRHS() local 260 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|
/external/clang/include/clang/AST/ |
D | StmtVisitor.h | 44 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { in Visit() 45 switch (BinOp->getOpcode()) { in Visit()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 265 int BinOp = CurTok; in ParseBinOpRHS() local 281 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1178 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val, in Init() 1198 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst() 1209 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst() 1860 Value *BinaryOperator::getNegArgument(Value *BinOp) { in getNegArgument() argument 1861 return cast<BinaryOperator>(BinOp)->getOperand(1); in getNegArgument() 1864 const Value *BinaryOperator::getNegArgument(const Value *BinOp) { in getNegArgument() argument 1865 return getNegArgument(const_cast<Value*>(BinOp)); in getNegArgument() 1868 Value *BinaryOperator::getFNegArgument(Value *BinOp) { in getFNegArgument() argument 1869 return cast<BinaryOperator>(BinOp)->getOperand(1); in getFNegArgument() 1872 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) { in getFNegArgument() argument [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 641 BinOpToken BinOp; in evalComplexExpr() local 642 std::tie(BinOp, RemainingExpr) = parseBinOpToken(RemainingExpr); in evalComplexExpr() 645 if (BinOp == BinOpToken::Invalid) in evalComplexExpr() 658 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult)); in evalComplexExpr()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 250 static Value *performAtomicOp(AtomicRMWInst::BinOp Op, IRBuilder<> &Builder, in performAtomicOp() 542 AtomicRMWInst::BinOp Op = RMWI->getOperation(); in isIdempotentRMW()
|
D | CodeGenPrepare.cpp | 2342 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); in canGetThrough() local 2343 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) && in canGetThrough() 2344 ((!IsSExt && BinOp->hasNoUnsignedWrap()) || in canGetThrough() 2345 (IsSExt && BinOp->hasNoSignedWrap()))) in canGetThrough() 4357 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(I); in OptimizeInst() local 4359 if (BinOp && (BinOp->getOpcode() == Instruction::AShr || in OptimizeInst() 4360 BinOp->getOpcode() == Instruction::LShr)) { in OptimizeInst() 4361 ConstantInt *CI = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in OptimizeInst() 4363 return OptimizeExtractBits(BinOp, CI, *TLI); in OptimizeInst()
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
D | parser.ml | 70 (* If BinOp binds less tightly with rhs than the operator after
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
D | parser.ml | 70 (* If BinOp binds less tightly with rhs than the operator after
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
D | parser.ml | 70 (* If BinOp binds less tightly with rhs than the operator after
|
/external/llvm/docs/tutorial/ |
D | LangImpl2.rst | 439 int BinOp = CurTok; 454 precedence and compare it to BinOp's precedence (which is '+' in this 459 // If BinOp binds less tightly with RHS than the operator after RHS, let 477 LHS = new BinaryExprAST(BinOp, LHS, RHS); 497 // If BinOp binds less tightly with RHS than the operator after RHS, let 505 LHS = new BinaryExprAST(BinOp, LHS, RHS);
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 298 int BinOp = CurTok; in ParseBinOpRHS() local 316 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|
/external/eigen/Eigen/src/Core/products/ |
D | GeneralMatrixMatrix.h | 393 typedef internal::scalar_product_op<LhsScalar,RhsScalar> BinOp; 394 EIGEN_CHECK_BINARY_COMPATIBILIY(BinOp,LhsScalar,RhsScalar);
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 418 int BinOp = CurTok; in ParseBinOpRHS() local 436 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
|