Lines Matching refs:Bop
1182 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(S)) { in tryEvaluateBool() local
1183 if (Bop->isLogicalOp() || Bop->isEqualityOp()) { in tryEvaluateBool()
1195 switch (Bop->getOpcode()) { in tryEvaluateBool()
1204 if (Bop->getLHS()->EvaluateAsInt(LHSResult, *Context)) { in tryEvaluateBool()
1211 if (Bop->getRHS()->EvaluateAsInt(RHSResult, *Context)) { in tryEvaluateBool()
1228 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(E)) { in evaluateAsBooleanConditionNoCache() local
1229 if (Bop->isLogicalOp()) { in evaluateAsBooleanConditionNoCache()
1230 TryResult LHS = tryEvaluateBool(Bop->getLHS()); in evaluateAsBooleanConditionNoCache()
1234 if (LHS.isTrue() == (Bop->getOpcode() == BO_LOr)) in evaluateAsBooleanConditionNoCache()
1237 TryResult RHS = tryEvaluateBool(Bop->getRHS()); in evaluateAsBooleanConditionNoCache()
1239 if (Bop->getOpcode() == BO_LOr) in evaluateAsBooleanConditionNoCache()
1245 TryResult RHS = tryEvaluateBool(Bop->getRHS()); in evaluateAsBooleanConditionNoCache()
1249 if (RHS.isTrue() == (Bop->getOpcode() == BO_LOr)) in evaluateAsBooleanConditionNoCache()
1252 TryResult BopRes = checkIncorrectLogicOperator(Bop); in evaluateAsBooleanConditionNoCache()
1259 } else if (Bop->isEqualityOp()) { in evaluateAsBooleanConditionNoCache()
1260 TryResult BopRes = checkIncorrectEqualityOperator(Bop); in evaluateAsBooleanConditionNoCache()
1263 } else if (Bop->isRelationalOp()) { in evaluateAsBooleanConditionNoCache()
1264 TryResult BopRes = checkIncorrectRelationalOperator(Bop); in evaluateAsBooleanConditionNoCache()
1267 } else if (Bop->getOpcode() == BO_Or) { in evaluateAsBooleanConditionNoCache()
1268 TryResult BopRes = checkIncorrectBitwiseOrOperator(Bop); in evaluateAsBooleanConditionNoCache()