/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, Attribute::Range}) { in attributesPermitTailCall()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
H A D | CodeGenIntrinsics.h | 113 NoUndef, enumerator
|
H A D | CodeGenIntrinsics.cpp | 217 addArgAttribute(ArgNo, NoUndef); in setProperty()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsNVVM.td | 1667 : 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 D | IntrinsicsAMDGPU.td | 23 : 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 D | Intrinsics.td | 82 // 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 D | Attributes.td | 87 def NoUndef : EnumAttr<"noundef", [ParamAttr, RetAttr]>;
|
H A D | InstrTypes.h | 1795 return paramHasAttr(ArgNo, Attribute::NoUndef) ||
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCoroutine.cpp | 440 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 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 | 1446 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 D | AssumeBundleBuilder.cpp | 57 case Attribute::NoUndef: in isUsefullToPreserve()
|
H A D | CodeExtractor.cpp | 987 case Attribute::NoUndef: in constructFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 1182 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 D | IntrinsicEmitter.cpp | 453 case CodeGenIntrinsic::NoUndef: in EmitAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 1296 if (Attrs.hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs() 1341 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
|
H A D | Attributor.cpp | 2474 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 D | AttributorAttributes.cpp | 3021 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 D | MemorySanitizer.cpp | 2029 (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 D | Attributes.cpp | 2156 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible() 2164 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
|
H A D | Function.cpp | 132 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 7351 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 D | CoroSplit.cpp | 896 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 5344 : public IRAttribute<Attribute::NoUndef, 6456 CASE(NoUndef, AANoUndef, );
|