| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 119 if ((B->getOpcode() == BinaryOperatorKind::BO_Shl || in checkPostStmt() 120 B->getOpcode() == BinaryOperatorKind::BO_Shr) && in checkPostStmt() 123 << ((B->getOpcode() == BinaryOperatorKind::BO_Shl) ? "left" in checkPostStmt() 127 } else if ((B->getOpcode() == BinaryOperatorKind::BO_Shl || in checkPostStmt() 128 B->getOpcode() == BinaryOperatorKind::BO_Shr) && in checkPostStmt() 132 << ((B->getOpcode() == BinaryOperatorKind::BO_Shl) ? "left" in checkPostStmt() 149 } else if (B->getOpcode() == BinaryOperatorKind::BO_Shl && in checkPostStmt() 154 } else if (B->getOpcode() == BinaryOperatorKind::BO_Shl && in checkPostStmt()
|
| H A D | Iterator.h | 156 bool isAccessOperator(BinaryOperatorKind OK); 159 bool isDereferenceOperator(BinaryOperatorKind OK); 165 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 | 60 static inline bool EvaluatesToZero(APSInt &Val, BinaryOperatorKind op) { in EvaluatesToZero() 82 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
|
| H A D | InvalidatedIteratorChecker.cpp | 92 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | IteratorModeling.cpp | 162 bool isSimpleComparisonOperator(BinaryOperatorKind OK); 266 const BinaryOperatorKind OK = BO->getOpcode(); in checkPostStmt() 774 bool isSimpleComparisonOperator(BinaryOperatorKind OK) { in isSimpleComparisonOperator()
|
| H A D | PointerArithChecker.cpp | 319 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt()
|
| H A D | IteratorRangeChecker.cpp | 165 BinaryOperatorKind OK = BO->getOpcode(); in checkPreStmt()
|
| H A D | IvarInvalidationChecker.cpp | 673 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
|
| H A D | SmartPtrModeling.cpp | 496 BinaryOperatorKind BOK = in handleComparisionOp()
|
| /freebsd-13.1/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 Optional<BinaryOperatorKind> GetBinaryOp() const { in GetBinaryOp()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OperationKinds.h | 25 enum BinaryOperatorKind { enum
|
| H A D | ExprCXX.h | 307 BinaryOperatorKind Opcode; 322 BinaryOperatorKind getOperator() const { return getDecomposedForm().Opcode; } in getOperator() 323 BinaryOperatorKind getOpcode() const { return getOperator(); } in getOpcode() 324 static StringRef getOpcodeStr(BinaryOperatorKind Op) { in getOpcodeStr() 4587 BinaryOperatorKind Opcode; 4591 SourceLocation LParenLoc, Expr *LHS, BinaryOperatorKind Opcode, in CXXFoldExpr() 4628 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 211 BinaryOperatorKind opcode, 284 BinaryOperatorKind opcode, 323 BinaryOperatorKind opcode, 425 BinaryOperatorKind opcode, in buildAssignmentOperation() 459 BinaryOperatorKind nonCompound = in buildAssignmentOperation() 886 BinaryOperatorKind opcode, in buildAssignmentOperation() 994 BinaryOperatorKind opcode, in buildAssignmentOperation() 1583 BinaryOperatorKind opcode, in checkPseudoObjectAssignment()
|
| H A D | SemaTemplateVariadic.cpp | 1227 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr() 1252 BinaryOperatorKind Operator, in BuildCXXFoldExpr() 1262 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
|
| H A D | SemaExpr.cpp | 8603 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp() 8690 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence() 11364 BinaryOperatorKind Opc) { in diagnoseLogicalNotOnLHSofCheck() 11420 BinaryOperatorKind Opc) { in diagnoseTautologicalComparison() 11763 BinaryOperatorKind Opc) { in CheckCompareOperands() 12264 BinaryOperatorKind Opc) { in CheckVectorCompareOperands() 13839 BinaryOperatorKind Opc; in ConvertTokenKindToBinaryOpcode() 14077 BinaryOperatorKind Opc, in CreateBuiltinBinOp() 14557 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Kind); in ActOnBinOp() 14582 BinaryOperatorKind Opc, in BuildOverloadedBinOp() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 105 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 | 86 static size_t getIndexFromOp(BinaryOperatorKind OP) { in getIndexFromOp() 93 static BinaryOperatorKind getOpFromIndex(size_t Index) { in getOpFromIndex() 94 return static_cast<BinaryOperatorKind>(Index + BO_LT); in getOpFromIndex() 97 TriStateKind getCmpOpState(BinaryOperatorKind CurrentOP, in getCmpOpState() 98 BinaryOperatorKind QueriedOP) const { in getCmpOpState() 102 TriStateKind getCmpOpStateForUnknownX2(BinaryOperatorKind CurrentOP) const { in getCmpOpStateForUnknownX2() 1115 BinaryOperatorKind CurrentOP = SSE->getOpcode(); in getRangeForComparisonSymbol() 1136 BinaryOperatorKind QueriedOP = OperatorRelationsTable::getOpFromIndex(i); in getRangeForComparisonSymbol() 1143 const BinaryOperatorKind ROP = in getRangeForComparisonSymbol()
|
| H A D | ExplodedGraph.cpp | 363 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmtForDiagnostics()
|
| H A D | SValBuilder.cpp | 440 if (op == BinaryOperatorKind::BO_Cmp) { in evalBinOp()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 3872 BinaryOperatorKind Opc, 5502 void LookupBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, 6170 BinaryOperatorKind Operator, 6175 BinaryOperatorKind Operator); 11662 BinaryOperatorKind Opc, QualType* CompLHSTy = nullptr); 11668 BinaryOperatorKind Opc, bool IsCompAssign = false); 11672 BinaryOperatorKind Opc); 11675 BinaryOperatorKind Opc); 11678 BinaryOperatorKind Opc); 11688 BinaryOperatorKind Opcode, [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 113 static std::tuple<const Expr *, BinaryOperatorKind, const Expr *> 115 BinaryOperatorKind Op = B->getOpcode(); in tryNormalizeBinaryOperator() 943 BinaryOperatorKind Bok = B->getOpcode(); in checkIncorrectRelationalOperator() 1008 TryResult analyzeLogicOperatorCondition(BinaryOperatorKind Relation, in analyzeLogicOperatorCondition() 1048 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() 1056 BinaryOperatorKind BO2; in checkIncorrectLogicOperator()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 2004 inline Optional<BinaryOperatorKind> 2010 inline Optional<BinaryOperatorKind>
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtProfile.cpp | 1547 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() 1759 BinaryOperatorKind BinaryOp = BO_Comma; in VisitCXXOperatorCallExpr()
|