/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAliasAnalysis.cpp | 131 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory() 132 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory() 133 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
|
D | AMDGPUTargetTransformInfo.cpp | 596 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 597 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAliasAnalysis.cpp | 173 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory() 174 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory() 175 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 650 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in fastLowerArguments() 651 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in fastLowerArguments() 652 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in fastLowerArguments() 653 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in fastLowerArguments() 654 Attrs.hasParamAttribute(I, Attribute::Nest)) in fastLowerArguments() 841 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in selectCall() 842 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in selectCall() 843 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in selectCall() 844 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in selectCall() 845 Attrs.hasParamAttribute(I, Attribute::Nest)) in selectCall() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 646 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in fastLowerArguments() 647 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in fastLowerArguments() 648 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in fastLowerArguments() 649 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in fastLowerArguments() 650 Attrs.hasParamAttribute(I, Attribute::Nest)) in fastLowerArguments() 840 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in selectCall() 841 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) || in selectCall() 842 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in selectCall() 843 Attrs.hasParamAttribute(I, Attribute::InAlloca) || in selectCall() 844 Attrs.hasParamAttribute(I, Attribute::Nest)) in selectCall() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Function.cpp | 92 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull)) in hasNonNullAttr() 113 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 117 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 134 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr() 135 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPassPointeeByValueCopyAttr() 136 Attrs.hasParamAttribute(getArgNo(), Attribute::Preallocated); in hasPassPointeeByValueCopyAttr() 143 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr() 144 Attrs.hasParamAttribute(getArgNo(), Attribute::StructRet) || in hasPointeeInMemoryValueAttr() 145 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) || in hasPointeeInMemoryValueAttr() 146 Attrs.hasParamAttribute(getArgNo(), Attribute::Preallocated) || in hasPointeeInMemoryValueAttr() [all …]
|
D | Verifier.cpp | 2346 Assert(!Attrs.hasParamAttribute(i, Attribute::ByVal), in visitFunction() 2348 Assert(!Attrs.hasParamAttribute(i, Attribute::Preallocated), in visitFunction() 2350 Assert(!Attrs.hasParamAttribute(i, Attribute::InAlloca), in visitFunction() 2353 if (Attrs.hasParamAttribute(i, Attribute::ByRef)) { in visitFunction() 2392 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 3076 if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) { in visitCallBase() 3079 Assert(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase() 3108 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in visitCallBase() 3110 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in visitCallBase() 3250 if (Attrs.hasParamAttribute(I, AK)) in getParameterABIAttributes() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Function.h | 403 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function 404 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute() 612 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr() 613 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
|
D | Attributes.h | 582 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Function.h | 435 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function 436 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute() 660 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr() 661 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
|
D | Attributes.h | 621 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Function.cpp | 90 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull)) in hasNonNullAttr() 105 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 109 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 120 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasByValOrInAllocaAttr() 121 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca); in hasByValOrInAllocaAttr() 189 return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) || in onlyReadsMemory() 190 Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone); in onlyReadsMemory() 212 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute()
|
D | Verifier.cpp | 2249 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 2926 if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) { in visitCallBase() 2929 Assert(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase() 2947 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in visitCallBase() 2949 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in visitCallBase() 3071 if (Attrs.hasParamAttribute(I, AK)) in getParameterABIAttributes() 3074 if (Attrs.hasParamAttribute(I, Attribute::Alignment)) in getParameterABIAttributes()
|
D | Attributes.cpp | 1322 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 87 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture() 95 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias() 103 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory() 111 if (F.hasParamAttribute(ArgNo, Attribute::WriteOnly)) in setOnlyWritesMemory() 119 if (F.hasParamAttribute(ArgNo, Attribute::SExt)) in setSignExtendedArg() 139 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 163 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg()
|
/external/llvm-project/llvm/unittests/Frontend/ |
D | OpenMPIRBuilderTest.cpp | 409 EXPECT_TRUE(OutlinedFn->hasParamAttribute(0, Attribute::NoAlias)); in TEST_F() 410 EXPECT_TRUE(OutlinedFn->hasParamAttribute(1, Attribute::NoAlias)); in TEST_F() 503 EXPECT_TRUE(OutlinedFn.hasParamAttribute(0, Attribute::NoAlias)); in TEST_F() 504 EXPECT_TRUE(OutlinedFn.hasParamAttribute(1, Attribute::NoAlias)); in TEST_F() 606 EXPECT_TRUE(OutlinedFn.hasParamAttribute(0, Attribute::NoAlias)); in TEST_F() 607 EXPECT_TRUE(OutlinedFn.hasParamAttribute(1, Attribute::NoAlias)); in TEST_F()
|
/external/llvm-project/llvm/unittests/IR/ |
D | AttributesTest.cpp | 157 EXPECT_TRUE(AL.hasParamAttribute(0, Attribute::NonNull)); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | Lint.cpp | 275 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal)) in visitCallSite() 308 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Lint.cpp | 238 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal)) in visitCallBase() 270 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallBase()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 84 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture() 92 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias() 100 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory() 118 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 1238 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 1239 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 1451 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 1452 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 760 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 762 HasLiveReturnedArg |= PAL.hasParamAttribute(ArgI, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2225 if (CallerPAL.hasParamAttribute(i, Attribute::SwiftError)) in transformConstExprCastCall() 2230 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 2300 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
|