Lines Matching refs:AllocatorKind
325 void setAllocator(OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind, in setAllocator() argument
327 OMPPredefinedAllocators[AllocatorKind] = Allocator; in setAllocator()
330 Expr *getAllocator(OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind) const { in getAllocator()
331 return OMPPredefinedAllocators[AllocatorKind]; in getAllocator()
3033 auto AllocatorKind = static_cast<OMPAllocateDeclAttr::AllocatorTypeTy>(I); in getAllocatorKind() local
3034 const Expr *DefAllocator = Stack->getAllocator(AllocatorKind); in getAllocatorKind()
3039 AllocatorKindRes = AllocatorKind; in getAllocatorKind()
3048 OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind, Expr *Allocator) { in checkPreviousOMPAllocateAttribute() argument
3055 bool AllocatorsMatch = AllocatorKind == PrevAllocatorKind; in checkPreviousOMPAllocateAttribute()
3057 AllocatorKind == OMPAllocateDeclAttr::OMPUserDefinedMemAlloc && in checkPreviousOMPAllocateAttribute()
3098 OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind, in applyOMPAllocateAttribute() argument
3107 auto *A = OMPAllocateDeclAttr::CreateImplicit(S.Context, AllocatorKind, in applyOMPAllocateAttribute()
3130 OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind = in ActOnOpenMPAllocateDirective() local
3147 AllocatorKind, Allocator)) in ActOnOpenMPAllocateDirective()
3155 if (AllocatorKind == OMPAllocateDeclAttr::OMPUserDefinedMemAlloc) { in ActOnOpenMPAllocateDirective()
3169 applyOMPAllocateAttribute(*this, VD, AllocatorKind, Allocator, in ActOnOpenMPAllocateDirective()
5009 OMPAllocateDeclAttr::AllocatorTypeTy AllocatorKind = in checkAllocateClauses() local
5015 if (AllocatorKind == OMPAllocateDeclAttr::OMPThreadMemAlloc && in checkAllocateClauses()
5036 AllocatorKind, AC->getAllocator())) in checkAllocateClauses()
5038 applyOMPAllocateAttribute(S, PrivateVD, AllocatorKind, AC->getAllocator(), in checkAllocateClauses()
12883 auto AllocatorKind = static_cast<OMPAllocateDeclAttr::AllocatorTypeTy>(I); in findOMPAllocatorHandleT() local
12885 OMPAllocateDeclAttr::ConvertAllocatorTypeTyToStr(AllocatorKind); in findOMPAllocatorHandleT()
12906 Stack->setAllocator(AllocatorKind, Res.get()); in findOMPAllocatorHandleT()
19289 auto AllocatorKind = static_cast<OMPAllocateDeclAttr::AllocatorTypeTy>(I); in ActOnOpenMPUsesAllocatorClause() local
19291 OMPAllocateDeclAttr::ConvertAllocatorTypeTyToStr(AllocatorKind); in ActOnOpenMPUsesAllocatorClause()