Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp12681 bool LHSIsNull = LHSNullKind != Expr::NPCK_NotNull; in CheckCompareOperands() local
12698 if (CompositeTy->isPointerType() && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12703 << (LHSIsNull ? LHS.get()->getSourceRange() in CheckCompareOperands()
12712 if (!IsOrdered && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12737 if ((LHSType->isIntegerType() && !LHSIsNull) || in CheckCompareOperands()
12809 && !LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12818 if (getLangOpts().OpenCL && !LHSIsNull && !RHSIsNull) { in CheckCompareOperands()
12830 if (LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12846 if (!IsOrdered && LHSIsNull && RHSIsNull) { in CheckCompareOperands()
12857 if (!getLangOpts().CPlusPlus && !IsOrdered && (LHSIsNull || RHSIsNull)) { in CheckCompareOperands()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp10681 bool LHSIsNull = isa<ConstantPointerNull>(LHS); in handleCmp() local
10683 if (!LHSIsNull && !RHSIsNull) in handleCmp()
10689 assert((LHSIsNull || RHSIsNull) && in handleCmp()
10693 unsigned PtrIdx = LHSIsNull; in handleCmp()