|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/IR/AttributesCompatFunc.inc 106 .Case("nonnull", Attribute::NonNull)
343 return llvm::Attribute::NonNull;
include/llvm/IR/CallSite.h 646 if (hasRetAttr(Attribute::NonNull))
include/llvm/Transforms/IPO/Attributor.h 1608 : public IRAttribute<Attribute::NonNull,
lib/Analysis/InlineCost.cpp 768 if (paramHasAttr(A, Attribute::NonNull))
lib/AsmParser/LLParser.cpp 1639 case lltok::kw_nonnull: B.addAttribute(Attribute::NonNull); break;
1732 case lltok::kw_nonnull: B.addAttribute(Attribute::NonNull); break;
lib/Bitcode/Reader/BitcodeReader.cpp 1259 case Attribute::NonNull: return 1ULL << 44;
1466 return Attribute::NonNull;
lib/Bitcode/Writer/BitcodeWriter.cpp 652 case Attribute::NonNull:
lib/CodeGen/Analysis.cpp 574 CallerAttrs.removeAttribute(Attribute::NonNull);
575 CalleeAttrs.removeAttribute(Attribute::NonNull);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 341 .removeAttribute(Attribute::NonNull)
lib/CodeGen/SelectionDAG/TargetLowering.cpp 61 .removeAttribute(Attribute::NonNull)
lib/IR/Attributes.cpp 331 if (hasAttribute(Attribute::NonNull))
1711 .addAttribute(Attribute::NonNull)
lib/IR/Function.cpp 77 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull))
lib/IR/Instructions.cpp 298 if (hasRetAttr(Attribute::NonNull))
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 88 KernArgSegment->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 239 DispatchPtr->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/Coroutines/CoroSplit.cpp 402 NewF->addParamAttr(0, Attribute::NonNull);
696 NewAttrs = NewAttrs.addParamAttribute(Context, 0, Attribute::NonNull);
1198 F.removeAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/Coroutines/Coroutines.cpp 300 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/IPO/Attributor.cpp 1587 hasAttr({Attribute::NonNull, Attribute::Dereferenceable}))
lib/Transforms/IPO/FunctionAttrs.cpp 651 FArg->addAttr(Attribute::NonNull);
1047 Attribute::NonNull))
1068 F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
1082 Attribute::NonNull) ||
1087 F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/InstCombine/InstCombineCalls.cpp 4017 if (!II->hasRetAttr(Attribute::NonNull) &&
4019 II->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
4280 !Call.paramHasAttr(ArgNo, Attribute::NonNull) &&
4292 Attribute::get(Ctx, Attribute::NonNull));
lib/Transforms/Scalar/CallSiteSplitting.cpp 90 CS.addParamAttr(ArgNo, Attribute::NonNull);
102 CS.removeParamAttr(ArgNo, Attribute::NonNull);
116 if (isa<Constant>(*I) || CS.paramHasAttr(ArgNo, Attribute::NonNull))
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 584 if (Type && !CS.paramHasAttr(ArgNo, Attribute::NonNull) &&
601 Attribute::get(Ctx, Attribute::NonNull));
lib/Transforms/Utils/BuildLibCalls.cpp 110 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NonNull))
112 F.addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/Utils/CodeExtractor.cpp 871 case Attribute::NonNull:
lib/Transforms/Utils/SimplifyLibCalls.cpp 200 CI->paramHasAttr(ArgNo, Attribute::NonNull))
209 CI->paramHasAttr(ArgNo, Attribute::NonNull))
224 if (CI->paramHasAttr(ArgNo, Attribute::NonNull))
230 CI->addParamAttr(ArgNo, Attribute::NonNull);
tools/clang/lib/CodeGen/CGCall.cpp 1878 RetAttrs.addAttribute(llvm::Attribute::NonNull);
1996 RetAttrs.addAttribute(llvm::Attribute::NonNull);
2106 Attrs.addAttribute(llvm::Attribute::NonNull);
2363 AI->addAttr(llvm::Attribute::NonNull);
2383 AI->addAttr(llvm::Attribute::NonNull);
2394 AI->addAttr(llvm::Attribute::NonNull);
unittests/IR/AttributesTest.cpp 151 B.addAttribute(Attribute::NonNull);
156 EXPECT_TRUE(AL.hasParamAttribute(0, Attribute::NonNull));