Home
last modified time | relevance | path

Searched refs:BinaryOperatorKind (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DUndefResultChecker.cpp119 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 DMallocOverflowSecurityChecker.cpp61 static inline bool EvaluatesToZero(APSInt &Val, BinaryOperatorKind op) { in EvaluatesToZero()
83 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
H A DPointerArithChecker.cpp320 BinaryOperatorKind OpKind = BOp->getOpcode(); in checkPreStmt()
H A DIvarInvalidationChecker.cpp674 BinaryOperatorKind Opcode = BO->getOpcode(); in VisitBinaryOperator()
H A DCStringChecker.cpp2028 BinaryOperatorKind op = (compareRes == 1) ? BO_GT : BO_LT; in evalStrcmpCommon()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DOperationKinds.h26 enum BinaryOperatorKind { enum
H A DExprCXX.h4274 BinaryOperatorKind Opcode;
4278 BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS, in CXXFoldExpr()
4309 BinaryOperatorKind getOperator() const { return Opcode; } in getOperator()
H A DExpr.h3297 typedef BinaryOperatorKind Opcode;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaPseudoObject.cpp220 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 DSemaTemplateVariadic.cpp1175 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr()
1180 BinaryOperatorKind Operator, in BuildCXXFoldExpr()
1188 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr()
H A DSemaExpr.cpp7312 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 DSemaOpenMP.cpp104 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 DTreeTransform.h2302 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 DSemaChecking.cpp6220 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 DCheckerContext.cpp102 static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp, in evalComparison()
H A DPathDiagnostic.cpp808 BinaryOperatorKind Op = cast<BinaryOperator>(S)->getOpcode(); in getNextStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h2986 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 DCFG.cpp89 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 DStmtProfile.cpp1289 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall()
1499 BinaryOperatorKind BinaryOp = BO_Comma; in VisitCXXOperatorCallExpr()
H A DExprConstant.cpp2221 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 DExpr.cpp1896 BinaryOperatorKind
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprComplex.cpp1132 static CompoundFunc getComplexOp(BinaryOperatorKind Op) { in getComplexOp()
H A DCGStmtOpenMP.cpp3653 BinaryOperatorKind BO, in emitOMPAtomicRMW()
3746 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart, in EmitOMPAtomicSimpleUpdateExpr()
H A DCodeGenFunction.h3008 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1812 E->Opcode = (BinaryOperatorKind)Record.readInt(); in VisitCXXFoldExpr()

12