Home
last modified time | relevance | path

Searched refs:hasParamAttribute (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.cpp157 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) && in pointsToConstantMemory()
158 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) || in pointsToConstantMemory()
159 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
DAMDGPUTargetTransformInfo.cpp534 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/
DWebAssemblyFastISel.cpp635 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/
DFunction.h384 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()
DAttributes.h561 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
DInstructions.h1642 if (Attrs.hasParamAttribute(ArgNo, Kind))
1645 return F->getAttributes().hasParamAttribute(ArgNo, Kind);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DFunction.cpp79 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()
DVerifier.cpp2144 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()
DAttributes.cpp1221 bool AttributeList::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in AttributeList
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp152 EXPECT_TRUE(AL.hasParamAttribute(0, Attribute::NonNull)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp918 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/
DLint.cpp274 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/
DBuildLibCalls.cpp83 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/
DDeadArgumentElimination.cpp756 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1471 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
DNVPTXISelLowering.cpp2392 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) { in LowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4210 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()