Searched refs:hasParamAttribute (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp135 if (F->hasParamAttribute(ArgNo, Attribute::NoAlias) &&
136 (F->hasParamAttribute(ArgNo, Attribute::ReadNone) ||
137 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) {
H A DAMDGPUTargetTransformInfo.cpp718 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) ||
719 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp648 if (Attrs.hasParamAttribute(I, Attribute::ByVal) ||
649 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) ||
650 Attrs.hasParamAttribute(I, Attribute::SwiftError) ||
651 Attrs.hasParamAttribute(I, Attribute::InAlloca) ||
652 Attrs.hasParamAttribute(I, Attribute::Nest))
825 if (Attrs.hasParamAttribute(I, Attribute::ByVal) ||
826 Attrs.hasParamAttribute(I, Attribute::SwiftSelf) ||
827 Attrs.hasParamAttribute(I, Attribute::SwiftError) ||
828 Attrs.hasParamAttribute(I, Attribute::InAlloca) ||
829 Attrs.hasParamAttribute(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h417 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const { function in class:llvm::Function
418 return getAttributes().hasParamAttribute(ArgNo, Kind);
626 return AttributeSets.hasParamAttribute(0, Attribute::StructRet) ||
627 AttributeSets.hasParamAttribute(1, Attribute::StructRet);
H A DAttributes.h596 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp91 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull))
106 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf);
110 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError);
127 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) ||
128 Attrs.hasParamAttribute(getArgNo(), Attribute::InAlloca) ||
129 Attrs.hasParamAttribute(getArgNo(), Attribute::Preallocated);
218 return Attrs.hasParamAttribute(getArgNo(), Attribute::ReadOnly) ||
219 Attrs.hasParamAttribute(getArgNo(), Attribute::ReadNone);
241 return getParent()->hasParamAttribute(getArgNo(), Kind);
H A DVerifier.cpp2323 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) {
3008 if (Attrs.hasParamAttribute(i, Attribute::ImmArg)) {
3011 Assert(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg),
3040 if (Attrs.hasParamAttribute(Idx, Attribute::Nest))
3042 if (Attrs.hasParamAttribute(Idx, Attribute::Returned))
3182 if (Attrs.hasParamAttribute(I, AK))
3186 if (Attrs.hasParamAttribute(I, Attribute::Alignment) &&
3187 Attrs.hasParamAttribute(I, Attribute::ByVal))
H A DAttributes.cpp1424 bool AttributeList::hasParamAttribute(unsigned ArgNo, function in class:AttributeList
H A DInstructions.cpp338 if (Attrs.hasParamAttribute(ArgNo, Kind))
341 return F->getAttributes().hasParamAttribute(ArgNo, Kind);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp84 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture))
92 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias))
100 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly))
118 if (F.hasParamAttribute(ArgNo, Attribute::Returned))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp269 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal))
301 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1316 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) ||
1317 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp762 HasLiveReturnedArg |= PAL.hasParamAttribute(ArgI, Attribute::Returned);
H A DAttributorAttributes.cpp3955 if (F.hasParamAttribute(u, Attribute::Returned)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1462 if (!PAL.hasParamAttribute(paramIndex, Attribute::ByVal)) {
H A DNVPTXISelLowering.cpp2534 if (!PAL.hasParamAttribute(i, Attribute::ByVal)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1023 if (Attrs.hasParamAttribute(0, AK))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4832 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
4902 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3285 if (!Func->hasParamAttribute(i, Attribute::ByVal))

Completed in 287 milliseconds