/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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() 4589 BinaryOperatorKind Opcode; 4593 SourceLocation LParenLoc, Expr *LHS, BinaryOperatorKind Opcode, in CXXFoldExpr() 4630 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
|
/netbsd-src/external/apache2/llvm/dist/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 | 8539 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp() 8554 static bool IsArithmeticBinaryExpr(Expr *E, BinaryOperatorKind *Opcode, in IsArithmeticBinaryExpr() 8586 BinaryOperatorKind OpKind = BinaryOperator::getOverloadedOpcode(OO); in IsArithmeticBinaryExpr() 8626 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence() 10600 SourceLocation Loc, BinaryOperatorKind Opc, in CheckAdditionOperands() 10830 SourceLocation Loc, BinaryOperatorKind Opc, in DiagnoseBadShiftValues() 11012 SourceLocation Loc, BinaryOperatorKind Opc, in CheckShiftOperands() 11275 BinaryOperatorKind Opc) { in diagnoseLogicalNotOnLHSofCheck() 11331 BinaryOperatorKind Opc) { in diagnoseTautologicalComparison() 11621 BinaryOperatorKind Opc) { in checkArithmeticOrEnumeralCompare() [all …]
|
H A D | SemaOpenMP.cpp | 126 using BOKPtrType = llvm::PointerEmbeddedInt<BinaryOperatorKind, 16>; 130 void set(BinaryOperatorKind BO, SourceRange RR) { in set() 528 BinaryOperatorKind BOK); 537 BinaryOperatorKind &BOK, 1427 BinaryOperatorKind BOK) { in addTaskgroupReductionData() 1479 const ValueDecl *D, SourceRange &SR, BinaryOperatorKind &BOK, in getTopMostTaskgroupReductionData() 8434 BinaryOperatorKind BOK = (OOK == OO_Plus) ? BO_Add : BO_Sub; in buildOrderedLoopData() 10419 BinaryOperatorKind Op; 16318 static BinaryOperatorKind 16319 getRelatedCompoundReductionOp(BinaryOperatorKind BOK) { in getRelatedCompoundReductionOp() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | RangeConstraintManager.cpp | 84 static size_t getIndexFromOp(BinaryOperatorKind OP) { in getIndexFromOp() 91 static BinaryOperatorKind getOpFromIndex(size_t Index) { in getOpFromIndex() 92 return static_cast<BinaryOperatorKind>(Index + BO_LT); in getOpFromIndex() 95 TriStateKind getCmpOpState(BinaryOperatorKind CurrentOP, in getCmpOpState() 96 BinaryOperatorKind QueriedOP) const { in getCmpOpState() 100 TriStateKind getCmpOpStateForUnknownX2(BinaryOperatorKind CurrentOP) const { in getCmpOpStateForUnknownX2() 1108 BinaryOperatorKind CurrentOP = SSE->getOpcode(); in getRangeForComparisonSymbol() 1129 BinaryOperatorKind QueriedOP = OperatorRelationsTable::getOpFromIndex(i); in getRangeForComparisonSymbol() 1136 const BinaryOperatorKind ROP = in getRangeForComparisonSymbol()
|
H A D | CheckerContext.cpp | 101 static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, in evalComparison()
|
H A D | ExplodedGraph.cpp | 363 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmtForDiagnostics()
|
H A D | SValBuilder.cpp | 426 if (op == BinaryOperatorKind::BO_Cmp) { in evalBinOp()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | Sema.h | 3842 BinaryOperatorKind Opc, 5442 static BinaryOperatorKind ConvertTokenKindToBinaryOpcode(tok::TokenKind Kind); 5448 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 5449 ExprResult CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, 5451 void LookupBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, 6103 BinaryOperatorKind Operator, 6108 BinaryOperatorKind Operator); 11561 BinaryOperatorKind Opc, QualType* CompLHSTy = nullptr); 11567 BinaryOperatorKind Opc, bool IsCompAssign = false); 11571 BinaryOperatorKind Opc); [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 2004 inline Optional<BinaryOperatorKind> 2010 inline Optional<BinaryOperatorKind>
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | StmtProfile.cpp | 1530 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() 1742 BinaryOperatorKind BinaryOp = BO_Comma; in VisitCXXOperatorCallExpr()
|
H A D | ExprConstant.cpp | 2731 BinaryOperatorKind Opcode, APSInt RHS, in handleIntIntBinOp() 2833 APFloat &LHS, BinaryOperatorKind Opcode, in handleFloatFloatBinOp() 2873 BinaryOperatorKind Opcode, in handleLogicalOpForVector() 2885 BinaryOperatorKind Opcode, in handleLogicalOpForVector() 2898 BinaryOperatorKind Opcode, in handleLogicalOpForVector() 2911 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, in handleCompareOpForVectorHelper() 2940 BinaryOperatorKind Opcode, in handleCompareOpForVector() 2953 BinaryOperatorKind Opcode, in handleVectorVectorBinOp() 4284 BinaryOperatorKind Opcode; 4408 BinaryOperatorKind Opcode, in handleCompoundAssignment() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 1163 static CompoundFunc getComplexOp(BinaryOperatorKind Op) { in getComplexOp()
|