Home
last modified time | relevance | path

Searched refs:NullPointerIsDefined (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp906 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP()
913 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP()
920 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP()
925 !NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace()))) in canSimplifyNullLoadOrGEP()
1019 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst()
1025 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp935 if (NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())) in canSimplifyNullStoreOrGEP()
942 !NullPointerIsDefined(SI.getFunction(), SI.getPointerAddressSpace())); in canSimplifyNullStoreOrGEP()
949 !NullPointerIsDefined(LI.getFunction(), GEPI->getPointerAddressSpace())) in canSimplifyNullLoadOrGEP()
954 !NullPointerIsDefined(LI.getFunction(), LI.getPointerAddressSpace()))) in canSimplifyNullLoadOrGEP()
1054 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst()
1062 !NullPointerIsDefined(SI->getFunction(), in visitLoadInst()
/external/llvm-project/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp1557 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck()
1560 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck()
1598 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheck()
DLoopAccessAnalysis.cpp943 !NullPointerIsDefined( in processMemAccesses()
1062 NullPointerIsDefined(Lp->getHeader()->getParent(), in getPtrStride()
1110 (IsInBoundsGEP || !NullPointerIsDefined(Lp->getHeader()->getParent(), in getPtrStride()
DValueTracking.cpp630 if (!NullPointerIsDefined(Q.CxtI->getFunction(), in isKnownNonZeroFromAssume()
2027 NullPointerIsDefined(F, GEP->getPointerAddressSpace())) in isGEPKnownNonNull()
2109 if (!NullPointerIsDefined(I->getFunction(), in isKnownNonNullFromDominatingCondition()
2268 !NullPointerIsDefined(A->getParent(), PtrTy->getAddressSpace())) || in isKnownNonZero()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp1775 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck()
1778 if (!NullPointerIsDefined(&F, CPN->getType()->getAddressSpace())) in aliasCheck()
1816 bool NullIsValidLocation = NullPointerIsDefined(&F); in aliasCheck()
DLoopAccessAnalysis.cpp917 !NullPointerIsDefined( in processMemAccesses()
1036 NullPointerIsDefined(Lp->getHeader()->getParent(), in getPtrStride()
1084 (IsInBoundsGEP || !NullPointerIsDefined(Lp->getHeader()->getParent(), in getPtrStride()
DLazyValueInfo.cpp734 !NullPointerIsDefined(BB->getParent(), PTy->getAddressSpace())))) { in solveBlockValueNonLocal()
769 !NullPointerIsDefined(BB->getParent(), PTy->getAddressSpace())) { in solveBlockValueNonLocal()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFunction.h862 bool NullPointerIsDefined(const Function *F, unsigned AS = 0);
DCallSite.h649 !NullPointerIsDefined(getCaller(), in isReturnNonNull()
/external/llvm-project/llvm/include/llvm/IR/
DFunction.h924 bool NullPointerIsDefined(const Function *F, unsigned AS = 0);
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp1605 bool NullPointerIsDefined = in getKnownNonNullAndDerefBytesForUse() local
1606 F ? llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace()) : true; in getKnownNonNullAndDerefBytesForUse()
1613 (RK.AttrKind == Attribute::NonNull || !NullPointerIsDefined); in getKnownNonNullAndDerefBytesForUse()
1620 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1656 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1669 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1680 NullIsDefined(NullPointerIsDefined( in AANonNullImpl()
1971 if (llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace())) in updateImpl()
2419 !NullPointerIsDefined(getAnchorScope(), in initialize()
2508 !NullPointerIsDefined(getAnchorScope(), in initialize()
[all …]
DGlobalOpt.cpp652 if (NullPointerIsDefined(I->getFunction())) in AllUsesOfValueWillTrapIfNull()
714 if (NullPointerIsDefined(I->getFunction())) in OptimizeAwayTrappingUsesOfValue()
1609 !NullPointerIsDefined( in optimizeOnceStoredGlobal()
/external/llvm-project/llvm/lib/Transforms/Utils/
DAssumeBundleBuilder.cpp255 if (!NullPointerIsDefined(MemInst->getFunction(), in addAccessedPtr()
DLocal.cpp2213 !NullPointerIsDefined(CI->getFunction())) || in markAliveBlocks()
2242 !NullPointerIsDefined(SI->getFunction(), in markAliveBlocks()
2256 !NullPointerIsDefined(BB->getParent())) || in markAliveBlocks()
DSimplifyLibCalls.cpp175 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes()
184 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes()
203 if (llvm::NullPointerIsDefined(F, AS)) in annotateNonNullBasedOnAccess()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp1741 bool NullPointerIsDefined = in getKnownNonNullAndDerefBytesForUse() local
1742 F ? llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace()) : true; in getKnownNonNullAndDerefBytesForUse()
1749 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1783 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1795 IsNonNull |= !NullPointerIsDefined; in getKnownNonNullAndDerefBytesForUse()
1806 NullIsDefined(NullPointerIsDefined( in AANonNullImpl()
2057 if (llvm::NullPointerIsDefined(F, PtrTy->getPointerAddressSpace())) in updateImpl()
DGlobalOpt.cpp633 if (NullPointerIsDefined(I->getFunction())) in AllUsesOfValueWillTrapIfNull()
698 if (NullPointerIsDefined(I->getFunction())) in OptimizeAwayTrappingUsesOfValue()
1593 !NullPointerIsDefined( in optimizeOnceStoredGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1620 !NullPointerIsDefined(nullptr /* F */, in evaluateICmpRelation()
1851 !NullPointerIsDefined(nullptr /* F */, in ConstantFoldCompareInstruction()
1863 !NullPointerIsDefined(nullptr /* F */, in ConstantFoldCompareInstruction()
DFunction.cpp93 !NullPointerIsDefined(getParent(), in hasNonNullAttr()
1628 bool llvm::NullPointerIsDefined(const Function *F, unsigned AS) { in NullPointerIsDefined() function in llvm
/external/llvm-project/llvm/lib/IR/
DFunction.cpp95 !NullPointerIsDefined(getParent(), in hasNonNullAttr()
1768 bool llvm::NullPointerIsDefined(const Function *F, unsigned AS) { in NullPointerIsDefined() function in llvm
DConstantFold.cpp1741 !NullPointerIsDefined(nullptr /* F */, in evaluateICmpRelation()
1981 !NullPointerIsDefined(nullptr /* F */, in ConstantFoldCompareInstruction()
1993 !NullPointerIsDefined(nullptr /* F */, in ConstantFoldCompareInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp2079 !NullPointerIsDefined(CI->getFunction())) || in markAliveBlocks()
2108 !NullPointerIsDefined(SI->getFunction(), in markAliveBlocks()
2122 !NullPointerIsDefined(BB->getParent())) || in markAliveBlocks()
DSimplifyLibCalls.cpp199 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes()
208 if (!llvm::NullPointerIsDefined(F, AS) || in annotateDereferenceableBytes()
227 if (llvm::NullPointerIsDefined(F, AS)) in annotateNonNullBasedOnAccess()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp329 Opts.NullIsUnknownSize = NullPointerIsDefined(F); in getPointerSize()

12