Home
last modified time | relevance | path

Searched refs:NoUndef (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsSPIRV.td71 … 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 DIntrinsicsAMDGPU.td26 !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 DIntrinsicsNVVM.td1459 [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 DIntrinsics.td85 // 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 DAttributes.td112 def NoUndef : EnumAttr<"noundef", IntersectAnd, [ParamAttr, RetAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp143 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 DAnalysis.cpp601 Attribute::NonNull, Attribute::NoUndef, in attributesPermitTailCall()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.h123 NoUndef, enumerator
H A DCodeGenIntrinsics.cpp415 addArgAttribute(ArgNo, NoUndef); in setProperty()
H A DIntrinsicEmitter.cpp478 case CodeGenIntrinsic::NoUndef: in getArgAttrEnumName()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DSPIR.cpp97 Call->addRetAttr(llvm::Attribute::AttrKind::NoUndef); in EmitSPIRVBuiltinExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp441 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 DOMPIRBuilder.cpp1303 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 DAMDGPULowerKernelArguments.cpp178 if (Arg.hasAttribute(Attribute::NoUndef)) in lowerKernelArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp203 !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 DInlineFunction.cpp1532 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 DAssumeBundleBuilder.cpp58 case Attribute::NoUndef: in isUsefullToPreserve()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp2466 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 DFunctionAttrs.cpp1689 if (Attrs.hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs()
1734 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
H A DAttributorAttributes.cpp3063 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 DAttributes.cpp2303 addAttribute(Attribute::NoUndef); in addFromEquivalentMetadata()
2455 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible()
2463 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
H A DFunction.cpp119 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
H A DInstruction.cpp565 return CB->hasRetAttr(Attribute::NoUndef) || in hasUBImplyingAttrs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2102 (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 DValueTracking.cpp7463 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()

12