Lines Matching defs:BinaryOperator
49 if (auto *BO = dyn_cast<BinaryOperator>(E)) {
115 } else if (const auto *BO = dyn_cast<BinaryOperator>(E)) {
161 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
1557 if (auto *BO = dyn_cast<BinaryOperator>(CEE)) {
2148 StringRef BinaryOperator::getOpcodeStr(Opcode Op) {
2157 BinaryOperator::getOverloadedOpcode(OverloadedOperatorKind OO) {
2195 OverloadedOperatorKind BinaryOperator::getOverloadedOperator(Opcode Opc) {
2220 bool BinaryOperator::isNullPointerArithmeticExtension(ASTContext &Ctx,
2585 if (auto *BO = dyn_cast<BinaryOperator>(E)) {
2687 const BinaryOperator *BO = cast<BinaryOperator>(this);
2883 if (auto *BO = dyn_cast<BinaryOperator>(POE->getSyntacticForm()))
3065 if (const BinaryOperator *op = dyn_cast<BinaryOperator>(expr)) {
3261 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E))
3752 if (cast<BinaryOperator>(this)->isAssignmentOp())
3898 if (auto BO = dyn_cast<BinaryOperator>(this))
4100 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
4163 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(E)) {
4792 /// return the resulting BinaryOperator responsible for the addition so we can
4794 static std::optional<BinaryOperator *>
4795 getOverflowPatternBinOp(const BinaryOperator *E) {
4808 BinaryOperator *BO = dyn_cast<BinaryOperator>(Addition);
4838 /// BinaryOperator expression matches an overflow pattern being ignored by
4842 const BinaryOperator *E) {
4843 std::optional<BinaryOperator *> Result = getOverflowPatternBinOp(E);
4857 BinaryOperator::BinaryOperator(const ASTContext &Ctx, Expr *lhs, Expr *rhs,
4876 BinaryOperator::BinaryOperator(const ASTContext &Ctx, Expr *lhs, Expr *rhs,
4894 BinaryOperator *BinaryOperator::CreateEmpty(const ASTContext &C,
4898 C.Allocate(sizeof(BinaryOperator) + Extra, alignof(BinaryOperator));
4899 return new (Mem) BinaryOperator(EmptyShell());
4902 BinaryOperator *BinaryOperator::Create(const ASTContext &C, Expr *lhs,
4910 C.Allocate(sizeof(BinaryOperator) + Extra, alignof(BinaryOperator));
4912 BinaryOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures);