Home
last modified time | relevance | path

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

12

/external/eigen/Eigen/src/Core/
DTranspose.h329 template<typename BinOp,typename NestedXpr,typename Rhs>
330 struct blas_traits<SelfCwiseBinaryOp<BinOp,NestedXpr,Rhs> >
333 typedef SelfCwiseBinaryOp<BinOp,NestedXpr,Rhs> XprType;
343 template<bool DestIsTransposed, typename BinOp, typename DerivedA, typename DerivedB>
344 struct check_transpose_aliasing_compile_time_selector<DestIsTransposed,CwiseBinaryOp<BinOp,DerivedA…
360 template<typename Scalar, bool DestIsTransposed, typename BinOp, typename DerivedA, typename Derive…
361 struct check_transpose_aliasing_run_time_selector<Scalar,DestIsTransposed,CwiseBinaryOp<BinOp,Deriv…
363 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/Transforms/InstCombine/
DInstCombinePHI.cpp120 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/include/llvm/
DInstrTypes.h321 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);
DInstructions.h568 enum BinOp {
601 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
604 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
608 BinOp getOperation() const {
609 return static_cast<BinOp>(getSubclassDataFromInstruction() >> 5);
612 void setOperation(BinOp Operation) {
681 void Init(BinOp Operation, Value *Ptr, Value *Val,
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp251 int BinOp = CurTok; in ParseBinOpRHS() local
267 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/clang/include/clang/AST/
DStmtVisitor.h43 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { in Visit()
44 switch (BinOp->getOpcode()) { in Visit()
DRecursiveASTVisitor.h484 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(S)) { in dataTraverseNode() local
485 switch (BinOp->getOpcode()) { in dataTraverseNode()
538 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(S)) { in TraverseStmt() local
539 switch (BinOp->getOpcode()) { in TraverseStmt()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1259 BinOpInfo BinOp; in EmitAddConsiderOverflowBehavior() local
1260 BinOp.LHS = InVal; in EmitAddConsiderOverflowBehavior()
1261 BinOp.RHS = NextVal; in EmitAddConsiderOverflowBehavior()
1262 BinOp.Ty = E->getType(); in EmitAddConsiderOverflowBehavior()
1263 BinOp.Opcode = BO_Add; in EmitAddConsiderOverflowBehavior()
1264 BinOp.E = E; in EmitAddConsiderOverflowBehavior()
1265 return EmitOverflowCheckedBinOp(BinOp); in EmitAddConsiderOverflowBehavior()
1440 BinOpInfo BinOp; in VisitUnaryMinus() local
1441 BinOp.RHS = Visit(E->getSubExpr()); in VisitUnaryMinus()
1443 if (BinOp.RHS->getType()->isFPOrFPVectorTy()) in VisitUnaryMinus()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp263 int BinOp = CurTok; in ParseBinOpRHS() local
279 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/llvm/lib/VMCore/
DInstructions.cpp1244 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val, in Init()
1264 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst()
1275 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, in AtomicRMWInst()
1943 Value *BinaryOperator::getNegArgument(Value *BinOp) { in getNegArgument() argument
1944 return cast<BinaryOperator>(BinOp)->getOperand(1); in getNegArgument()
1947 const Value *BinaryOperator::getNegArgument(const Value *BinOp) { in getNegArgument() argument
1948 return getNegArgument(const_cast<Value*>(BinOp)); in getNegArgument()
1951 Value *BinaryOperator::getFNegArgument(Value *BinOp) { in getFNegArgument() argument
1952 return cast<BinaryOperator>(BinOp)->getOperand(1); in getFNegArgument()
1955 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) { in getFNegArgument() argument
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp270 int BinOp = CurTok; in ParseBinOpRHS() local
286 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp371 int BinOp = CurTok; in ParseBinOpRHS() local
387 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/eigen/Eigen/src/Core/products/
DGeneralMatrixMatrix.h394 typedef internal::scalar_product_op<LhsScalar,RhsScalar> BinOp;
395 EIGEN_CHECK_BINARY_COMPATIBILIY(BinOp,LhsScalar,RhsScalar);
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp415 int BinOp = CurTok; in ParseBinOpRHS() local
431 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dparser.ml106 (* If BinOp binds less tightly with rhs than the operator after
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dparser.ml117 (* If BinOp binds less tightly with rhs than the operator after
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp480 int BinOp = CurTok; in ParseBinOpRHS() local
496 LHS = new BinaryExprAST(BinOp, LHS, RHS); in ParseBinOpRHS()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml131 (* If BinOp binds less tightly with rhs than the operator after
/external/clang/lib/AST/
DExpr.cpp3024 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(E)) { in getBitField() local
3025 if (BinOp->isAssignmentOp() && BinOp->getLHS()) in getBitField()
3026 return BinOp->getLHS()->getBitField(); in getBitField()
3028 if (BinOp->getOpcode() == BO_Comma && BinOp->getRHS()) in getBitField()
3029 return BinOp->getRHS()->getBitField(); in getBitField()
/external/clang/lib/Sema/
DSemaExpr.cpp8372 typedef BinaryOperator BinOp; in DiagnoseBitwisePrecedence() typedef
8373 BinOp::Opcode LHSopc = static_cast<BinOp::Opcode>(-1), in DiagnoseBitwisePrecedence()
8374 RHSopc = static_cast<BinOp::Opcode>(-1); in DiagnoseBitwisePrecedence()
8375 if (BinOp *BO = dyn_cast<BinOp>(LHSExpr)) in DiagnoseBitwisePrecedence()
8377 if (BinOp *BO = dyn_cast<BinOp>(RHSExpr)) in DiagnoseBitwisePrecedence()
8386 if ((BinOp::isComparisonOp(LHSopc) || BinOp::isBitwiseOp(LHSopc)) && in DiagnoseBitwisePrecedence()
8387 (BinOp::isComparisonOp(RHSopc) || BinOp::isBitwiseOp(RHSopc))) in DiagnoseBitwisePrecedence()
8390 bool isLeftComp = BinOp::isComparisonOp(LHSopc); in DiagnoseBitwisePrecedence()
8391 bool isRightComp = BinOp::isComparisonOp(RHSopc); in DiagnoseBitwisePrecedence()
8397 std::string OpStr = isLeftComp ? BinOp::getOpcodeStr(LHSopc) in DiagnoseBitwisePrecedence()
[all …]
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h91 template<typename BinOp, typename Lhs, typename Rhs> class SelfCwiseBinaryOp;

12