| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerHelpers.h | 76 BinaryOperatorKind Bin; 82 explicit OperatorKind(BinaryOperatorKind Bin) : Op{Bin}, IsBinary{true} {} in OperatorKind() 86 BinaryOperatorKind GetBinaryOpUnsafe() const { in GetBinaryOpUnsafe() 91 std::optional<BinaryOperatorKind> GetBinaryOp() const { in GetBinaryOp()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | Iterator.h | 152 bool isAccessOperator(BinaryOperatorKind OK); 155 bool isDereferenceOperator(BinaryOperatorKind OK); 161 bool isRandomIncrOrDecrOperator(BinaryOperatorKind OK);
|
| H A D | Iterator.cpp | 136 bool isAccessOperator(BinaryOperatorKind OK) { in isAccessOperator() 149 bool isDereferenceOperator(BinaryOperatorKind OK) { in isDereferenceOperator() 174 bool isRandomIncrOrDecrOperator(BinaryOperatorKind OK) { in isRandomIncrOrDecrOperator()
|
| H A D | MallocOverflowSecurityChecker.cpp | 63 static inline bool EvaluatesToZero(APSInt &Val, BinaryOperatorKind op) { in EvaluatesToZero() 84 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
|
| H A D | InvalidatedIteratorChecker.cpp | 87 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | ArrayBoundCheckerV2.cpp | 88 auto EvalBinOp = [&SVB, State, T](BinaryOperatorKind Op, NonLoc L, NonLoc R) { in computeOffset() 199 const BinaryOperatorKind OpKind = CheckEquality ? BO_EQ : BO_LT; in compareValueToThreshold()
|
| H A D | IteratorModeling.cpp | 161 bool isSimpleComparisonOperator(BinaryOperatorKind OK); 265 const BinaryOperatorKind OK = BO->getOpcode(); in checkPostStmt() 768 bool isSimpleComparisonOperator(BinaryOperatorKind OK) { in isSimpleComparisonOperator()
|
| H A D | PointerArithChecker.cpp | 313 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt()
|
| H A D | IteratorRangeChecker.cpp | 159 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | DeadStoresChecker.cpp | 110 BinaryOperatorKind Op = BO->getOpcode(); in LookThroughTransitiveAssignmentsAndCommaOperators()
|
| H A D | IvarInvalidationChecker.cpp | 659 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OperationKinds.h | 25 enum BinaryOperatorKind { enum
|
| H A D | ExprCXX.h | 306 BinaryOperatorKind Opcode; 321 BinaryOperatorKind getOperator() const { return getDecomposedForm().Opcode; } in getOperator() 322 BinaryOperatorKind getOpcode() const { return getOperator(); } in getOpcode() 323 static StringRef getOpcodeStr(BinaryOperatorKind Op) { in getOpcodeStr() 4705 BinaryOperatorKind Opcode; 4709 SourceLocation LParenLoc, Expr *LHS, BinaryOperatorKind Opcode, in CXXFoldExpr() 4746 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 216 BinaryOperatorKind opcode, 289 BinaryOperatorKind opcode, 328 BinaryOperatorKind opcode, 430 BinaryOperatorKind opcode, in buildAssignmentOperation() 464 BinaryOperatorKind nonCompound = in buildAssignmentOperation() 891 BinaryOperatorKind opcode, in buildAssignmentOperation() 999 BinaryOperatorKind opcode, in buildAssignmentOperation() 1589 BinaryOperatorKind opcode, in checkPseudoObjectAssignment()
|
| H A D | SemaTemplateVariadic.cpp | 1239 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr() 1264 BinaryOperatorKind Operator, in BuildCXXFoldExpr() 1274 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
|
| H A D | SemaExpr.cpp | 9529 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp() 9613 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence() 13061 BinaryOperatorKind Opc) { in CheckCompareOperands() 13612 BinaryOperatorKind Opc) { in CheckVectorCompareOperands() 13942 static bool isLegalBoolVectorBinaryOp(BinaryOperatorKind Opc) { in isLegalBoolVectorBinaryOp() 14570 BinaryOperatorKind Opc) { in CheckAssignmentOperands() 15316 BinaryOperatorKind Opc; in ConvertTokenKindToBinaryOpcode() 15594 BinaryOperatorKind Opc, in CreateBuiltinBinOp() 16064 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Kind); in ActOnBinOp() 16089 BinaryOperatorKind Opc, in BuildOverloadedBinOp() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 127 static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, in evalComparison()
|
| H A D | CheckerHelpers.cpp | 153 llvm::StringMap<BinaryOperatorKind> BinOps{ in operationKindFromOverloadedOperator()
|
| H A D | RangeConstraintManager.cpp | 87 static size_t getIndexFromOp(BinaryOperatorKind OP) { in getIndexFromOp() 94 static BinaryOperatorKind getOpFromIndex(size_t Index) { in getOpFromIndex() 95 return static_cast<BinaryOperatorKind>(Index + BO_LT); in getOpFromIndex() 98 TriStateKind getCmpOpState(BinaryOperatorKind CurrentOP, in getCmpOpState() 99 BinaryOperatorKind QueriedOP) const { in getCmpOpState() 103 TriStateKind getCmpOpStateForUnknownX2(BinaryOperatorKind CurrentOP) const { in getCmpOpStateForUnknownX2() 1499 const BinaryOperatorKind CurrentOP = SSE->getOpcode(); in getRangeForComparisonSymbol() 1518 BinaryOperatorKind LastQueriedOpToUnknown = CurrentOP; in getRangeForComparisonSymbol() 1525 BinaryOperatorKind QueriedOP = OperatorRelationsTable::getOpFromIndex(i); in getRangeForComparisonSymbol() 1532 const BinaryOperatorKind ROP = in getRangeForComparisonSymbol()
|
| H A D | ExplodedGraph.cpp | 361 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmtForDiagnostics()
|
| H A D | SValBuilder.cpp | 505 if (op == BinaryOperatorKind::BO_Cmp) { in evalBinOp() 521 const auto IsCommutative = [](BinaryOperatorKind Op) { in evalBinOp()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 491 BinaryOperatorKind Op = E->getOpcode(); in VisitPointerArithBinOp() 540 BinaryOperatorKind Op = E->getOpcode(); in VisitLogicalBinOp() 636 BinaryOperatorKind Op = E->getOpcode(); in VisitComplexBinOp() 1296 BinaryOperatorKind Op = E->getOpcode(); in VisitPointerCompoundAssignOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4300 BinaryOperatorKind Opc, 6767 BinaryOperatorKind Operator, 6772 BinaryOperatorKind Operator); 12950 BinaryOperatorKind Opc, QualType* CompLHSTy = nullptr); 12956 BinaryOperatorKind Opc, bool IsCompAssign = false); 12960 BinaryOperatorKind Opc); 12963 BinaryOperatorKind Opc); 12966 BinaryOperatorKind Opc); 12972 BinaryOperatorKind Opc); 13027 BinaryOperatorKind Opc); [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 117 static std::tuple<const Expr *, BinaryOperatorKind, const Expr *> 119 BinaryOperatorKind Op = B->getOpcode(); in tryNormalizeBinaryOperator() 948 BinaryOperatorKind Bok = B->getOpcode(); in checkIncorrectRelationalOperator() 1055 TryResult analyzeLogicOperatorCondition(BinaryOperatorKind Relation, in analyzeLogicOperatorCondition() 1120 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() 1128 BinaryOperatorKind BO2; in checkIncorrectLogicOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1976 inline std::optional<BinaryOperatorKind> 1982 inline std::optional<BinaryOperatorKind>
|