| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsSPIRV.td | 71 … Intrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrWillReturn]>; 73 … Intrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrWillReturn]>; 75 … Intrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrWillReturn]>; 77 … Intrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrWillReturn]>; 79 … Intrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrWillReturn]>; 176 [IntrNoMem, NoUndef<RetIndex>]>;
|
| H A D | IntrinsicsAMDGPU.td | 26 !listconcat([NoUndef<RetIndex>, IntrNoMem, 79 [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 170 [Align<RetIndex, 4>, NoUndef<RetIndex>, NonNull<RetIndex>, IntrNoMem, IntrSpeculatable]>; 175 [Align<RetIndex, 4>, NoUndef<RetIndex>, NonNull<RetIndex>, IntrNoMem, IntrSpeculatable]>; 180 [Align<RetIndex, 4>, NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 185 [Align<RetIndex, 4>, NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 192 DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 196 DefaultAttrsIntrinsic<[llvm_i64_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 200 DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>; 205 [Align<RetIndex, 4>, NoUndef<RetIndex>, [all …]
|
| H A D | IntrinsicsNVVM.td | 1459 [IntrNoMem, IntrSpeculatable, NoUndef<ArgIndex<0>>, 1460 NoUndef<RetIndex>]>; 1498 [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>]>; 1662 !listconcat([IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>], properties)>; 1692 : Intrinsic<[llvm_i32_ty], [], [IntrInaccessibleMemOnly, IntrNoCallback, NoUndef<RetIndex>]>, 1695 : Intrinsic<[llvm_i64_ty], [], [IntrInaccessibleMemOnly, IntrNoCallback, NoUndef<RetIndex>]>, 1990 [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
|
| H A D | Intrinsics.td | 85 // NoUndef - The return value or specified argument is neither undef nor poison. 86 class NoUndef<AttrIndex idx> : IntrinsicProperty { 923 [], [llvm_i1_ty], [IntrWriteMem, IntrInaccessibleMemOnly, NoUndef<ArgIndex<0>>]>; 1845 [IntrInaccessibleMemOnly, ImmArg<ArgIndex<0>>, NoUndef<RetIndex>]>; 1849 [IntrInaccessibleMemOnly, NoUndef<RetIndex>]>, 1862 [IntrInaccessibleMemOnly, IntrSpeculatable, NoUndef<RetIndex>]>;
|
| H A D | Attributes.td | 112 def NoUndef : EnumAttr<"noundef", IntersectAnd, [ParamAttr, RetAttr]>;
|
| /freebsd/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 | 601 Attribute::NonNull, Attribute::NoUndef, in attributesPermitTailCall()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | CodeGenIntrinsics.h | 123 NoUndef, enumerator
|
| H A D | CodeGenIntrinsics.cpp | 415 addArgAttribute(ArgNo, NoUndef); in setProperty()
|
| H A D | IntrinsicEmitter.cpp | 478 case CodeGenIntrinsic::NoUndef: in getArgAttrEnumName()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | SPIR.cpp | 97 Call->addRetAttr(llvm::Attribute::AttrKind::NoUndef); in EmitSPIRVBuiltinExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 441 Fn->addParamAttr(0, llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper() 443 Fn->addParamAttr(1, llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper() 466 Fn->addRetAttr(llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 1303 OutlinedFn.addParamAttr(0, Attribute::NoUndef); in targetParallelCallback() 1304 OutlinedFn.addParamAttr(1, Attribute::NoUndef); in targetParallelCallback() 2629 WcFunc->addParamAttr(0, Attribute::NoUndef); in emitInterWarpCopyFunction() 2630 WcFunc->addParamAttr(1, Attribute::NoUndef); in emitInterWarpCopyFunction() 2866 SarFunc->addParamAttr(0, Attribute::NoUndef); in emitShuffleAndReduceFunction() 2867 SarFunc->addParamAttr(1, Attribute::NoUndef); in emitShuffleAndReduceFunction() 2868 SarFunc->addParamAttr(2, Attribute::NoUndef); in emitShuffleAndReduceFunction() 2869 SarFunc->addParamAttr(3, Attribute::NoUndef); in emitShuffleAndReduceFunction() 3032 LtGCFunc->addParamAttr(0, Attribute::NoUndef); in emitListToGlobalCopyFunction() 3033 LtGCFunc->addParamAttr(1, Attribute::NoUndef); in emitListToGlobalCopyFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 178 if (Arg.hasAttribute(Attribute::NoUndef)) in lowerKernelArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 203 !F.hasRetAttribute(Attribute::NoUndef)) { in setRetNoUndef() 204 F.addRetAttr(Attribute::NoUndef); in setRetNoUndef() 214 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 215 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgsNoUndef() 224 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef() 226 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgNoUndef()
|
| H A D | InlineFunction.cpp | 1532 if (CB.hasRetAttr(Attribute::NoUndef)) in IdentifyValidUBGeneratingAttributes() 1533 Valid.addAttribute(Attribute::NoUndef); in IdentifyValidUBGeneratingAttributes() 1663 if (CB.hasRetAttr(Attribute::NoUndef) || in AddReturnAttributes() 1664 (RetVal->hasOneUse() && !RetVal->hasRetAttr(Attribute::NoUndef))) in AddReturnAttributes()
|
| H A D | AssumeBundleBuilder.cpp | 58 case Attribute::NoUndef: in isUsefullToPreserve()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 2466 CB->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR() 2469 Callee->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR() 3436 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes() 3481 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(ArgPos, ArgAttrs); in identifyDefaultAbstractAttributes() 3568 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(CBArgPos, CBArgAttrs); in identifyDefaultAbstractAttributes()
|
| H A D | FunctionAttrs.cpp | 1689 if (Attrs.hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs() 1734 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
|
| H A D | AttributorAttributes.cpp | 3063 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 3145 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 10227 assert(ImpliedAttributeKind == Attribute::NoUndef && in isImpliedByIR() 10229 if (A.hasAttr(IRP, {Attribute::NoUndef}, IgnoreSubsumingPositions, in isImpliedByIR() 10230 Attribute::NoUndef)) in isImpliedByIR() 10237 A.manifestAttrs(IRP, Attribute::get(Ctx, Attribute::NoUndef)); in isImpliedByIR() 10253 assert(!isImpliedByIR(A, getIRPosition(), Attribute::NoUndef)); in initialize() 10317 return AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl() 12321 if (AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 2303 addAttribute(Attribute::NoUndef); in addFromEquivalentMetadata() 2455 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible() 2463 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
|
| H A D | Function.cpp | 119 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
|
| H A D | Instruction.cpp | 565 return CB->hasRetAttr(Attribute::NoUndef) || in hasUBImplyingAttrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 2102 (MS.EagerChecks && FArg.hasAttribute(Attribute::NoUndef))) { in getShadow() 5915 bool NoUndef = CB.paramHasAttr(i, Attribute::NoUndef); in visitCallBase() local 5916 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase() 5999 if (MayCheckCall && CB.hasRetAttr(Attribute::NoUndef)) { in visitCallBase() 6058 bool HasNoUndef = F.hasRetAttribute(Attribute::NoUndef); in visitReturnInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 7463 return !CB->hasRetAttr(Attribute::NoUndef); in canCreateUndefOrPoison() 7582 if (A->hasAttribute(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison() 7639 if (CB->hasRetAttr(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison() 7720 if (AC && getKnowledgeValidInContext(V, {Attribute::NoUndef}, *AC, CtxI, DT)) in isGuaranteedNotToBeUndefOrPoison() 7986 if ((CB->paramHasAttr(i, Attribute::NoUndef) || in handleGuaranteedWellDefinedOps() 7994 if (I->getFunction()->hasRetAttribute(Attribute::NoUndef) && in handleGuaranteedWellDefinedOps()
|