Searched refs:BO_Sub (Results 1 - 21 of 21) sorted by relevance

/external/clang/include/clang/AST/
H A DOperationKinds.h311 BO_Add, BO_Sub, // [C99 6.5.6] Additive operators. enumerator in enum:clang::BinaryOperatorKind
H A DStmtVisitor.h52 case BO_Sub: DISPATCH(BinSub, BinaryOperator);
H A DExpr.h2987 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; }
/external/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp36 if (B->getOpcode() != BO_Sub && B->getOpcode() != BO_Add)
H A DPointerSubChecker.cpp39 if (B->getOpcode() != BO_Sub)
H A DCStringSyntaxChecker.cpp114 if (BE->getOpcode() == BO_Sub) {
H A DMallocOverflowSecurityChecker.cpp78 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl)
H A DCStringChecker.cpp376 .evalBinOpNN(state, BO_Sub, *Length, One, sizeTy).castAs<NonLoc>();
567 maxMinusRight = svalBuilder.evalBinOpNN(state, BO_Sub, maxVal, right,
572 maxMinusRight = svalBuilder.evalBinOpNN(state, BO_Sub, maxVal, left,
1446 maxLastElementIndex = svalBuilder.evalBinOpNN(state, BO_Sub, *lenValNL,
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp166 SymbolRef Subtraction = SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub,
197 if (Op == BO_Add || Op == BO_Sub) {
204 if (Op == BO_Sub)
H A DSimpleSValBuilder.cpp244 case BO_Sub:
325 case BO_Sub:
501 newRHS = BasicVals.evalAPSInt(BO_Sub, first, second);
593 if (!(BinaryOperator::isComparisonOp(op) || op == BO_Sub))
601 case BO_Sub:
624 case BO_Sub:
704 if (op == BO_Sub)
889 case BO_Sub:
907 assert(op == BO_Add || op == BO_Sub);
H A DBasicValueFactory.cpp165 case BO_Sub:
H A DSVals.cpp225 assert(BinaryOperator::isComparisonOp(Op) || Op == BO_Sub); local
H A DExprEngineC.cpp113 case BO_SubAssign: Op = BO_Sub; break;
921 BinaryOperator::Opcode Op = U->isIncrementOp() ? BO_Add : BO_Sub;
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp872 case BO_Sub: CheckName = "sub_overflow"; break;
1631 BinOp.Opcode = isInc ? BO_Add : BO_Sub;
1772 BinOp.Opcode = BO_Sub;
2208 case BO_Sub:
2427 op.Opcode == BO_Sub || op.Opcode == BO_SubAssign) &&
3377 case BO_Sub:
/external/clang/lib/AST/
H A DExprConstant.cpp1641 case BO_Sub:
1738 case BO_Sub:
2755 (Opcode != BO_Add && Opcode != BO_Sub)) {
2761 if (Opcode == BO_Sub)
4691 E->getOpcode() != BO_Sub)
4708 if (E->getOpcode() == BO_Sub)
6511 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) {
6681 if (E->getOpcode() == BO_Sub || E->isComparisonOp()) {
6694 if (E->getOpcode() == BO_Sub) {
6747 if (E->getOpcode() == BO_Sub) {
[all...]
H A DStmtProfile.cpp675 BinaryOp = BO_Sub;
H A DExpr.cpp1739 case BO_Sub: return "-";
1775 case OO_Minus: return BO_Sub;
/external/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp317 case BO_Sub: return translateBinOp(til::BOP_Sub, BO, Ctx);
/external/clang/lib/Sema/
H A DSemaChecking.cpp4361 if (BE->getOpcode() == BO_Sub) {
4569 if (op != BO_Add && op != BO_Sub)
5161 case BO_Sub:
H A DSemaPseudoObject.cpp483 result = S.BuildBinOp(Sc, opcLoc, BO_Sub, result.get(), one);
H A DSemaExpr.cpp9178 case tok::minus: Opc = BO_Sub; break;
9364 case BO_Sub:
9614 if (Bop->getOpcode() == BO_Add || Bop->getOpcode() == BO_Sub) {

Completed in 291 milliseconds