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.def520 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__})
663 ParamAttrs(ReadOnlyPtrAttrs, SExt))
665 ParamAttrs(ReadOnlyPtrAttrs, SExt))
667 ParamAttrs(ReadOnlyPtrAttrs, SExt))
669 ParamAttrs())
670 __OMP_RTL_ATTRS(__kmpc_syncwarp, BarrierAttrs, AttributeSet(), ParamAttrs())
672 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt))
674 ParamAttrs(ReadOnlyPtrAttrs, SExt))
676 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
679 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), AttributeSet(),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp185 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs) { in getMemoryParamAllocType() argument
188 if (Type *ByValTy = ParamAttrs.getByValType()) in getMemoryParamAllocType()
190 if (Type *ByRefTy = ParamAttrs.getByRefType()) in getMemoryParamAllocType()
192 if (Type *PreAllocTy = ParamAttrs.getPreallocatedType()) in getMemoryParamAllocType()
194 if (Type *InAllocaTy = ParamAttrs.getInAllocaType()) in getMemoryParamAllocType()
196 if (Type *SRetTy = ParamAttrs.getStructRetType()) in getMemoryParamAllocType()
203 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() local
205 if (Type *MemTy = getMemoryParamAllocType(ParamAttrs)) in getPassPointeeByValueCopySize()
211 AttributeSet ParamAttrs = in getPointeeInMemoryValueType() local
213 return getMemoryParamAllocType(ParamAttrs); in getPointeeInMemoryValueType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp852 AttrBuilder ParamAttrs(Context); in addFramePointerAttrs() local
853 ParamAttrs.addAttribute(Attribute::NonNull); in addFramePointerAttrs()
854 ParamAttrs.addAttribute(Attribute::NoUndef); in addFramePointerAttrs()
857 ParamAttrs.addAttribute(Attribute::NoAlias); in addFramePointerAttrs()
859 ParamAttrs.addAlignmentAttr(Alignment); in addFramePointerAttrs()
860 ParamAttrs.addDereferenceableAttr(Size); in addFramePointerAttrs()
861 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addFramePointerAttrs()
866 AttrBuilder ParamAttrs(Context); in addAsyncContextAttrs() local
867 ParamAttrs.addAttribute(Attribute::SwiftAsync); in addAsyncContextAttrs()
868 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addAsyncContextAttrs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp495 AttrBuilder ParamAttrs(Ctx); in replaceAllUsesWithNewDeclaration() local
497 Attrs = Attrs.addParamAttributes(Ctx, FTy->getNumParams(), ParamAttrs); in replaceAllUsesWithNewDeclaration()
534 AttrBuilder ParamAttrs(Ctx); in deriveFixedArityReplacement() local
537 Attrs = Attrs.addParamAttributes(Ctx, NFTy->getNumParams() - 1, ParamAttrs); in deriveFixedArityReplacement()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp10612 ArrayRef<ParamAttrTy> ParamAttrs) { in evaluateCDTSize() argument
10642 if (ParamAttrs[Offset].Kind == Vector) in evaluateCDTSize()
10648 if (ParamAttrs[I + Offset].Kind == Vector) { in evaluateCDTSize()
10666 static std::string mangleVectorParameters(ArrayRef<ParamAttrTy> ParamAttrs) { in mangleVectorParameters() argument
10669 for (const auto &ParamAttr : ParamAttrs) { in mangleVectorParameters()
10712 ArrayRef<ParamAttrTy> ParamAttrs, in emitX86DeclareSimdFunction() argument
10751 unsigned NumElts = evaluateCDTSize(FD, ParamAttrs); in emitX86DeclareSimdFunction()
10757 Out << mangleVectorParameters(ParamAttrs); in emitX86DeclareSimdFunction()
10832 getNDSWDS(const FunctionDecl *FD, ArrayRef<ParamAttrTy> ParamAttrs) { in getNDSWDS() argument
10847 Sizes.push_back(getAArch64LS(QT, ParamAttrs[I].Kind, C)); in getNDSWDS()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h5713 ParsedAttributes *ParamAttrs);