Home
last modified time | relevance | path

Searched refs:ParamAttrs (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def514 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__})
656 ParamAttrs(ReadOnlyPtrAttrs, SExt))
658 ParamAttrs(ReadOnlyPtrAttrs, SExt))
660 ParamAttrs(ReadOnlyPtrAttrs, SExt))
662 ParamAttrs())
663 __OMP_RTL_ATTRS(__kmpc_syncwarp, BarrierAttrs, AttributeSet(), ParamAttrs())
665 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt))
667 ParamAttrs(ReadOnlyPtrAttrs, SExt))
669 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
672 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp894 AttrBuilder ParamAttrs(Context); in addFramePointerAttrs() local
895 ParamAttrs.addAttribute(Attribute::NonNull); in addFramePointerAttrs()
896 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
899 ParamAttrs.addAttribute(Attribute::NoAlias); in addFramePointerAttrs()
901 ParamAttrs.addAlignmentAttr(Alignment); in addFramePointerAttrs()
902 ParamAttrs.addDereferenceableAttr(Size); in addFramePointerAttrs()
903 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addFramePointerAttrs()
908 AttrBuilder ParamAttrs(Context); in addAsyncContextAttrs() local
909 ParamAttrs.addAttribute(Attribute::SwiftAsync); in addAsyncContextAttrs()
910 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addAsyncContextAttrs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp192 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType() argument
195 if (Type *ByValTy = ParamAttrs.getByValType()) in getMemoryParamAllocType()
197 if (Type *ByRefTy = ParamAttrs.getByRefType()) in getMemoryParamAllocType()
199 if (Type *PreAllocTy = ParamAttrs.getPreallocatedType()) in getMemoryParamAllocType()
201 if (Type *InAllocaTy = ParamAttrs.getInAllocaType()) in getMemoryParamAllocType()
203 if (Type *SRetTy = ParamAttrs.getStructRetType()) in getMemoryParamAllocType()
210 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() local
212 if (Type *MemTy = getMemoryParamAllocType(ParamAttrs)) in getPassPointeeByValueCopySize()
218 AttributeSet ParamAttrs = in getPointeeInMemoryValueType() local
220 return getMemoryParamAllocType(ParamAttrs); in getPointeeInMemoryValueType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp514 AttrBuilder ParamAttrs(Ctx); in replaceAllUsesWithNewDeclaration() local
516 Attrs = Attrs.addParamAttributes(Ctx, FTy->getNumParams(), ParamAttrs); in replaceAllUsesWithNewDeclaration()
554 AttrBuilder ParamAttrs(Ctx); in deriveFixedArityReplacement() local
557 Attrs = Attrs.addParamAttributes(Ctx, NFTy->getNumParams() - 1, ParamAttrs); in deriveFixedArityReplacement()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10544 ArrayRef<ParamAttrTy> ParamAttrs) { in evaluateCDTSize() argument
10574 if (ParamAttrs[Offset].Kind == Vector) in evaluateCDTSize()
10580 if (ParamAttrs[I + Offset].Kind == Vector) { in evaluateCDTSize()
10598 static std::string mangleVectorParameters(ArrayRef<ParamAttrTy> ParamAttrs) { in mangleVectorParameters() argument
10601 for (const auto &ParamAttr : ParamAttrs) { in mangleVectorParameters()
10644 ArrayRef<ParamAttrTy> ParamAttrs, in emitX86DeclareSimdFunction() argument
10683 unsigned NumElts = evaluateCDTSize(FD, ParamAttrs); in emitX86DeclareSimdFunction()
10689 Out << mangleVectorParameters(ParamAttrs); in emitX86DeclareSimdFunction()
10764 getNDSWDS(const FunctionDecl *FD, ArrayRef<ParamAttrTy> ParamAttrs) { in getNDSWDS() argument
10779 Sizes.push_back(getAArch64LS(QT, ParamAttrs[I].Kind, C)); in getNDSWDS()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1821 ParsedAttributes *ParamAttrs);