Searched defs:BinOp (Results 1 - 25 of 29) sorted by relevance

12

/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h55 class BinOp : public LExpr { class in namespace:clang::threadSafety::lexpr
59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} function in class:clang::threadSafety::lexpr::BinOp
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/eigen/Eigen/src/Core/
H A DSelfCwiseBinaryOp.h185 internal::scalar_product_op<Scalar> >::type BinOp; typedef
187 SelfCwiseBinaryOp<BinOp, Derived, typename PlainObject::ConstantReturnType> tmp(derived());
/external/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp158 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); local
159 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) &&
160 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap()))
454 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); local
455 if (BinOp && isa<ConstantInt>(BinOp->getOperand(0)))
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp244 int BinOp = CurTok; local
251 // If BinOp binds less tightly with RHS than the operator after RHS, let
260 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/lib/Analysis/
H A DCostModel.cpp160 static bool matchPairwiseReductionAtLevel(const BinaryOperator *BinOp, argument
168 if (BinOp == nullptr)
171 assert(BinOp->getType()->isVectorTy() && "Expecting a vector type");
173 unsigned Opcode = BinOp->getOpcode();
174 Value *L = BinOp->getOperand(0);
175 Value *R = BinOp->getOperand(1);
204 // %BinOp = fadd %NextLevelOpL, %R
344 BinaryOperator *BinOp; local
345 if (!(BinOp = dyn_cast<BinaryOperator>(RdxOp)))
347 if (BinOp
[all...]
/external/eigen/Eigen/src/Core/products/
H A DGeneralMatrixMatrix.h393 typedef internal::scalar_product_op<LhsScalar,RhsScalar> BinOp; typedef
394 EIGEN_CHECK_BINARY_COMPATIBILIY(BinOp,LhsScalar,RhsScalar);
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp265 int BinOp = CurTok; local
272 // If BinOp binds less tightly with RHS than the operator after RHS, let
281 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp272 int BinOp = CurTok; local
279 // If BinOp binds less tightly with RHS than the operator after RHS, let
288 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp122 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); local
124 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
490 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) {
491 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp);
492 if (isNUW) BinOp->setHasNoUnsignedWrap();
493 if (isNSW) BinOp->setHasNoSignedWrap();
494 if (isExact) BinOp->setIsExact();
495 BinOp->setDebugLoc(FirstInst->getDebugLoc());
496 return BinOp;
[all...]
H A DInstCombineCompares.cpp2309 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(U); local
2310 if (!BinOp || BinOp->getOpcode() != Instruction::Sub)
2316 if (BinOp->getOperand(Op1Idx) == Op0) {
2320 if (BinOp->getOperand(Op1Idx) != Op1)
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp373 int BinOp = CurTok; local
380 // If BinOp binds less tightly with RHS than the operator after RHS, let
389 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp417 int BinOp = CurTok; local
424 // If BinOp binds less tightly with RHS than the operator after RHS, let
433 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/clang/lib/Analysis/
H A DConsumed.cpp491 void VisitBinaryOperator(const BinaryOperator *BinOp);
700 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) { argument
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/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp482 int BinOp = CurTok; local
489 // If BinOp binds less tightly with RHS than the operator after RHS, let
498 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp499 int BinOp = CurTok; local
506 // If BinOp binds less tightly with RHS than the operator after RHS, let
515 LHS = new BinaryExprAST(BinOp, LHS, RHS);
H A Dtoy.cpp505 int BinOp = CurTok; local
512 // If BinOp binds less tightly with RHS than the operator after RHS, let
521 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp529 int BinOp = CurTok; local
536 // If BinOp binds less tightly with RHS than the operator after RHS, let
545 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp482 int BinOp = CurTok; local
489 // If BinOp binds less tightly with RHS than the operator after RHS, let
498 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp484 int BinOp = CurTok; local
491 // If BinOp binds less tightly with RHS than the operator after RHS, let
500 LHS = new BinaryExprAST(BinOp, LHS, RHS);
H A Dtoy.cpp484 int BinOp = CurTok; local
491 // If BinOp binds less tightly with RHS than the operator after RHS, let
500 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/external/llvm/include/llvm/IR/
H A DInstructions.h631 enum BinOp { enum in class:llvm::AtomicRMWInst
664 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
667 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
671 BinOp getOperation() const {
672 return static_cast<BinOp>(getSubclassDataFromInstruction() >> 5);
675 void setOperation(BinOp Operation) {
744 void Init(BinOp Operation, Value *Ptr, Value *Val,
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1734 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst); local
1735 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) &&
1736 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap()))
3168 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(I); local
3170 if (BinOp && (BinOp->getOpcode() == Instruction::AShr ||
3171 BinOp->getOpcode() == Instruction::LShr)) {
3172 ConstantInt *CI = dyn_cast<ConstantInt>(BinOp
[all...]
/external/llvm/lib/IR/
H A DInstructions.cpp1279 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val,
1299 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
1310 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
1965 Value *BinaryOperator::getNegArgument(Value *BinOp) { argument
1966 return cast<BinaryOperator>(BinOp)->getOperand(1);
1969 const Value *BinaryOperator::getNegArgument(const Value *BinOp) { argument
1970 return getNegArgument(const_cast<Value*>(BinOp));
1973 Value *BinaryOperator::getFNegArgument(Value *BinOp) { argument
1974 return cast<BinaryOperator>(BinOp)->getOperand(1);
1977 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) { argument
1981 getNotArgument(Value *BinOp) argument
1992 getNotArgument(const Value *BinOp) argument
[all...]
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp996 const MCBinaryExpr *BinOp = dyn_cast<MCBinaryExpr>(Disp); local
998 isa<MCSymbolRefExpr>(BinOp ? BinOp->getLHS() : Disp);
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp47 BinaryOperator::Opcode Opcode; // Opcode of BinOp to perform
1531 BinOpInfo BinOp; local
1532 BinOp.LHS = InVal;
1533 BinOp.RHS = NextVal;
1534 BinOp.Ty = E->getType();
1535 BinOp.Opcode = BO_Add;
1536 BinOp.FPContractable = false;
1537 BinOp.E = E;
1538 return EmitOverflowCheckedBinOp(BinOp);
1578 llvm::AtomicRMWInst::BinOp ao
1627 BinOpInfo BinOp; local
1764 BinOpInfo BinOp; local
[all...]

Completed in 413 milliseconds

12