Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12452 bool LHSIsNull = LHSNullKind != Expr::NPCK_NotNull; in CheckCompareOperands() local
12469 if (CompositeTy->isPointerType() && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12474 << (LHSIsNull ? LHS.get()->getSourceRange() in CheckCompareOperands()
12483 if (!IsOrdered && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12508 if ((LHSType->isIntegerType() && !LHSIsNull) || 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.cpp11127 bool LHSIsNull = isa<ConstantPointerNull>(LHSV); in handleCmp() local
11129 if (!LHSIsNull && !RHSIsNull) in handleCmp()
11135 assert((LHSIsNull || RHSIsNull) && in handleCmp()
11139 unsigned PtrIdx = LHSIsNull; in handleCmp()