Home
last modified time | relevance | path

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

12

/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, Attribute::Range}) { in attributesPermitTailCall()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.h113 NoUndef, enumerator
H A DCodeGenIntrinsics.cpp217 addArgAttribute(ArgNo, NoUndef); in setProperty()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1667 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1671 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1675 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1679 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1683 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1687 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1691 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1695 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1699 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
1703 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
[all …]
H A DIntrinsicsAMDGPU.td23 : DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
26 …: DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>, Clan…
66 [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
154 [Align<RetIndex, 4>, NoUndef<RetIndex>, NonNull<RetIndex>, IntrNoMem, IntrSpeculatable]>;
159 [Align<RetIndex, 4>, NoUndef<RetIndex>, NonNull<RetIndex>, IntrNoMem, IntrSpeculatable]>;
164 [Align<RetIndex, 4>, NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
169 [Align<RetIndex, 4>, NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
176 DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
180 DefaultAttrsIntrinsic<[llvm_i64_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
184 DefaultAttrsIntrinsic<[llvm_i32_ty], [], [NoUndef<RetIndex>, IntrNoMem, IntrSpeculatable]>;
[all …]
H A DIntrinsics.td82 // NoUndef - The specified argument is neither undef nor poison.
83 class NoUndef<AttrIndex idx> : IntrinsicProperty {
887 [], [llvm_i1_ty], [IntrWriteMem, IntrInaccessibleMemOnly, NoUndef<ArgIndex<0>>]>;
1773 [IntrInaccessibleMemOnly, IntrWriteMem, ImmArg<ArgIndex<0>>, NoUndef<RetIndex>]>;
1777 [IntrInaccessibleMemOnly, IntrWriteMem, NoUndef<RetIndex>]>,
1790 [IntrInaccessibleMemOnly, IntrWillReturn, IntrSpeculatable, NoUndef<RetIndex>]>;
H A DAttributes.td87 def NoUndef : EnumAttr<"noundef", [ParamAttr, RetAttr]>;
H A DInstrTypes.h1795 return paramHasAttr(ArgNo, Attribute::NoUndef) ||
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp440 Fn->addParamAttr(0, llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper()
442 Fn->addParamAttr(1, llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper()
465 Fn->addRetAttr(llvm::Attribute::AttrKind::NoUndef); in generateAwaitSuspendWrapper()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp150 !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 DInlineFunction.cpp1446 if (CB.hasRetAttr(Attribute::NoUndef)) in IdentifyValidUBGeneratingAttributes()
1447 Valid.addAttribute(Attribute::NoUndef); in IdentifyValidUBGeneratingAttributes()
1577 if (CB.hasRetAttr(Attribute::NoUndef) || in AddReturnAttributes()
1578 (RetVal->hasOneUse() && !RetVal->hasRetAttr(Attribute::NoUndef))) in AddReturnAttributes()
H A DAssumeBundleBuilder.cpp57 case Attribute::NoUndef: in isUsefullToPreserve()
H A DCodeExtractor.cpp987 case Attribute::NoUndef: in constructFunction()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1182 OutlinedFn.addParamAttr(0, Attribute::NoUndef); in targetParallelCallback()
1183 OutlinedFn.addParamAttr(1, Attribute::NoUndef); in targetParallelCallback()
2495 WcFunc->addParamAttr(0, Attribute::NoUndef); in emitInterWarpCopyFunction()
2496 WcFunc->addParamAttr(1, Attribute::NoUndef); in emitInterWarpCopyFunction()
2725 SarFunc->addParamAttr(0, Attribute::NoUndef); in emitShuffleAndReduceFunction()
2726 SarFunc->addParamAttr(1, Attribute::NoUndef); in emitShuffleAndReduceFunction()
2727 SarFunc->addParamAttr(2, Attribute::NoUndef); in emitShuffleAndReduceFunction()
2728 SarFunc->addParamAttr(3, Attribute::NoUndef); in emitShuffleAndReduceFunction()
2890 LtGCFunc->addParamAttr(0, Attribute::NoUndef); in emitListToGlobalCopyFunction()
2891 LtGCFunc->addParamAttr(1, Attribute::NoUndef); in emitListToGlobalCopyFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp453 case CodeGenIntrinsic::NoUndef: in EmitAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1296 if (Attrs.hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs()
1341 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
H A DAttributor.cpp2474 CB->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR()
2477 Callee->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR()
3449 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes()
3494 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(ArgPos, ArgAttrs); in identifyDefaultAbstractAttributes()
3580 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(CBArgPos, CBArgAttrs); in identifyDefaultAbstractAttributes()
H A DAttributorAttributes.cpp3021 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
3103 AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
10147 assert(ImpliedAttributeKind == Attribute::NoUndef && in isImpliedByIR()
10149 if (A.hasAttr(IRP, {Attribute::NoUndef}, IgnoreSubsumingPositions, in isImpliedByIR()
10150 Attribute::NoUndef)) in isImpliedByIR()
10157 A.manifestAttrs(IRP, Attribute::get(Ctx, Attribute::NoUndef)); in isImpliedByIR()
10173 assert(!isImpliedByIR(A, getIRPosition(), Attribute::NoUndef)); in initialize()
10237 return AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
12246 if (AA::hasAssumedIRAttr<Attribute::NoUndef>( in updateImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2029 (MS.EagerChecks && FArg.hasAttribute(Attribute::NoUndef))) { in getShadow()
4429 bool NoUndef = CB.paramHasAttr(i, Attribute::NoUndef); in visitCallBase() local
4430 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
4514 if (MayCheckCall && CB.hasRetAttr(Attribute::NoUndef)) { in visitCallBase()
4574 bool HasNoUndef = F.hasRetAttribute(Attribute::NoUndef); in visitReturnInst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp2156 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible()
2164 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
H A DFunction.cpp132 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp7351 return !CB->hasRetAttr(Attribute::NoUndef); in canCreateUndefOrPoison()
7478 if (A->hasAttribute(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison()
7528 if (CB->hasRetAttr(Attribute::NoUndef) || in isGuaranteedNotToBeUndefOrPoison()
7607 if (getKnowledgeValidInContext(V, {Attribute::NoUndef}, CtxI, DT, AC)) in isGuaranteedNotToBeUndefOrPoison()
7860 if ((CB->paramHasAttr(i, Attribute::NoUndef) || in handleGuaranteedWellDefinedOps()
7868 if (I->getFunction()->hasRetAttribute(Attribute::NoUndef) && in handleGuaranteedWellDefinedOps()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp896 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h5344 : public IRAttribute<Attribute::NoUndef,
6456 CASE(NoUndef, AANoUndef, );

12