| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | JMCInstrumenter.cpp | 143 DefaultCheckFunc->addParamAttr(0, Attribute::NoUndef); in createDefaultCheckFunction() 204 CheckFunc->addParamAttr(0, Attribute::NoUndef); in runImpl() 231 CI->addParamAttr(0, Attribute::NoUndef); in runImpl()
|
| H A D | Analysis.cpp | 635 Attribute::NonNull, Attribute::NoUndef}) { in attributesPermitTailCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CodeGenIntrinsics.h | 112 NoUndef, enumerator
|
| H A D | CodeGenIntrinsics.cpp | 217 addArgAttribute(ArgNo, NoUndef); in setProperty()
|
| H A D | IntrinsicEmitter.cpp | 454 case CodeGenIntrinsic::NoUndef: in EmitAttributes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsNVVM.td | 1654 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1658 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1662 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1666 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1670 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1674 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1678 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1682 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1686 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], 1690 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], [all …]
|
| H A D | Attributes.td | 81 def NoUndef : EnumAttr<"noundef", [ParamAttr, RetAttr]>;
|
| H A D | Intrinsics.td | 82 // NoUndef - The specified argument is neither undef nor poison. 83 class NoUndef<AttrIndex idx> : IntrinsicProperty { 876 [], [llvm_i1_ty], [IntrWriteMem, IntrInaccessibleMemOnly, NoUndef<ArgIndex<0>>]>; 1718 [IntrInaccessibleMemOnly, IntrWillReturn, IntrSpeculatable, NoUndef<RetIndex>]>;
|
| H A D | InstrTypes.h | 1788 return paramHasAttr(ArgNo, Attribute::NoUndef) ||
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 150 !F.hasRetAttribute(Attribute::NoUndef)) { in setRetNoUndef() 151 F.addRetAttr(Attribute::NoUndef); in setRetNoUndef() 161 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 162 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgsNoUndef() 171 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef() 173 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgNoUndef()
|
| H A D | InlineFunction.cpp | 1361 if (CB.hasRetAttr(Attribute::NoUndef)) in IdentifyValidUBGeneratingAttributes() 1362 Valid.addAttribute(Attribute::NoUndef); in IdentifyValidUBGeneratingAttributes() 1476 if (CB.hasRetAttr(Attribute::NoUndef) || in AddReturnAttributes() 1477 (RetVal->hasOneUse() && !RetVal->hasRetAttr(Attribute::NoUndef))) in AddReturnAttributes()
|
| H A D | AssumeBundleBuilder.cpp | 57 case Attribute::NoUndef: in isUsefullToPreserve()
|
| H A D | CodeExtractor.cpp | 985 case Attribute::NoUndef: in constructFunction()
|
| H A D | SimplifyLibCalls.cpp | 288 if (!CI->paramHasAttr(ArgNo, Attribute::NoUndef)) in annotateNonNullNoUndefBasedOnAccess() 289 CI->addParamAttr(ArgNo, Attribute::NoUndef); in annotateNonNullNoUndefBasedOnAccess()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 1295 if (F->getAttributes().hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs() 1320 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
|
| H A D | Attributor.cpp | 2471 CB->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR() 2474 Callee->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR() 3444 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes() 3489 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(ArgPos, ArgAttrs); in identifyDefaultAbstractAttributes() 3575 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(CBArgPos, CBArgAttrs); in identifyDefaultAbstractAttributes()
|
| H A D | AttributorAttributes.cpp | 3018 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 3100 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 10132 assert(ImpliedAttributeKind == Attribute::NoUndef && in isImpliedByIR() 10134 if (A.hasAttr(IRP, {Attribute::NoUndef}, IgnoreSubsumingPositions, in isImpliedByIR() 10135 Attribute::NoUndef)) in isImpliedByIR() 10142 A.manifestAttrs(IRP, Attribute::get(Ctx, Attribute::NoUndef)); in isImpliedByIR() 10158 assert(!isImpliedByIR(A, getIRPosition(), Attribute::NoUndef)); in initialize() 10222 return AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 12257 if (AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 2005 (MS.EagerChecks && FArg.hasAttribute(Attribute::NoUndef))) { in getShadow() 4175 bool NoUndef = CB.paramHasAttr(i, Attribute::NoUndef); in visitCallBase() local 4176 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase() 4260 if (MayCheckCall && CB.hasRetAttr(Attribute::NoUndef)) { in visitCallBase() 4320 bool HasNoUndef = F.hasRetAttribute(Attribute::NoUndef); in visitReturnInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1993 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible() 2001 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
|
| H A D | Function.cpp | 122 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 6674 return !CB->hasRetAttr(Attribute::NoUndef); in canCreateUndefOrPoison() 6801 if (A->hasAttribute(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison() 6848 if (CB->hasRetAttr(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison() 6923 if (getKnowledgeValidInContext(V, {Attribute::NoUndef}, CtxI, DT, AC)) in isGuaranteedNotToBeUndefOrPoison() 7153 if (CB->paramHasAttr(i, Attribute::NoUndef) || in getGuaranteedWellDefinedOps() 7161 if (I->getFunction()->hasRetAttribute(Attribute::NoUndef)) in getGuaranteedWellDefinedOps()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 911 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 5357 : public IRAttribute<Attribute::NoUndef, 6465 CASE(NoUndef, AANoUndef, );
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2573 RetAttrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList() 2711 Attrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 1124 OutlinedFn.addParamAttr(0, Attribute::NoUndef); in targetParallelCallback() 1125 OutlinedFn.addParamAttr(1, Attribute::NoUndef); in targetParallelCallback()
|