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.cpp12105 bool LHSIsNull = LHSNullKind != Expr::NPCK_NotNull; in CheckCompareOperands() local
12122 if (CompositeTy->isPointerType() && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12127 << (LHSIsNull ? LHS.get()->getSourceRange() in CheckCompareOperands()
12136 if (!IsOrdered && LHSIsNull != RHSIsNull) { in CheckCompareOperands()
12161 if ((LHSType->isIntegerType() && !LHSIsNull) || in CheckCompareOperands()
12233 && !LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12242 if (getLangOpts().OpenCL && !LHSIsNull && !RHSIsNull) { in CheckCompareOperands()
12254 if (LHSIsNull && !RHSIsNull) in CheckCompareOperands()
12271 if (!IsOrdered && LHSIsNull && RHSIsNull) { in CheckCompareOperands()
12282 if (!getLangOpts().CPlusPlus && !IsOrdered && (LHSIsNull || RHSIsNull)) { in CheckCompareOperands()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11049 bool LHSIsNull = isa<ConstantPointerNull>(LHSV); in handleCmp() local
11051 if (!LHSIsNull && !RHSIsNull) in handleCmp()
11057 assert((LHSIsNull || RHSIsNull) && in handleCmp()
11061 unsigned PtrIdx = LHSIsNull; in handleCmp()