| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 983 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP() 990 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP() 997 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP() 1002 !NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace()))) in canSimplifyNullLoadOrGEP() 1091 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst() 1097 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst()
|
| H A D | InstCombineCompares.cpp | 695 !NullPointerIsDefined(I.getFunction(), in foldGEPICmp() 6793 NullPointerIsDefined( in foldICmpInvariantGroup()
|
| H A D | InstCombineCalls.cpp | 3666 !NullPointerIsDefined(Call.getFunction())) || in visitCallBase()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 1499 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck() 1502 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck() 1535 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheck() 1709 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheckRecursive()
|
| H A D | LoopAccessAnalysis.cpp | 1390 !NullPointerIsDefined( in processMemAccesses() 1543 if (!NullPointerIsDefined(Lp->getHeader()->getParent(), AddrSpace) && in getPtrStride()
|
| H A D | ValueTracking.cpp | 593 !NullPointerIsDefined(Q.CxtI->getFunction(), in isKnownNonZeroFromAssume() 2104 NullPointerIsDefined(F, GEP->getPointerAddressSpace())) in isGEPKnownNonNull() 2186 if (!NullPointerIsDefined(I->getFunction(), in isKnownNonNullFromDominatingCondition() 2665 !NullPointerIsDefined(LI->getFunction(), PtrT->getAddressSpace()))) in isKnownNonZeroFromOperator() 2841 !NullPointerIsDefined(A->getParent(), PtrTy->getAddressSpace())) || in isKnownNonZero()
|
| H A D | LazyValueInfo.cpp | 692 if (NullPointerIsDefined(BB->getParent(), in isNonNullAtEndOfBlock()
|
| H A D | ConstantFolding.cpp | 2040 !NullPointerIsDefined( in ConstantFoldScalarCall1()
|
| H A D | InstructionSimplify.cpp | 2783 Opts.NullIsUnknownSize = F ? NullPointerIsDefined(F) : true; in computePointerICmp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 983 bool NullPointerIsDefined(const Function *F, unsigned AS = 0);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 259 if (!NullPointerIsDefined(MemInst->getFunction(), in addAccessedPtr()
|
| H A D | Local.cpp | 2975 !NullPointerIsDefined(CI->getFunction(), in markAliveBlocks() 3006 !NullPointerIsDefined(SI->getFunction(), in markAliveBlocks() 3020 !NullPointerIsDefined(BB->getParent())) || in markAliveBlocks()
|
| H A D | SimplifyLibCalls.cpp | 265 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes() 272 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes() 294 if (llvm::NullPointerIsDefined(F, AS)) in annotateNonNullNoUndefBasedOnAccess()
|
| H A D | SimplifyCFG.cpp | 7412 return !NullPointerIsDefined(LI->getFunction(), in passingValueIsAlwaysUndefined() 7418 return (!NullPointerIsDefined(SI->getFunction(), in passingValueIsAlwaysUndefined() 7423 if (C->isNullValue() && NullPointerIsDefined(CB->getFunction())) in passingValueIsAlwaysUndefined()
|
| H A D | SCCPSolver.cpp | 1612 if (NullPointerIsDefined(I.getFunction(), I.getPointerAddressSpace())) in visitLoadInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 648 if (NullPointerIsDefined(I->getFunction())) in AllUsesOfValueWillTrapIfNull() 751 if (NullPointerIsDefined(I->getFunction())) in OptimizeAwayTrappingUsesOfValue() 1123 !NullPointerIsDefined( in optimizeOnceStoredGlobal()
|
| H A D | AttributorAttributes.cpp | 2423 if (!NullPointerIsDefined(IRP.getAnchorScope(), in isImpliedByIR() 2490 bool NullPointerIsDefined = in getKnownNonNullAndDerefBytesForUse() local 2491 F ? llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace()) : true; in getKnownNonNullAndDerefBytesForUse() 2498 (RK.AttrKind == Attribute::NonNull || !NullPointerIsDefined); in getKnownNonNullAndDerefBytesForUse() 2505 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2532 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2541 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2954 if (llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace())) in updateImpl() 3737 !NullPointerIsDefined(IRP.getAnchorScope(), in isImpliedByIR() 8584 (!NullPointerIsDefined(getAssociatedFunction(), AccessAS) || in categorizePtrValue() [all …]
|
| H A D | Attributor.cpp | 391 if (!NullPointerIsDefined(I.getFunction(), in getPotentialCopiesOfMemoryValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 125 !NullPointerIsDefined(getParent(), in hasNonNullAttr() 2007 bool llvm::NullPointerIsDefined(const Function *F, unsigned AS) { in NullPointerIsDefined() function in llvm
|
| H A D | ConstantFold.cpp | 1153 !NullPointerIsDefined(nullptr /* F */, in evaluateICmpRelation()
|
| H A D | Instructions.cpp | 382 !NullPointerIsDefined(getCaller(), getType()->getPointerAddressSpace())) in isReturnNonNull()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 212 Opts.NullIsUnknownSize = NullPointerIsDefined(F); in getPointerSize()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 5392 bool PerformNullCheck = !NullPointerIsDefined( in EmitCheckedInBoundsGEP()
|