Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp117 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 DCallPromotionUtils.cpp433 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 DFunction.cpp130 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 DVerifier.cpp3588 Check(Callee && Callee->hasParamAttribute(i, Attribute::ImmArg), in visitCallBase()
/src/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp282 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h431 bool hasParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
/src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1024 if (OrigF.hasParamAttribute(Shape.AsyncLowering.ContextArgNo, in create()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp3064 NewFn->hasParamAttribute(ArgNo, Attribute::ReadNone); in rewriteFunctionSignatures()
H A DAttributorAttributes.cpp5767 if (F.hasParamAttribute(U, Attribute::Returned)) { in determineFunctionCaptureCapabilities()
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4180 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 DSelectionDAGBuilder.cpp3119 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent()