Home
last modified time | relevance | path

Searched refs:isComparisonOp (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp37 if (BinaryOperator::isComparisonOp(op) && op != BO_Cmp) { in assumeSym()
51 if (BinaryOperator::isComparisonOp(Op)) { in assumeSym()
156 assert(BinaryOperator::isComparisonOp(Op) && in assumeSymRel()
166 if (BinaryOperator::isComparisonOp(SE->getOpcode())) in assumeSymRel()
H A DRangeConstraintManager.cpp1502 if (!BinaryOperator::isComparisonOp(CurrentOP) || (CurrentOP == BO_Cmp)) in getRangeForComparisonSymbol()
H A DBugReporterVisitors.cpp3082 !BinaryOperator::isComparisonOp(Op) || Op == BO_Cmp) in VisitTrueTest()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp230 if (E->isComparisonOp()) { in VisitBinaryOperator()
H A DIdenticalExprChecker.cpp190 if (BinaryOperator::isComparisonOp(Op)) in VisitBinaryOperator()
H A DIteratorModeling.cpp808 assert(BinaryOperator::isComparisonOp( in relateSymbols()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h359 if (BinaryOperator::isComparisonOp(Op) || in getBinExpr()
478 *hasComparison = BinaryOperator::isComparisonOp(BSE->getOpcode()); in getSymExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp245 IncludeIntegers &= (B->isLogicalOp() || B->isComparisonOp()); in isConfigurationValue()
H A DCFG.cpp1115 if (!LHS->isComparisonOp() || !RHS->isComparisonOp()) in checkIncorrectLogicOperator()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h125 static bool isComparisonOp(OverloadedOperatorKind Opc) { in isComparisonOp() function
139 bool isComparisonOp() const { return isComparisonOp(getOperator()); } in isComparisonOp() function
329 bool isComparisonOp() const { return true; } in isComparisonOp() function
H A DExpr.h3959 static bool isComparisonOp(Opcode Opc) { return Opc >= BO_Cmp && Opc<=BO_NE; } in isComparisonOp() function
3960 bool isComparisonOp() const { return isComparisonOp(getOpcode()); } in isComparisonOp() function
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp710 BO->isComparisonOp()) in VisitBinaryOperator()
5408 assert(E->isComparisonOp()); in emitComplexComparison()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5963 return Node.isComparisonOp(); in AST_POLYMORPHIC_MATCHER()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp3077 else if (BinaryOperator::isComparisonOp(Opcode)) in handleVectorVectorBinOp()
13526 assert(E->isComparisonOp() && "expected comparison operator"); in EvaluateComparisonBinaryOperator()
13625 assert(E->isComparisonOp() && "Invalid binary operator!"); in EvaluateComparisonBinaryOperator()
13854 assert(E->isComparisonOp() && "unexpected nullptr operation"); in EvaluateComparisonBinaryOperator()
13930 if (E->isComparisonOp()) { in VisitBinaryOperator()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp8602 return OP->isComparisonOp() || OP->isLogicalOp(); in ExprLooksBoolean()
14722 BI && BI->isComparisonOp()) in CreateBuiltinBinOp()
14886 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14887 bool isRightComp = RHSBO && RHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
15057 if (BinaryOperator::isComparisonOp(Opc)) in DiagnoseBinOpPrecedence()
H A DSemaStmt.cpp141 if (!Op->isComparisonOp()) in DiagnoseUnusedComparison()
H A DSemaChecking.cpp8378 if (!Size->isComparisonOp() && !Size->isLogicalOp()) in CheckMemorySizeofForComparison()
11390 if (BO->isComparisonOp()) in AnalyzeImplicitConversions()