Lines Matching full:allocate

305       Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>(  in Create()
319 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>( in CreateEmpty()
428 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in Create()
449 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in Create()
462 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in CreateEmpty()
541 void *Mem = Context.Allocate(Size); in Create()
554 void *Mem = Context.Allocate(Size); in CreateEmpty()
617 // Allocate storage for the trailing objects of CallExpr. in Create()
621 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, in Create()
631 // Allocate storage for the trailing objects of CallExpr. in CreateEmpty()
634 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, in CreateEmpty()
682 // Allocate storage for the trailing objects of CallExpr. in Create()
686 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, in Create()
696 // Allocate storage for the trailing objects of CallExpr. in CreateEmpty()
699 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, in CreateEmpty()
769 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in Create()
783 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in CreateEmpty()
797 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize)); in Create()
809 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize)); in CreateEmpty()
860 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize)); in Create()
872 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize)); in CreateEmpty()
908 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in Create()
922 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in CreateEmpty()
956 // Allocate storage for the trailing objects of CallExpr. in Create()
960 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, in Create()
970 // Allocate storage for the trailing objects of CallExpr. in CreateEmpty()
973 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, in CreateEmpty()
1015 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); in CreateEmpty()
1025 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); in Create()
1069 auto *Mem = C.Allocate(Size, alignof(CXXDefaultInitExpr)); in CreateEmpty()
1080 auto *Mem = Ctx.Allocate(Size, alignof(CXXDefaultInitExpr)); in Create()
1133 Ctx.Allocate(sizeof(CXXTemporaryObjectExpr) + SizeOfTrailingObjects, in Create()
1144 Ctx.Allocate(sizeof(CXXTemporaryObjectExpr) + SizeOfTrailingObjects, in CreateEmpty()
1167 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, in Create()
1178 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, in CreateEmpty()
1307 void *Mem = Context.Allocate(Size); in Create()
1317 void *Mem = C.Allocate(Size); in CreateDeserialized()
1436 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(objects.size()), in Create()
1450 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(numObjects), in Create()
1476 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(Args.size())); in Create()
1484 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(NumArgs)); in CreateEmpty()
1549 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); in Create()
1564 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); in CreateEmpty()
1649 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); in Create()
1662 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); in CreateEmpty()
1701 Context.Allocate(totalSizeToAlloc<TemplateArgument>(PartialArgs.size())); in Create()
1709 Context.Allocate(totalSizeToAlloc<TemplateArgument>(NumPartialArgs)); in CreateDeserialized()
1729 Context.Allocate(totalSizeToAlloc<Expr *>(SubstitutedExprs.size())); in Create()
1749 Context.Allocate(totalSizeToAlloc<Expr *>(NumTransformedExprs)); in CreateDeserialized()
1800 return new (Context.Allocate(totalSizeToAlloc<VarDecl *>(Params.size()))) in Create()
1807 return new (Context.Allocate(totalSizeToAlloc<VarDecl *>(NumParams))) in CreateEmpty()
1831 // We may need to allocate extra storage for the mangling number and the in setExtendingDecl()
1883 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(Args.size())); in Create()
1889 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(NumArgs)); in CreateDeserialized()
1911 // Allocate storage for the trailing objects of CallExpr. in Create()
1915 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, in Create()
1925 // Allocate storage for the trailing objects of CallExpr. in CreateEmpty()
1928 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, in CreateEmpty()
1938 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Args.size())); in Create()
1946 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumExprs), in CreateEmpty()