Home
last modified time | relevance | path

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

12

/freebsd-14.2/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.cpp635 Attribute::NonNull, Attribute::NoUndef}) { in attributesPermitTailCall()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h112 NoUndef, enumerator
H A DCodeGenIntrinsics.cpp217 addArgAttribute(ArgNo, NoUndef); in setProperty()
H A DIntrinsicEmitter.cpp454 case CodeGenIntrinsic::NoUndef: in EmitAttributes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1654 : 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 DAttributes.td81 def NoUndef : EnumAttr<"noundef", [ParamAttr, RetAttr]>;
H A DIntrinsics.td82 // 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 DInstrTypes.h1788 return paramHasAttr(ArgNo, Attribute::NoUndef) ||
/freebsd-14.2/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.cpp1361 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 DAssumeBundleBuilder.cpp57 case Attribute::NoUndef: in isUsefullToPreserve()
H A DCodeExtractor.cpp985 case Attribute::NoUndef: in constructFunction()
H A DSimplifyLibCalls.cpp288 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 DFunctionAttrs.cpp1295 if (F->getAttributes().hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs()
1320 F->addRetAttr(Attribute::NoUndef); in addNoUndefAttrs()
H A DAttributor.cpp2471 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 DAttributorAttributes.cpp3018 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 DMemorySanitizer.cpp2005 (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 DAttributes.cpp1993 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible()
2001 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
H A DFunction.cpp122 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp6674 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 DCoroSplit.cpp911 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h5357 : public IRAttribute<Attribute::NoUndef,
6465 CASE(NoUndef, AANoUndef, );
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2573 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 DOMPIRBuilder.cpp1124 OutlinedFn.addParamAttr(0, Attribute::NoUndef); in targetParallelCallback()
1125 OutlinedFn.addParamAttr(1, Attribute::NoUndef); in targetParallelCallback()

12