Searched refs:hasParamAttribute (Results 1 – 11 of 11) sorted by relevance
| /src/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() 1254 if (ExtAttr != Attribute::None && !F.hasParamAttribute(ArgNo, ExtAttr)) in setArgExtAttr()
|
| H A D | CallPromotionUtils.cpp | 433 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote() 439 if (Callee->hasParamAttribute(I, Attribute::InAlloca) != in isLegalToPromote()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 130 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 132 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr() 153 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 157 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 347 return getParent()->hasParamAttribute(getArgNo(), Kind); in hasAttribute() 731 bool Function::hasParamAttribute(unsigned ArgNo, in hasParamAttribute() function in Function
|
| H A D | Verifier.cpp | 3588 Check(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase()
|
| /src/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 282 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 431 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1024 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 3064 NewFn->hasParamAttribute(ArgNo, Attribute::ReadNone); in rewriteFunctionSignatures()
|
| H A D | AttributorAttributes.cpp | 5767 if (F.hasParamAttribute(U, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4180 if (!Func->hasParamAttribute(i, Kind)) in parseFunctionRecord() 4213 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 3119 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent()
|