Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp130 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory()
131 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory()
132 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
H A DAMDGPUTargetTransformInfo.cpp534 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR()
535 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp635 if (Attrs.hasParamAttribute(i, Attribute::ByVal) || in fastLowerArguments()
636 Attrs.hasParamAttribute(i, Attribute::SwiftSelf) || in fastLowerArguments()
637 Attrs.hasParamAttribute(i, Attribute::SwiftError) || in fastLowerArguments()
638 Attrs.hasParamAttribute(i, Attribute::InAlloca) || in fastLowerArguments()
639 Attrs.hasParamAttribute(i, Attribute::Nest)) in fastLowerArguments()
828 if (Attrs.hasParamAttribute(i, Attribute::ByVal) || in selectCall()
829 Attrs.hasParamAttribute(i, Attribute::SwiftSelf) || in selectCall()
831 Attrs.hasParamAttribute(i, Attribute::InAlloca) || in selectCall()
832 Attrs.hasParamAttribute(i, Attribute::Nest)) in selectCall()
837 if (Attrs.hasParamAttribute(i, Attribute::SExt)) in selectCall()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DFunction.h398 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function
399 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute()
580 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr()
581 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
H A DAttributes.h572 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
/freebsd-12.1/contrib/llvm/lib/IR/
H A DFunction.cpp78 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull)) in hasNonNullAttr()
93 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr()
97 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr()
108 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasByValOrInAllocaAttr()
109 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca); in hasByValOrInAllocaAttr()
163 return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) || in onlyReadsMemory()
164 Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone); in onlyReadsMemory()
186 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute()
H A DVerifier.cpp2192 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction()
2831 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in visitCallBase()
2833 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in visitCallBase()
2950 if (Attrs.hasParamAttribute(I, AK)) in getParameterABIAttributes()
2953 if (Attrs.hasParamAttribute(I, Attribute::Alignment)) in getParameterABIAttributes()
H A DAttributes.cpp1223 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
H A DInstructions.cpp315 if (Attrs.hasParamAttribute(ArgNo, Kind)) in paramHasAttr()
318 return F->getAttributes().hasParamAttribute(ArgNo, Kind); in paramHasAttr()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLint.cpp274 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite()
304 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp931 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR()
932 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp84 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture()
92 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory()
110 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp760 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned); in RemoveDeadStuffFromFunction()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1496 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
H A DNVPTXISelLowering.cpp2450 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) { in LowerFormalArguments()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4418 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()