Searched refs:hasParamAttribute (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 117 if (F.hasParamAttribute(ArgNo, Attribute::NoCapture)) in setDoesNotCapture() 125 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias() 133 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory() 141 if (F.hasParamAttribute(ArgNo, Attribute::WriteOnly)) in setOnlyWritesMemory() 161 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 171 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef() 186 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg() 216 if (F.hasParamAttribute(ArgNo, Attribute::AllocAlign)) in setAlignedAllocParam() 223 if (F.hasParamAttribute(ArgNo, Attribute::AllocatedPointer)) in setAllocatedPointerParam() 1243 if (ExtAttr != Attribute::None && !F.hasParamAttribute(ArgNo, ExtAttr)) in setArgExtAttr()
|
| H A D | CallPromotionUtils.cpp | 421 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote() 427 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 120 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 122 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr() 143 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 147 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 330 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute() 678 bool Function::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in Function
|
| H A D | Verifier.cpp | 3454 Check(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 282 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 419 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1039 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 3058 NewFn->hasParamAttribute(ArgNo, Attribute::ReadNone); in rewriteFunctionSignatures()
|
| H A D | AttributorAttributes.cpp | 5755 if (F.hasParamAttribute(U, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4022 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord() 4055 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2926 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent()
|