Lines Matching defs:BinOp
96 BinaryOperator::Opcode Opcode; // Opcode of BinOp to perform
141 if (const auto *BinOp = dyn_cast<BinaryOperator>(E)) {
142 QualType LHSType = BinOp->getLHS()->getType();
143 QualType RHSType = BinOp->getRHS()->getType();
153 if (const auto *BinOp = dyn_cast<BinaryOperator>(E)) {
154 QualType RHSType = BinOp->getRHS()->getType();
2736 BinOpInfo BinOp;
2737 BinOp.LHS = InVal;
2738 BinOp.RHS = llvm::ConstantInt::get(InVal->getType(), 1, false);
2739 BinOp.Ty = E->getType();
2740 BinOp.Opcode = IsInc ? BO_Add : BO_Sub;
2741 BinOp.FPFeatures = FPFeatures;
2742 BinOp.E = E;
2743 return BinOp;
2825 llvm::AtomicRMWInst::BinOp aop = isInc ? llvm::AtomicRMWInst::Add :
2841 llvm::AtomicRMWInst::BinOp aop =
3178 BinOpInfo BinOp;
3179 BinOp.RHS = Op;
3180 BinOp.LHS = llvm::Constant::getNullValue(BinOp.RHS->getType());
3181 BinOp.Ty = E->getType();
3182 BinOp.Opcode = BO_Sub;
3183 BinOp.FPFeatures = E->getFPFeaturesInEffect(CGF.getLangOpts());
3184 BinOp.E = E;
3185 return EmitSub(BinOp);
3553 llvm::AtomicRMWInst::BinOp AtomicOp = llvm::AtomicRMWInst::BAD_BINOP;
4204 if (const auto *BinOp = dyn_cast<BinaryOperator>(op.E)) {
4205 RHSTy = BinOp->getRHS()->getType();
4206 if (const auto *CAO = dyn_cast<CompoundAssignOperator>(BinOp)) {
4214 LHSTy = BinOp->getLHS()->getType();