Home
last modified time | relevance | path

Searched refs:totalSizeToAlloc (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenACC.cpp21 OpenACCComputeConstruct::totalSizeToAlloc<const OpenACCClause *>( in CreateEmpty()
32 OpenACCComputeConstruct::totalSizeToAlloc<const OpenACCClause *>( in Create()
69 C.Allocate(OpenACCLoopConstruct::totalSizeToAlloc<const OpenACCClause *>( in CreateEmpty()
80 C.Allocate(OpenACCLoopConstruct::totalSizeToAlloc<const OpenACCClause *>( in Create()
91 OpenACCCombinedConstruct::totalSizeToAlloc<const OpenACCClause *>( in CreateEmpty()
102 OpenACCCombinedConstruct::totalSizeToAlloc<const OpenACCClause *>( in Create()
112 C.Allocate(OpenACCDataConstruct::totalSizeToAlloc<const OpenACCClause *>( in CreateEmpty()
124 C.Allocate(OpenACCDataConstruct::totalSizeToAlloc<const OpenACCClause *>( in Create()
135 OpenACCEnterDataConstruct::totalSizeToAlloc<const OpenACCClause *>( in CreateEmpty()
145 OpenACCEnterDataConstruct::totalSizeToAlloc<const OpenACCClause *>( in Create()
[all …]
H A DOpenMPClause.cpp349 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create()
361 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty()
406 C.Allocate(totalSizeToAlloc<SourceLocation, OpenMPDependClauseKind>(2, 1), in Create()
421 C.Allocate(totalSizeToAlloc<SourceLocation, OpenMPDependClauseKind>(2, 1), in CreateEmpty()
439 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create()
449 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * N)); in CreateEmpty()
470 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size())); in Create()
482 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * N)); in CreateEmpty()
519 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create()
533 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N)); in CreateEmpty()
[all …]
H A DOpenACCClause.cpp95 void *Mem = C.Allocate(OpenACCSelfClause::totalSizeToAlloc<Expr *>(1)); in Create()
106 C.Allocate(OpenACCSelfClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
292 OpenACCWaitClause::totalSizeToAlloc<Expr *>(QueueIdExprs.size() + 1)); in Create()
303 OpenACCNumGangsClause::totalSizeToAlloc<Expr *>(IntExprs.size())); in Create()
313 C.Allocate(OpenACCTileClause::totalSizeToAlloc<Expr *>(SizeExprs.size())); in Create()
323 OpenACCPrivateClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
331 OpenACCFirstPrivateClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
342 C.Allocate(OpenACCAttachClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
352 C.Allocate(OpenACCDetachClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
362 C.Allocate(OpenACCDeleteClause::totalSizeToAlloc<Expr *>(VarList.size())); in Create()
[all …]
H A DExprCXX.cpp306 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>( in Create()
319 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>( in CreateEmpty()
426 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create()
446 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create()
459 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in CreateEmpty()
539 totalSizeToAlloc<ASTTemplateKWAndArgsInfo, TemplateArgumentLoc>( in Create()
552 totalSizeToAlloc<ASTTemplateKWAndArgsInfo, TemplateArgumentLoc>( in CreateEmpty()
775 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in Create()
789 C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *, FPOptionsOverride>( in CreateEmpty()
803 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize)); in Create()
[all …]
H A DStmtCXX.cpp28 const size_t Size = totalSizeToAlloc<Stmt *>(handlers.size() + 1); in Create()
35 const size_t Size = totalSizeToAlloc<Stmt *>(numHandlers + 1); in Create()
89 std::size_t Size = totalSizeToAlloc<Stmt *>( in Create()
98 std::size_t Size = totalSizeToAlloc<Stmt *>( in Create()
H A DStmtObjC.cpp50 totalSizeToAlloc<Stmt *>(1 + NumCatchStmts + (atFinallyStmt != nullptr)); in Create()
59 size_t Size = totalSizeToAlloc<Stmt *>(1 + NumCatchStmts + HasFinally); in CreateEmpty()
H A DExprObjC.cpp40 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); in Create()
46 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumElements)); in CreateEmpty()
79 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in Create()
87 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in CreateEmpty()
249 totalSizeToAlloc<void *, SourceLocation>(NumArgs + 1, NumStoredSelLocs), in alloc()
H A DStmt.cpp394 C.Allocate(totalSizeToAlloc<Stmt *, FPOptionsOverride>( in Create()
403 totalSizeToAlloc<Stmt *, FPOptionsOverride>(NumStmts, HasFPFeatures), in CreateEmpty()
436 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), in Create()
444 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()
1010 totalSizeToAlloc<Stmt *, SourceLocation>( in Create()
1020 totalSizeToAlloc<Stmt *, SourceLocation>( in CreateEmpty()
1131 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1139 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1193 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1200 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
[all …]
H A DExpr.cpp342 unsigned Size = totalSizeToAlloc<APValue, uint64_t>( in Create()
370 unsigned Size = totalSizeToAlloc<APValue, uint64_t>( in CreateEmpty()
516 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *, in Create()
535 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *, in CreateEmpty()
636 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), in Create()
643 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), in CreateEmpty()
1191 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>( in Create()
1201 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>( in CreateEmpty()
1659 totalSizeToAlloc<OffsetOfNode, Expr *>(comps.size(), exprs.size())); in Create()
1668 C.Allocate(totalSizeToAlloc<OffsetOfNode, Expr *>(numComps, numExprs)); in CreateEmpty()
[all …]
H A DExprConcepts.cpp172 C.Allocate(totalSizeToAlloc<ParmVarDecl *, concepts::Requirement *>( in Create()
184 C.Allocate(totalSizeToAlloc<ParmVarDecl *, concepts::Requirement *>( in Create()
H A DDeclGroup.cpp22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); in Create()
H A DASTConcept.cpp62 totalSizeToAlloc<UnsatisfiedConstraintRecord>( in Create()
71 totalSizeToAlloc<UnsatisfiedConstraintRecord>(Satisfaction.NumRecords); in Rebuild()
H A DTemplateBase.cpp707 std::size_t size = totalSizeToAlloc<TemplateArgumentLoc>(List.size()); in Create()
718 totalSizeToAlloc<TemplateArgumentLoc>(List->getNumTemplateArgs()); in Create()
H A DDeclTemplate.cpp130 void *Mem = C.Allocate(totalSizeToAlloc<NamedDecl *, Expr *>( in Create()
945 void *Mem = Context.Allocate(totalSizeToAlloc<TemplateArgument>(Args.size())); in CreateCopy()
960 C.Allocate(totalSizeToAlloc<MemberSpecializationInfo *>(MSInfo ? 1 : 0)); in Create()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributeImpl.h218 static size_t totalSizeToAlloc(StringRef Kind, StringRef Val) { in totalSizeToAlloc() function
219 return TrailingObjects::totalSizeToAlloc<char>(Kind.size() + 1 + in totalSizeToAlloc()
268 static size_t totalSizeToAlloc(ArrayRef<ConstantRange> Val) { in totalSizeToAlloc() function
269 return TrailingObjects::totalSizeToAlloc<ConstantRange>(Val.size()); in totalSizeToAlloc()
H A DAttributes.cpp139 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
222 ConstantRangeListAttributeImpl::totalSizeToAlloc(Val), in get()
1282 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size())); in getSorted()
1499 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
H A DDataLayout.cpp719 StructLayout::totalSizeToAlloc<TypeSize>(Ty->getNumElements())); in getStructLayout()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h626 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
630 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
634 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
740 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
769 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in create()
792 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in createTypeAttribute()
H A DParsedTemplate.h205 totalSizeToAlloc<ParsedTemplateArgument>(TemplateArgs.size()))) in Create()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DParsedAttr.cpp33 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in allocated_size()
36 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in allocated_size()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h398 totalSizeToAlloc(typename trailing_objects_internal::ExtractSecondType< in totalSizeToAlloc() function
426 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroArgs.cpp51 llvm::safe_malloc(totalSizeToAlloc<Token>(UnexpArgTokens.size()))) in create()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTrieRawHashMap.cpp83 return totalSizeToAlloc<LazyAtomicPointer<TrieNode>>(Count); in sizeToAlloc()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp277 totalSizeToAlloc<const Record *>(Classes.size()), alignof(RecordRecTy)); in get()
486 totalSizeToAlloc<const Init *>(Bits.size()), alignof(BitsInit)); in get()
724 totalSizeToAlloc<const Init *>(Elements.size()), alignof(ListInit)); in get()
2424 totalSizeToAlloc<const ArgumentInit *>(Args.size()), alignof(VarDefInit)); in get()
2617 totalSizeToAlloc<const Init *>(2 * Conds.size()), alignof(CondOpInit)); in get()
2727 RK.Allocator.Allocate(totalSizeToAlloc<const Init *, const StringInit *>( in get()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCall.cpp29 totalSizeToAlloc<CanQualType>(argTypes.size() + 1)); in create()

12