| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerHelpers.h | 78 BinaryOperatorKind Bin; 84 explicit OperatorKind(BinaryOperatorKind Bin) : Op{Bin}, IsBinary{true} {} in OperatorKind() 88 BinaryOperatorKind GetBinaryOpUnsafe() const { in GetBinaryOpUnsafe() 93 std::optional<BinaryOperatorKind> GetBinaryOp() const { in GetBinaryOp()
|
| /freebsd/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 | InvalidatedIteratorChecker.cpp | 87 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | IteratorModeling.cpp | 163 bool isSimpleComparisonOperator(BinaryOperatorKind OK); 267 const BinaryOperatorKind OK = BO->getOpcode(); in checkPostStmt() 776 bool isSimpleComparisonOperator(BinaryOperatorKind OK) { in isSimpleComparisonOperator()
|
| H A D | ArrayBoundChecker.cpp | 189 auto EvalBinOp = [&SVB, State, T](BinaryOperatorKind Op, NonLoc L, NonLoc R) { in computeOffset() 344 const BinaryOperatorKind OpKind = CheckEquality ? BO_EQ : BO_LT; in compareValueToThreshold()
|
| H A D | IteratorRangeChecker.cpp | 164 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | DeadStoresChecker.cpp | 109 BinaryOperatorKind Op = BO->getOpcode(); in LookThroughTransitiveAssignmentsAndCommaOperators()
|
| H A D | IvarInvalidationChecker.cpp | 658 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OperationKinds.h | 25 enum BinaryOperatorKind { enum
|
| H A D | ExprCXX.h | 308 BinaryOperatorKind Opcode; 323 BinaryOperatorKind getOperator() const { return getDecomposedForm().Opcode; } in getOperator() 324 BinaryOperatorKind getOpcode() const { return getOperator(); } in getOpcode() 325 static StringRef getOpcodeStr(BinaryOperatorKind Op) { in getOpcodeStr() 4986 SourceLocation LParenLoc, Expr *LHS, BinaryOperatorKind Opcode, 5015 BinaryOperatorKind getOperator() const { return CXXFoldExprBits.Opcode; } in getOperator()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaPseudoObject.h | 33 BinaryOperatorKind Opcode, Expr *LHS, Expr *RHS);
|
| H A D | SemaHLSL.h | 141 void emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS, BinaryOperatorKind Opc);
|
| H A D | Sema.h | 2627 const Expr *RHS, BinaryOperatorKind Opcode); 7460 ExprResult BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, 7467 ExprResult CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, 7470 void LookupBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, 7817 BinaryOperatorKind Opc); 7820 BinaryOperatorKind Opc); 7823 BinaryOperatorKind Opc); 8065 BinaryOperatorKind Opc, QualType *CompLHSTy = nullptr); 8071 BinaryOperatorKind Opc, bool IsCompAssign = false); 8075 BinaryOperatorKind Opc); [all …]
|
| /freebsd/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() 892 BinaryOperatorKind opcode, in buildAssignmentOperation() 1000 BinaryOperatorKind opcode, in buildAssignmentOperation() 1504 BinaryOperatorKind opcode, in checkAssignment()
|
| H A D | SemaConcept.cpp | 398 bool Conjunction = FE->getOperator() == BinaryOperatorKind::BO_LAnd; in calculateConstraintSatisfaction() 485 (FE->getOperator() == BinaryOperatorKind::BO_LAnd || in calculateConstraintSatisfaction() 486 FE->getOperator() == BinaryOperatorKind::BO_LOr)) { in calculateConstraintSatisfaction() 1641 (FE->getOperator() == BinaryOperatorKind::BO_LAnd || in fromConstraintExpr() 1642 FE->getOperator() == BinaryOperatorKind::BO_LOr)) { in fromConstraintExpr() 1647 FE->getOperator() == BinaryOperatorKind::BO_LAnd in fromConstraintExpr() 1666 FE->getOperator() == BinaryOperatorKind::BO_LAnd ? CCK_Conjunction in fromConstraintExpr()
|
| H A D | SemaTemplateVariadic.cpp | 1429 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr() 1454 BinaryOperatorKind Operator, in BuildCXXFoldExpr() 1464 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
|
| H A D | SemaExpr.cpp | 8707 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp() 8722 static bool IsArithmeticBinaryExpr(const Expr *E, BinaryOperatorKind *Opcode, in IsArithmeticBinaryExpr() 8753 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() 8791 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence() 11126 SourceLocation Loc, BinaryOperatorKind Opc, in CheckAdditionOperands() 11406 SourceLocation Loc, BinaryOperatorKind Opc, in DiagnoseBadShiftValues() 11697 SourceLocation Loc, BinaryOperatorKind Opc, in CheckShiftOperands() 11922 BinaryOperatorKind Opc) { in diagnoseLogicalNotOnLHSofCheck() 11980 BinaryOperatorKind Opc) { in isTautologicalBoundsCheck() 12023 BinaryOperatorKind Opc) { in diagnoseTautologicalComparison() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 140 static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, in evalComparison()
|
| H A D | CheckerHelpers.cpp | 162 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() 1516 const BinaryOperatorKind CurrentOP = SSE->getOpcode(); in getRangeForComparisonSymbol() 1535 BinaryOperatorKind LastQueriedOpToUnknown = CurrentOP; in getRangeForComparisonSymbol() 1542 BinaryOperatorKind QueriedOP = OperatorRelationsTable::getOpFromIndex(i); in getRangeForComparisonSymbol() 1550 const BinaryOperatorKind ROP = in getRangeForComparisonSymbol()
|
| H A D | ExplodedGraph.cpp | 361 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmtForDiagnostics()
|
| H A D | SValBuilder.cpp | 506 if (op == BinaryOperatorKind::BO_Cmp) { in evalBinOp() 522 const auto IsCommutative = [](BinaryOperatorKind Op) { in evalBinOp()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 116 static std::tuple<const Expr *, BinaryOperatorKind, const Expr *> 118 BinaryOperatorKind Op = B->getOpcode(); in tryNormalizeBinaryOperator() 976 BinaryOperatorKind Bok = B->getOpcode(); in checkIncorrectRelationalOperator() 1084 TryResult analyzeLogicOperatorCondition(BinaryOperatorKind Relation, in analyzeLogicOperatorCondition() 1148 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() 1156 BinaryOperatorKind BO2; in checkIncorrectLogicOperator() 1188 const BinaryOperatorKind *BO1, in checkIncorrectLogicOperator() 1189 const BinaryOperatorKind *BO2) -> TryResult { in checkIncorrectLogicOperator()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprComplex.cpp | 101 e->getType(), e->getOpcode() == BinaryOperatorKind::BO_Div); \
|