/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAliasAnalysis.cpp | 157 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory() 158 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory() 159 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
|
D | AMDGPUTargetTransformInfo.cpp | 534 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 535 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
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() 809 if (Attrs.hasParamAttribute(i, Attribute::ByVal) || in selectCall() 810 Attrs.hasParamAttribute(i, Attribute::SwiftSelf) || in selectCall() 811 Attrs.hasParamAttribute(i, Attribute::SwiftError) || in selectCall() 812 Attrs.hasParamAttribute(i, Attribute::InAlloca) || in selectCall() 813 Attrs.hasParamAttribute(i, Attribute::Nest)) in selectCall() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Function.h | 384 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { in hasParamAttribute() function 385 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute() 566 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) || in hasStructRetAttr() 567 AttributeSets.hasParamAttribute(1, Attribute::StructRet); in hasStructRetAttr()
|
D | Attributes.h | 561 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
D | Instructions.h | 1642 if (Attrs.hasParamAttribute(ArgNo, Kind)) 1645 return F->getAttributes().hasParamAttribute(ArgNo, Kind);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Function.cpp | 79 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull)) in hasNonNullAttr() 94 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 98 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 109 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasByValOrInAllocaAttr() 110 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca); in hasByValOrInAllocaAttr() 164 return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) || in onlyReadsMemory() 165 Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone); in onlyReadsMemory() 187 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute()
|
D | Verifier.cpp | 2144 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 2777 if (Attrs.hasParamAttribute(Idx, Attribute::Nest)) in verifyCallSite() 2779 if (Attrs.hasParamAttribute(Idx, Attribute::Returned)) in verifyCallSite() 2889 if (Attrs.hasParamAttribute(I, AK)) in getParameterABIAttributes() 2892 if (Attrs.hasParamAttribute(I, Attribute::Alignment)) in getParameterABIAttributes()
|
D | Attributes.cpp | 1221 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | AttributesTest.cpp | 152 EXPECT_TRUE(AL.hasParamAttribute(0, Attribute::NonNull)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 918 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR() 919 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | Lint.cpp | 274 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite() 304 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 83 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture() 91 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 756 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned); in RemoveDeadStuffFromFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1471 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
|
D | NVPTXISelLowering.cpp | 2392 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) { in LowerFormalArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 4210 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
|