Home
last modified time | relevance | path

Searched refs:getFnAttrs (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp183 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
187 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion()
279 CallPAL.getFnAttrs(), in doPromotion()
H A DDeadArgumentElimination.cpp197 PAL = AttributeList::get(F.getContext(), PAL.getFnAttrs(), in deleteDeadVarargs()
856 PAL.getFnAttrs().removeAttribute(F->getContext(), Attribute::AllocSize); in removeDeadStuffFromFunction()
933 AttributeSet FnAttrs = CallPAL.getFnAttrs().removeAttribute( in removeDeadStuffFromFunction()
H A DThinLTOBitcodeWriter.cpp199 F.getAttributes().getFnAttrs())); in simplifyExternals()
H A DExpandVariadics.cpp800 AttributeList::get(Ctx, PAL.getFnAttrs(), PAL.getRetAttrs(), ArgAttrs); in expandCall()
H A DAttributor.cpp3053 Ctx, OldFnAttributeList.getFnAttrs(), OldFnAttributeList.getRetAttrs(), in rewriteFunctionSignatures()
3141 Ctx, OldCallAttributeList.getFnAttrs(), in rewriteFunctionSignatures()
3372 auto FnAttrs = Attrs.getFnAttrs(); in identifyDefaultAbstractAttributes()
H A DWholeProgramDevirt.cpp1514 AttributeList::get(M.getContext(), Attrs.getFnAttrs(), in applyICallBranchFunnel()
H A DIROutliner.cpp2261 for (Attribute A : CurrentOS->ExtractedFunction->getAttributes().getFnAttrs()) in fillOverallFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp110 collectDeadStringAttrs(DeadAttrs, Attrs.getFnAttrs(), LiveKeys, in removeStringFunctionAttributes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1628 AttributeSet AttributeList::getFnAttrs() const { in getFnAttrs() function in AttributeList
1705 return getFnAttrs().getStackAlignment(); in getFnStackAlignment()
1738 return getFnAttrs().getUWTableKind(); in getUWTableKind()
1742 return getFnAttrs().getAllocKind(); in getAllocKind()
1746 return getFnAttrs().getMemoryEffects(); in getMemoryEffects()
H A DAsmWriter.cpp1038 AttributeSet FnAttrs = F.getAttributes().getFnAttrs(); in processModule()
1079 AttributeSet Attrs = Call->getAttributes().getFnAttrs(); in processFunction()
3960 AttributeSet AS = Attrs.getFnAttrs(); in printFunction()
4048 Out << " #" << Machine.getAttributeGroupSlot(Attrs.getFnAttrs()); in printFunction()
4442 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttrs()); in printInstruction()
4480 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttrs()); in printInstruction()
4520 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttrs()); in printInstruction()
H A DVerifier.cpp2202 verifyAttributeTypes(Attrs.getFnAttrs(), V); in verifyFunctionAttrs()
2203 for (Attribute FnAttr : Attrs.getFnAttrs()) in verifyFunctionAttrs()
2271 if (auto Args = Attrs.getFnAttrs().getAllocSizeArgs()) { in verifyFunctionAttrs()
2315 unsigned VScaleMin = Attrs.getFnAttrs().getVScaleRangeMin(); in verifyFunctionAttrs()
2320 std::optional<unsigned> VScaleMax = Attrs.getFnAttrs().getVScaleRangeMax(); in verifyFunctionAttrs()
6086 KnownMinNumElements *= Attrs.getFnAttrs().getVScaleRangeMin(); in visitIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp556 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttrs(), in promoteCall()
H A DAssumeBundleBuilder.cpp215 for (Attribute Attr : AttrList.getFnAttrs()) in addCall()
H A DCloneFunction.cpp148 AttributeList::get(NewFunc->getContext(), OldAttrs.getFnAttrs(), in CloneFunctionInto()
H A DCodeExtractor.cpp902 for (const auto &Attr : oldFunction->getAttributes().getFnAttrs()) { in constructFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h303 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttrs();
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp368 Fn->getAttributes().getFnAttrs()); in emitEntryFunction()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp393 for (Attribute A : NewAttrs.getFnAttrs()) { in TestFuncAttrs()
1220 for (Attribute A : Fn->getAttributes().getFnAttrs()) in DebugACrash()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h793 AttributeSet getFnAttrs() const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1017 Context, AttrBuilder(Context, OrigAttrs.getFnAttrs())); in create()
1039 auto FnAttrs = OrigF.getAttributes().getFnAttrs(); in create()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1461 AttrBuilder FnAttrs(Ctx, OrigAL.getFnAttrs()); in legalizeCallAttributes()
1465 for (Attribute A : OrigAL.getFnAttrs()) { in legalizeCallAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp542 AttrBuilder FnAttrs(CI->getContext(), InvokeAL.getFnAttrs()); in wrapInvoke()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp1715 NewF->getContext(), OldAttrs.getFnAttrs(), RetAttrs, ArgAttrs)); in moveFunctionAdaptingType()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp235 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule()
251 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule()
258 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule()
265 AttrBuilder FnAttrs(M->getContext(), AS.getFnAttrs()); in validateEndOfModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4283 AttributeSet FnAttrs = CallerPAL.getFnAttrs(); in transformConstExprCastCall()
4448 AttributeList::get(FTy->getContext(), Attrs.getFnAttrs(), in transformCallThroughTrampoline()

12