Searched refs:hasParamAttribute (Results 1 – 11 of 11) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 117 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 119 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr() 146 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 150 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 340 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute() 344 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute() 739 bool Function::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in Function 744 bool Function::hasParamAttribute(unsigned ArgNo, StringRef Kind) const { in hasParamAttribute() function in Function
|
| H A D | Verifier.cpp | 3721 Check(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 169 if (F.hasParamAttribute(ArgNo, Attribute::Captures)) in setDoesNotCapture() 178 if (F.hasParamAttribute(ArgNo, Attribute::NoAlias)) in setDoesNotAlias() 186 if (F.hasParamAttribute(ArgNo, Attribute::ReadOnly)) in setOnlyReadsMemory() 194 if (F.hasParamAttribute(ArgNo, Attribute::WriteOnly)) in setOnlyWritesMemory() 214 if (!F.hasParamAttribute(ArgNo, Attribute::NoUndef)) { in setArgsNoUndef() 224 if (F.hasParamAttribute(ArgNo, Attribute::NoUndef)) in setArgNoUndef() 239 if (F.hasParamAttribute(ArgNo, Attribute::Returned)) in setReturnedArg() 269 if (F.hasParamAttribute(ArgNo, Attribute::AllocAlign)) in setAlignedAllocParam() 276 if (F.hasParamAttribute(ArgNo, Attribute::AllocatedPointer)) in setAllocatedPointerParam() 1403 if (ExtAttr != Attribute::None && !F.hasParamAttribute(ArgNo, ExtAttr)) in setArgExtAttr()
|
| H A D | CallPromotionUtils.cpp | 435 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote() 441 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 433 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const; 436 bool hasParamAttribute(unsigned ArgNo, StringRef Kind) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 333 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 955 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 3051 NewFn->hasParamAttribute(ArgNo, Attribute::ReadNone); in rewriteFunctionSignatures()
|
| H A D | AttributorAttributes.cpp | 5833 if (F.hasParamAttribute(U, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4270 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord() 4303 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 3096 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent() 3195 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorFailure()
|