| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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() 834 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in selectCall() 835 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in selectCall() 836 Attrs.hasParamAttribute(I, Attribute::Nest)) in selectCall() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Function.cpp | 94 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 96 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr() 117 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 121 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 138 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr() 139 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPassPointeeByValueCopyAttr() 140 Attrs.hasParamAttribute(getArgNo(), Attribute::Preallocated); in hasPassPointeeByValueCopyAttr() 147 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr() 148 Attrs.hasParamAttribute(getArgNo(), Attribute::StructRet) || in hasPointeeInMemoryValueAttr() 149 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPointeeInMemoryValueAttr() [all …]
|
| H A D | Verifier.cpp | 2440 Assert(F.arg_empty() || Attrs.hasParamAttribute(0, Attribute::ByVal), in visitFunction() 2460 Assert(!Attrs.hasParamAttribute(i, Attribute::ByVal), in visitFunction() 2462 Assert(!Attrs.hasParamAttribute(i, Attribute::Preallocated), in visitFunction() 2464 Assert(!Attrs.hasParamAttribute(i, Attribute::InAlloca), in visitFunction() 2467 if (Attrs.hasParamAttribute(i, Attribute::ByRef)) { in visitFunction() 2508 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 3197 if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) { in visitCallBase() 3200 Assert(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase() 3229 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in visitCallBase() 3231 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in visitCallBase() [all …]
|
| H A D | Attributes.cpp | 1588 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
|
| H A D | Instructions.cpp | 342 if (Attrs.hasParamAttribute(ArgNo, Kind)) in paramHasAttr() 345 return F->getAttributes().hasParamAttribute(ArgNo, Kind); in paramHasAttr()
|
| H A D | AutoUpgrade.cpp | 4374 !F.arg_empty() && !F.hasParamAttribute(0, Attribute::ByVal)) { in UpgradeFunctionAttributes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Function.h | 449 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function 450 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute() 695 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr() 696 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
|
| H A D | Attributes.h | 657 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 1806 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 1807 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 765 HasLiveReturnedArg |= PAL.hasParamAttribute(ArgI, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
| H A D | AttributorAttributes.cpp | 4175 if (F.hasParamAttribute(u, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 111 IsSExt = Attrs.hasParamAttribute(ArgIdx, Attribute::SExt); in setAttributes() 112 IsZExt = Attrs.hasParamAttribute(ArgIdx, Attribute::ZExt); in setAttributes() 113 IsInReg = Attrs.hasParamAttribute(ArgIdx, Attribute::InReg); in setAttributes() 114 IsSRet = Attrs.hasParamAttribute(ArgIdx, Attribute::StructRet); in setAttributes() 115 IsNest = Attrs.hasParamAttribute(ArgIdx, Attribute::Nest); in setAttributes() 116 IsReturned = Attrs.hasParamAttribute(ArgIdx, Attribute::Returned); in setAttributes() 117 IsSwiftSelf = Attrs.hasParamAttribute(ArgIdx, Attribute::SwiftSelf); in setAttributes() 118 IsSwiftAsync = Attrs.hasParamAttribute(ArgIdx, Attribute::SwiftAsync); in setAttributes() 119 IsSwiftError = Attrs.hasParamAttribute(ArgIdx, Attribute::SwiftError); in setAttributes() 122 IsByVal = Attrs.hasParamAttribute(ArgIdx, Attribute::ByVal); in setAttributes() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2560 if (CallerPAL.hasParamAttribute(i, Attribute::SwiftError)) in transformConstExprCastCall() 2565 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 2635 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1239 if (Attrs.hasParamAttribute(0, AK)) in shouldBeMustTail()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 3373 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord()
|