| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | ExecutorAddressTest.cpp | 22 ExecutorAddr NonNull(1); in TEST() local 27 EXPECT_FALSE(NonNull.isNull()); in TEST() 28 EXPECT_NE(Default, NonNull); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/unittests/ |
| H A D | executor_address_test.cpp | 27 ExecutorAddr NonNull(1); in TEST() local 32 EXPECT_FALSE(NonNull.isNull()); in TEST() 33 EXPECT_NE(Default, NonNull); in TEST()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonNullParamChecker.cpp | 54 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) { in setBitsAccordingToFunctionAttributes() local 55 if (!NonNull->args_size()) { in setBitsAccordingToFunctionAttributes() 62 for (const ParamIdx &Idx : NonNull->args()) { in setBitsAccordingToFunctionAttributes()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 57 case Attribute::NonNull: in isUsefullToPreserve() 76 case Attribute::NonNull: in canonicalizedKnowledge() 211 bool IsPoisonAttr = Attr.hasAttribute(Attribute::NonNull) || in addCall() 262 addKnowledge({Attribute::NonNull, 0u, Pointer}); in addAccessedPtr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | CallSiteSplitting.cpp | 92 CB.addParamAttr(ArgNo, Attribute::NonNull); in addNonNullAttribute() 104 CB.removeParamAttr(ArgNo, Attribute::NonNull); in setConstantInArgument() 117 if (isa<Constant>(*I) || CB.paramHasAttr(ArgNo, Attribute::NonNull)) in isCondRelevantToAnyCallArgument()
|
| H A D | CorrelatedValuePropagation.cpp | 672 if (Type && !CB.paramHasAttr(ArgNo, Attribute::NonNull) && in processCallSite() 690 Attribute::get(Ctx, Attribute::NonNull)); in processCallSite()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 319 NonNull = 0, enumerator
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | AttributesTest.cpp | 155 B.addAttribute(Attribute::NonNull); in TEST() 160 EXPECT_TRUE(AL.hasParamAttr(0, Attribute::NonNull)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 54 Attribute::NonNull, in isValidForDXIL()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 875 FArg->addAttr(Attribute::NonNull); in addArgumentAttrsFromCallsites() 1281 if (F->getAttributes().hasRetAttr(Attribute::NonNull)) in addNonNullAttrs() 1302 F->addRetAttr(Attribute::NonNull); in addNonNullAttrs() 1315 if (F->getAttributes().hasRetAttr(Attribute::NonNull) || in addNonNullAttrs() 1320 F->addRetAttr(Attribute::NonNull); in addNonNullAttrs()
|
| /llvm-project-15.0.7/clang/lib/APINotes/ |
| H A D | APINotesYAMLCompiler.cpp | 89 IO.enumCase(NK, "Nonnull", NullabilityKind::NonNull); in enumeration() 98 IO.enumCase(NK, "N", NullabilityKind::NonNull); in enumeration()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 85 KernArgSegment->addRetAttr(Attribute::NonNull); in runOnFunction()
|
| H A D | AMDGPUPromoteAlloca.cpp | 266 DispatchPtr->addRetAttr(Attribute::NonNull); in getLocalSizeYZ()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ObjCMemberwiseInitializer.cpp | 52 case NullabilityKind::NonNull: in getTypeStr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ASTTests.cpp | 588 ASSERT_THAT(DeclAttrs("b"), Contains(attrKind(attr::NonNull))); in TEST()
|
| H A D | DiagnosticsTests.cpp | 875 NullabilityKind::NonNull); in TEST() 893 NullabilityKind::NonNull); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 506 NewF->addParamAttr(0, Attribute::NonNull); in createCloneDeclaration() 841 ParamAttrs.addAttribute(Attribute::NonNull); in addFramePointerAttrs() 1667 F.removeRetAttr(Attribute::NonNull); in splitAsyncCoroutine() 1766 F.removeRetAttr(Attribute::NonNull); in splitRetconCoroutine()
|
| H A D | Coroutines.cpp | 233 CB->addRetAttr(Attribute::NonNull); in buildFrom()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2241 {RetainedKnowledge{Attribute::NonNull, 0, A}}, Next, &AC, &DT)) { in visitCallInst() 2894 if (Call.hasRetAttr(Attribute::NonNull)) { in annotateAnyAllocSite() 2938 !Call.paramHasAttr(ArgNo, Attribute::NonNull) && in visitCallBase() 2950 Attribute::get(Ctx, Attribute::NonNull)); in visitCallBase() 3120 if (!GCR.hasRetAttr(Attribute::NonNull) && in visitCallBase() 3122 GCR.addRetAttr(Attribute::NonNull); in visitCallBase()
|
| /llvm-project-15.0.7/clang/include/clang/APINotes/ |
| H A D | Types.h | 574 return NullabilityKind::NonNull; in getTypeInfo()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 764 case NullabilityKind::NonNull: in getNullabilitySpelling()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2161 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2355 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2403 Attrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2534 Attrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2816 AI->addAttr(llvm::Attribute::NonNull); in EmitFunctionProlog() 2841 AI->addAttr(llvm::Attribute::NonNull); in EmitFunctionProlog() 2856 AI->addAttr(llvm::Attribute::NonNull); in EmitFunctionProlog() 4083 *Nullability == NullabilityKind::NonNull && in EmitNonNullArgCheck()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 585 Attribute::NonNull, Attribute::NoUndef}) { in attributesPermitTailCall()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 169 def NonNull : EnumAttr<"nonnull", [ParamAttr, RetAttr]>;
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 936 NullabilityKind::NonNull, in ParseObjCPropertyAttribute() 939 DS.setNullability(Tok.getLocation(), NullabilityKind::NonNull); in ParseObjCPropertyAttribute() 1185 Nullability = NullabilityKind::NonNull; in ParseObjCTypeQualifierList()
|