Home
last modified time | relevance | path

Searched refs:hasParamAttribute (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp117 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr()
119 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr()
146 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr()
150 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr()
340 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute()
344 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute()
739 bool Function::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in Function
744 bool Function::hasParamAttribute(unsigned ArgNo, StringRef Kind) const { in hasParamAttribute() function in Function
H A DVerifier.cpp3721 Check(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp169 if (F.hasParamAttribute(ArgNo, Attribute::Captures)) in setDoesNotCapture()
178 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias()
186 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory()
194 if (F.hasParamAttribute(ArgNo, Attribute::WriteOnly)) in setOnlyWritesMemory()
214 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef()
224 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef()
239 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg()
269 if (F.hasParamAttribute(ArgNo, Attribute::AllocAlign)) in setAlignedAllocParam()
276 if (F.hasParamAttribute(ArgNo, Attribute::AllocatedPointer)) in setAllocatedPointerParam()
1403 if (ExtAttr != Attribute::None && !F.hasParamAttribute(ArgNo, ExtAttr)) in setArgExtAttr()
H A DCallPromotionUtils.cpp435 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote()
441 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h433 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
436 bool hasParamAttribute(unsigned ArgNo, StringRef Kind) const;
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp333 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp955 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp3051 NewFn->hasParamAttribute(ArgNo, Attribute::ReadNone); in rewriteFunctionSignatures()
H A DAttributorAttributes.cpp5833 if (F.hasParamAttribute(U, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4270 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord()
4303 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3096 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent()
3195 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorFailure()