| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAliasAnalysis.cpp | 130 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 D | AMDGPUTargetTransformInfo.cpp | 534 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 D | WebAssemblyFastISel.cpp | 635 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 D | Function.h | 398 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 D | Attributes.h | 572 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Function.cpp | 78 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 D | Verifier.cpp | 2192 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 D | Attributes.cpp | 1223 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
|
| H A D | Instructions.cpp | 315 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 D | Lint.cpp | 274 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 D | AMDGPUBaseInfo.cpp | 931 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 D | BuildLibCalls.cpp | 84 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 D | DeadArgumentElimination.cpp | 760 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1496 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
|
| H A D | NVPTXISelLowering.cpp | 2450 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) { in LowerFormalArguments()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 4418 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
|