Home
last modified time | relevance | path

Searched refs:RHSIsNull (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12453 bool RHSIsNull = RHSNullKind != Expr::NPCK_NotNull; in CheckCompareOperands() local
12469 if (CompositeTy->isPointerType() && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12483 if (!IsOrdered && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12485 if (RHSIsNull) in CheckCompareOperands()
12509 (RHSType->isIntegerType() && !RHSIsNull)) { in CheckCompareOperands()
12580 && !LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12589 if (getLangOpts().OpenCL && !LHSIsNull && !RHSIsNull) { in CheckCompareOperands()
12610 if (LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12627 if (!IsOrdered && LHSIsNull && RHSIsNull) { in CheckCompareOperands()
12638 if (!getLangOpts().CPlusPlus && !IsOrdered && (LHSIsNull || RHSIsNull)) { in CheckCompareOperands()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11128 bool RHSIsNull = isa<ConstantPointerNull>(RHSV); in handleCmp() local
11129 if (!LHSIsNull && !RHSIsNull) in handleCmp()
11135 assert((LHSIsNull || RHSIsNull) && in handleCmp()