Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp136 DefaultCheckFunc->addParamAttr(0, Attribute::NoUndef); in createDefaultCheckFunction()
197 CheckFunc->addParamAttr(0, Attribute::NoUndef); in runOnModule()
224 CI->addParamAttr(0, Attribute::NoUndef); in runOnModule()
H A DAnalysis.cpp585 Attribute::NonNull, Attribute::NoUndef}) { in attributesPermitTailCall()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h156 NoUndef, enumerator
H A DIntrinsicEmitter.cpp721 case CodeGenIntrinsic::NoUndef: in EmitAttributes()
H A DCodeGenTarget.cpp895 ArgumentAttributes.emplace_back(ArgNo, NoUndef, 0); in setProperty()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp154 !F.hasRetAttribute(Attribute::NoUndef)) { in setRetNoUndef()
155 F.addRetAttr(Attribute::NoUndef); in setRetNoUndef()
165 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef()
166 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgsNoUndef()
175 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef()
177 F.addParamAttr(ArgNo, Attribute::NoUndef); in setArgNoUndef()
H A DAssumeBundleBuilder.cpp58 case Attribute::NoUndef: in isUsefullToPreserve()
H A DCodeExtractor.cpp980 case Attribute::NoUndef: in constructFunction()
H A DSimplifyLibCalls.cpp245 if (!CI->paramHasAttr(ArgNo, Attribute::NoUndef)) in annotateNonNullNoUndefBasedOnAccess()
246 CI->addParamAttr(ArgNo, Attribute::NoUndef); in annotateNonNullNoUndefBasedOnAccess()
/llvm-project-15.0.7/llvm/include/llvm/IR/
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 {
573 [], [llvm_i1_ty], [IntrInaccessibleMemOnly, NoUndef<ArgIndex<0>>]>;
H A DInstrTypes.h1699 return paramHasAttr(ArgNo, Attribute::NoUndef) ||
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1717 (MS.EagerChecks && FArg.hasAttribute(Attribute::NoUndef))) { in getShadow()
3687 bool NoUndef = CB.paramHasAttr(i, Attribute::NoUndef); in visitCallBase() local
3688 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
3772 if (MayCheckCall && CB.hasRetAttr(Attribute::NoUndef)) { in visitCallBase()
3831 F.hasRetAttribute(Attribute::NoUndef); in visitReturnInst()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp1854 Incompatible.addAttribute(Attribute::NoUndef); in typeIncompatible()
1862 AM.addAttribute(Attribute::NoUndef); in getUBImplyingAttributes()
H A DFunction.cpp100 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp5153 return !CB->hasRetAttr(Attribute::NoUndef); in canCreateUndefOrPoison()
5280 if (A->hasAttribute(Attribute::NoUndef)) in isGuaranteedNotToBeUndefOrPoison()
5323 if (CB->hasRetAttr(Attribute::NoUndef)) in isGuaranteedNotToBeUndefOrPoison()
5393 if (getKnowledgeValidInContext(V, {Attribute::NoUndef}, CtxI, DT, AC)) in isGuaranteedNotToBeUndefOrPoison()
5573 if (CB->paramHasAttr(i, Attribute::NoUndef) || in getGuaranteedWellDefinedOps()
5580 if (I->getFunction()->hasRetAttribute(Attribute::NoUndef)) in getGuaranteedWellDefinedOps()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp2043 CB->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR()
2046 Fn->removeParamAttr(Idx, Attribute::NoUndef); in cleanupIR()
H A DAttributorAttributes.cpp9188 if (getIRPosition().hasAttr({Attribute::NoUndef})) { in initialize()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2313 RetAttrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList()
2446 Attrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h4646 : public IRAttribute<Attribute::NoUndef,
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp775 case Attribute::NoUndef: in getAttrKindEncoding()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1997 return Attribute::NoUndef; in getAttrFromCode()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp65 Attribute::NonNull, Attribute::NoUndef}) in isInTailCallPosition()