| /freebsd-12.1/contrib/llvm/tools/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 | MallocOverflowSecurityChecker.cpp | 61 static inline bool EvaluatesToZero(APSInt &Val, BinaryOperatorKind op) { in EvaluatesToZero() 83 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
|
| H A D | PointerArithChecker.cpp | 320 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt()
|
| H A D | IvarInvalidationChecker.cpp | 674 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
|
| H A D | CStringChecker.cpp | 2028 BinaryOperatorKind op = (compareRes == 1) ? BO_GT : BO_LT; in evalStrcmpCommon()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | OperationKinds.h | 26 enum BinaryOperatorKind { enum
|
| H A D | ExprCXX.h | 4274 BinaryOperatorKind Opcode; 4278 BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS, in CXXFoldExpr() 4309 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
|
| H A D | Expr.h | 3297 typedef BinaryOperatorKind Opcode;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 220 BinaryOperatorKind opcode, 293 BinaryOperatorKind opcode, 332 BinaryOperatorKind opcode, 434 BinaryOperatorKind opcode, in buildAssignmentOperation() 468 BinaryOperatorKind nonCompound = in buildAssignmentOperation() 896 BinaryOperatorKind opcode, in buildAssignmentOperation() 1004 BinaryOperatorKind opcode, in buildAssignmentOperation() 1592 BinaryOperatorKind opcode, in checkPseudoObjectAssignment()
|
| H A D | SemaTemplateVariadic.cpp | 1175 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr() 1180 BinaryOperatorKind Operator, in BuildCXXFoldExpr() 1188 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
|
| H A D | SemaExpr.cpp | 7312 static bool IsArithmeticOp(BinaryOperatorKind Opc) { in IsArithmeticOp() 7394 BinaryOperatorKind CondOpcode; in DiagnoseConditionalPrecedence() 9900 BinaryOperatorKind Opc) { in diagnoseLogicalNotOnLHSofCheck() 9958 BinaryOperatorKind Opc) { in diagnoseTautologicalComparison() 10259 BinaryOperatorKind Opc) { in CheckCompareOperands() 10740 BinaryOperatorKind Opc) { in CheckVectorCompareOperands() 12041 BinaryOperatorKind Opc; in ConvertTokenKindToBinaryOpcode() 12260 BinaryOperatorKind Opc, in CreateBuiltinBinOp() 12710 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Kind); in ActOnBinOp() 12722 BinaryOperatorKind Opc, in BuildOverloadedBinOp() [all …]
|
| H A D | SemaOpenMP.cpp | 104 using BOKPtrType = llvm::PointerEmbeddedInt<BinaryOperatorKind, 16>; 108 void set(BinaryOperatorKind BO, SourceRange RR) { in set() 311 BinaryOperatorKind BOK); 320 BinaryOperatorKind &BOK, 965 BinaryOperatorKind BOK) { in addTaskgroupReductionData() 1011 const ValueDecl *D, SourceRange &SR, BinaryOperatorKind &BOK, in getTopMostTaskgroupReductionData() 4640 BinaryOperatorKind BOK = (OOK == OO_Plus) ? BO_Add : BO_Sub; in buildOrderedLoopData() 6338 BinaryOperatorKind Op; 10839 BinaryOperatorKind BOK = BO_Comma; in actOnOMPReductionKindClause() 11364 BinaryOperatorKind ParentBOK; in actOnOMPReductionKindClause()
|
| H A D | TreeTransform.h | 2302 BinaryOperatorKind Opc, in RebuildBinaryOperator() 3220 BinaryOperatorKind Operator, in RebuildCXXFoldExpr() 3232 BinaryOperatorKind Operator) { in RebuildEmptyCXXFoldExpr() 12692 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr() 12734 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr() 12797 BinaryOperatorKind Opc = BinaryOperator::getOverloadedOpcode(Op); in RebuildCXXOperatorCallExpr()
|
| H A D | SemaChecking.cpp | 6220 BinaryOperatorKind BinOpKind, in sumOffsets() 6569 BinaryOperatorKind BinOpKind = BinOp->getOpcode(); in checkFormatStringExpr() 10041 constantValue(BinaryOperatorKind Op, ComparisonResult R, bool ConstantOnRHS) { in constantValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 102 static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, in evalComparison()
|
| H A D | PathDiagnostic.cpp | 808 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 2986 BinaryOperatorKind Opc, 4450 ExprResult CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, 5093 BinaryOperatorKind Operator, 5097 BinaryOperatorKind Operator); 9690 BinaryOperatorKind Opc, QualType* CompLHSTy = nullptr); 9696 BinaryOperatorKind Opc, bool IsCompAssign = false); 9699 BinaryOperatorKind Opc); 9702 BinaryOperatorKind Opc); 9705 BinaryOperatorKind Opc); 9715 BinaryOperatorKind Opcode, [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CFG.cpp | 89 static std::tuple<const DeclRefExpr *, BinaryOperatorKind, const Expr *> 91 BinaryOperatorKind Op = B->getOpcode(); in tryNormalizeBinaryOperator() 914 BinaryOperatorKind Bok = B->getOpcode(); in checkIncorrectRelationalOperator() 979 TryResult analyzeLogicOperatorCondition(BinaryOperatorKind Relation, in analyzeLogicOperatorCondition() 1019 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() 1027 BinaryOperatorKind BO2; in checkIncorrectLogicOperator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | StmtProfile.cpp | 1289 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() 1499 BinaryOperatorKind BinaryOp = BO_Comma; in VisitCXXOperatorCallExpr()
|
| H A D | ExprConstant.cpp | 2221 BinaryOperatorKind Opcode, APSInt RHS, in handleIntIntBinOp() 2321 APFloat &LHS, BinaryOperatorKind Opcode, in handleFloatFloatBinOp() 3402 BinaryOperatorKind Opcode; 3512 BinaryOperatorKind Opcode, const APValue &RVal) { in handleCompoundAssignment()
|
| H A D | Expr.cpp | 1896 BinaryOperatorKind
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 1132 static CompoundFunc getComplexOp(BinaryOperatorKind Op) { in getComplexOp()
|
| H A D | CGStmtOpenMP.cpp | 3653 BinaryOperatorKind BO, in emitOMPAtomicRMW() 3746 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart, in EmitOMPAtomicSimpleUpdateExpr()
|
| H A D | CodeGenFunction.h | 3008 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1812 E->Opcode = (BinaryOperatorKind)Record.readInt(); in VisitCXXFoldExpr()
|