| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAliasAnalysis.cpp | 165 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory() 166 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory() 167 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 648 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in fastLowerArguments() 649 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in fastLowerArguments() 650 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in fastLowerArguments() 651 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in fastLowerArguments() 652 Attrs.hasParamAttribute(I, Attribute::Nest)) in fastLowerArguments() 832 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in selectCall() 833 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in selectCall() 835 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in selectCall() 836 Attrs.hasParamAttribute(I, Attribute::Nest)) in selectCall() 841 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 99 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 143 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr() 144 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPassPointeeByValueCopyAttr() 145 Attrs.hasParamAttribute(getArgNo(), Attribute::Preallocated); in hasPassPointeeByValueCopyAttr() 152 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr() 153 Attrs.hasParamAttribute(getArgNo(), Attribute::StructRet) || in hasPointeeInMemoryValueAttr() 154 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPointeeInMemoryValueAttr() 156 Attrs.hasParamAttribute(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr() 281 return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) || in onlyReadsMemory() 282 Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone); in onlyReadsMemory() [all …]
|
| H A D | Verifier.cpp | 2371 Assert(!Attrs.hasParamAttribute(i, Attribute::ByVal), in visitFunction() 2373 Assert(!Attrs.hasParamAttribute(i, Attribute::Preallocated), in visitFunction() 2375 Assert(!Attrs.hasParamAttribute(i, Attribute::InAlloca), in visitFunction() 2378 if (Attrs.hasParamAttribute(i, Attribute::ByRef)) { in visitFunction() 2419 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 3121 if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) { in visitCallBase() 3153 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in visitCallBase() 3155 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in visitCallBase() 3332 if (Attrs.hasParamAttribute(I, Attribute::Alignment) && in getParameterABIAttributes() 3333 (Attrs.hasParamAttribute(I, Attribute::ByVal) || in getParameterABIAttributes() [all …]
|
| H A D | Attributes.cpp | 1408 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
|
| H A D | Instructions.cpp | 346 if (Attrs.hasParamAttribute(ArgNo, Kind)) in paramHasAttr() 349 return F->getAttributes().hasParamAttribute(ArgNo, Kind); in paramHasAttr()
|
| H A D | AutoUpgrade.cpp | 4379 !F.arg_empty() && !F.hasParamAttribute(0, Attribute::ByVal)) { in UpgradeFunctionAttributes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 450 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function 451 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute() 696 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr() 697 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
|
| H A D | Attributes.h | 664 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 107 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture() 115 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias() 123 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory() 131 if (F.hasParamAttribute(ArgNo, Attribute::WriteOnly)) in setOnlyWritesMemory() 139 if (F.hasParamAttribute(ArgNo, Attribute::SExt)) in setSignExtendedArg() 159 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 169 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef() 181 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 238 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal)) in visitCallBase() 271 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallBase()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 1828 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 1829 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 766 HasLiveReturnedArg |= PAL.hasParamAttribute(ArgI, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
| H A D | AttributorAttributes.cpp | 4714 if (F.hasParamAttribute(u, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2656 if (CallerPAL.hasParamAttribute(i, Attribute::SwiftError)) in transformConstExprCastCall() 2661 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 2731 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 917 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create() 1265 if (Attrs.hasParamAttribute(0, AK)) in shouldBeMustTail()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1460 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
|
| H A D | NVPTXISelLowering.cpp | 2533 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) { in LowerFormalArguments()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 3335 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord()
|