| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 990 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP() 997 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP() 1004 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP() 1009 !NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace()))) in canSimplifyNullLoadOrGEP() 1141 if (!NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace())) in visitLoadInst() 1509 if (!NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in visitStoreInst()
|
| H A D | InstCombineCalls.cpp | 1740 !NullPointerIsDefined( in visitCallInst() 4117 !NullPointerIsDefined(Call.getFunction(), in visitCallBase() 4193 !NullPointerIsDefined(Call.getFunction())) || in visitCallBase()
|
| H A D | InstCombineCompares.cpp | 723 !NullPointerIsDefined(I.getFunction(), in foldGEPICmp() 7406 NullPointerIsDefined( in foldICmpInvariantGroup()
|
| H A D | InstructionCombining.cpp | 3865 !NullPointerIsDefined(F, RetTy->getPointerAddressSpace()))) { in visitReturnInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 1609 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck() 1612 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck() 1647 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheck() 1841 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheckRecursive()
|
| H A D | GlobalsModRef.cpp | 776 if (!NullPointerIsDefined(F, CPN->getType()->getAddressSpace())) in isNonEscapingGlobalNoAlias()
|
| H A D | LoopAccessAnalysis.cpp | 988 if (!NullPointerIsDefined(L->getHeader()->getParent(), AddrSpace) && in isNoWrap() 1541 !NullPointerIsDefined( in processMemAccesses()
|
| H A D | ValueTracking.cpp | 648 !NullPointerIsDefined(Q.CxtI->getFunction(), in isKnownNonZeroFromAssume() 2624 !NullPointerIsDefined(F, GEP->getPointerAddressSpace()))) in isGEPKnownNonNull() 2708 if (!NullPointerIsDefined(UI->getFunction(), in isKnownNonNullFromDominatingCondition() 3262 !NullPointerIsDefined(LI->getFunction(), PtrT->getAddressSpace()))) in isKnownNonZeroFromOperator() 3513 !NullPointerIsDefined(A->getParent(), PtrTy->getAddressSpace())) || in isKnownNonZero()
|
| H A D | LazyValueInfo.cpp | 660 if (NullPointerIsDefined(BB->getParent(), in isNonNullAtEndOfBlock()
|
| H A D | ConstantFolding.cpp | 2261 !NullPointerIsDefined( in ConstantFoldScalarCall1()
|
| H A D | InstructionSimplify.cpp | 2737 Opts.NullIsUnknownSize = F ? NullPointerIsDefined(F) : true; in computePointerICmp()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 122 !NullPointerIsDefined(getParent(), in hasNonNullAttr() 1172 bool llvm::NullPointerIsDefined(const Function *F, unsigned AS) { in NullPointerIsDefined() function in llvm
|
| H A D | ConstantFold.cpp | 1046 !NullPointerIsDefined(nullptr /* F */, in evaluateICmpRelation()
|
| H A D | Instructions.cpp | 399 !NullPointerIsDefined(getCaller(), getType()->getPointerAddressSpace())) in isReturnNonNull() 453 !NullPointerIsDefined( in paramHasNonNullAttr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 1074 LLVM_ABI bool NullPointerIsDefined(const Function *F, unsigned AS = 0);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 259 if (!NullPointerIsDefined(MemInst->getFunction(), in addAccessedPtr()
|
| H A D | SCCPSolver.cpp | 1689 !NullPointerIsDefined(I.getFunction(), I.getAddressSpace()))) in visitGetElementPtrInst() 1717 if (!NullPointerIsDefined(I.getFunction(), I.getAddressSpace())) in visitAllocaInst() 1788 if (NullPointerIsDefined(I.getFunction(), I.getPointerAddressSpace())) in visitLoadInst()
|
| H A D | Local.cpp | 3061 !NullPointerIsDefined(CI->getFunction(), in markAliveBlocks() 3092 !NullPointerIsDefined(SI->getFunction(), in markAliveBlocks() 3106 !NullPointerIsDefined(BB->getParent())) || in markAliveBlocks()
|
| H A D | SimplifyLibCalls.cpp | 277 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes() 284 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes() 306 if (llvm::NullPointerIsDefined(F, AS)) in annotateNonNullNoUndefBasedOnAccess()
|
| H A D | SimplifyCFG.cpp | 8136 NullPointerIsDefined(GEP->getFunction(), in passingValueIsAlwaysUndefined() 8159 return !NullPointerIsDefined(LI->getFunction(), in passingValueIsAlwaysUndefined() 8165 return (!NullPointerIsDefined(SI->getFunction(), in passingValueIsAlwaysUndefined() 8177 if (C->isNullValue() && NullPointerIsDefined(CB->getFunction())) in passingValueIsAlwaysUndefined()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 665 if (NullPointerIsDefined(I->getFunction())) in AllUsesOfValueWillTrapIfNull() 772 if (NullPointerIsDefined(I->getFunction())) in OptimizeAwayTrappingUsesOfValue() 1146 !NullPointerIsDefined( in optimizeOnceStoredGlobal()
|
| H A D | AttributorAttributes.cpp | 2467 if (!NullPointerIsDefined(IRP.getAnchorScope(), in isImpliedByIR() 2535 bool NullPointerIsDefined = in getKnownNonNullAndDerefBytesForUse() local 2536 F ? llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace()) : true; in getKnownNonNullAndDerefBytesForUse() 2543 (RK.AttrKind == Attribute::NonNull || !NullPointerIsDefined); in getKnownNonNullAndDerefBytesForUse() 2550 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2577 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2586 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse() 2999 if (llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace())) in updateImpl() 3782 !NullPointerIsDefined(IRP.getAnchorScope(), in isImpliedByIR() 8660 (!NullPointerIsDefined(getAssociatedFunction(), AccessAS) || in categorizePtrValue() [all …]
|
| H A D | Attributor.cpp | 392 if (!NullPointerIsDefined(I.getFunction(), in getPotentialCopiesOfMemoryValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 218 Opts.NullIsUnknownSize = NullPointerIsDefined(F); in getPointerSize()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 4234 NullPointerIsDefined(CGF.Builder.GetInsertBlock()->getParent(), in emitPointerArithmetic() 6071 bool PerformNullCheck = !NullPointerIsDefined( in EmitCheckedInBoundsGEP()
|