Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:BinOp

48   BinaryOperator::Opcode Opcode; // Opcode of BinOp to perform
50 const Expr *E; // Entire expr, for error unsupported. May not be binop.
1597 BinOpInfo BinOp;
1598 BinOp.LHS = InVal;
1599 BinOp.RHS = llvm::ConstantInt::get(InVal->getType(), 1, false);
1600 BinOp.Ty = E->getType();
1601 BinOp.Opcode = IsInc ? BO_Add : BO_Sub;
1602 BinOp.FPContractable = false;
1603 BinOp.E = E;
1604 return BinOp;
1659 llvm::AtomicRMWInst::BinOp aop = isInc ? llvm::AtomicRMWInst::Add :
1857 BinOpInfo BinOp;
1858 BinOp.RHS = Visit(E->getSubExpr());
1860 if (BinOp.RHS->getType()->isFPOrFPVectorTy())
1861 BinOp.LHS = llvm::ConstantFP::getZeroValueForNegation(BinOp.RHS->getType());
1863 BinOp.LHS = llvm::Constant::getNullValue(BinOp.RHS->getType());
1864 BinOp.Ty = E->getType();
1865 BinOp.Opcode = BO_Sub;
1866 BinOp.FPContractable = false;
1867 BinOp.E = E;
1868 return EmitSub(BinOp);
2120 llvm::AtomicRMWInst::BinOp aop = llvm::AtomicRMWInst::BAD_BINOP;