Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp550 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N)); in CreateEmpty()
802 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>( in Create()
832 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>( in CreateEmpty()
1165 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
1187 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
1221 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
1239 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
1271 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
1291 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty()
1333 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create()
[all …]
H A DExprCXX.cpp258 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>( in Create()
272 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>( in CreateEmpty()
397 totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo, in Create()
964 size_t Size = totalSizeToAlloc<Expr *>(HasRewrittenInit); in CreateEmpty()
1018 size_t Size = totalSizeToAlloc<Expr *>(HasRewrittenInit); in CreateEmpty()
1266 unsigned Size = totalSizeToAlloc<Stmt *>(NumCaptures + 1); in CreateDeserialized()
1434 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(NumArgs)); in CreateEmpty()
1495 unsigned Size = totalSizeToAlloc<ASTTemplateKWAndArgsInfo, in Create()
1510 unsigned Size = totalSizeToAlloc<ASTTemplateKWAndArgsInfo, in CreateEmpty()
1853 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Args.size())); 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.cpp43 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); in Create()
49 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumElements)); in CreateEmpty()
82 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in Create()
90 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in CreateEmpty()
254 totalSizeToAlloc<void *, SourceLocation>(NumArgs + 1, NumStoredSelLocs), in alloc()
H A DStmt.cpp386 C.Allocate(totalSizeToAlloc<Stmt *, FPOptionsOverride>( in Create()
395 totalSizeToAlloc<Stmt *, FPOptionsOverride>(NumStmts, HasFPFeatures), in CreateEmpty()
428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), in Create()
436 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()
965 totalSizeToAlloc<Stmt *, SourceLocation>( in Create()
975 totalSizeToAlloc<Stmt *, SourceLocation>( in CreateEmpty()
1086 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1094 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1148 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1224 totalSizeToAlloc<Stmt *, SourceLocation>( in Create()
[all …]
H A DASTConcept.cpp69 totalSizeToAlloc<UnsatisfiedConstraintRecord>( in Create()
78 totalSizeToAlloc<UnsatisfiedConstraintRecord>(Satisfaction.NumRecords); in Rebuild()
H A DExpr.cpp333 unsigned Size = totalSizeToAlloc<APValue, uint64_t>( in Create()
361 unsigned Size = totalSizeToAlloc<APValue, uint64_t>( in CreateEmpty()
507 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *, in Create()
526 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *, in CreateEmpty()
632 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), in Create()
639 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), in CreateEmpty()
4537 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(NumIndexExprs + 1), in CreateEmpty()
4659 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(Exprs.size()), in Create()
4776 unsigned Size = totalSizeToAlloc<FPOptionsOverride>(HasFPFeatures); in Create()
5046 void *Mem = Ctx.Allocate(totalSizeToAlloc<Expr *>(NumSubExprs), in CreateEmpty()
[all …]
H A DDeclGroup.cpp22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls); in Create()
H A DExprConcepts.cpp179 C.Allocate(totalSizeToAlloc<ParmVarDecl *, concepts::Requirement *>( in Create()
191 C.Allocate(totalSizeToAlloc<ParmVarDecl *, concepts::Requirement *>( in Create()
H A DTemplateBase.cpp715 std::size_t size = totalSizeToAlloc<TemplateArgumentLoc>(List.size()); in Create()
726 totalSizeToAlloc<TemplateArgumentLoc>(List->getNumTemplateArgs()); in Create()
H A DDeclTemplate.cpp123 void *Mem = C.Allocate(totalSizeToAlloc<NamedDecl *, Expr *>( in Create()
883 void *Mem = Context.Allocate(totalSizeToAlloc<TemplateArgument>(Args.size())); in CreateCopy()
898 C.Allocate(totalSizeToAlloc<MemberSpecializationInfo *>(MSInfo ? 1 : 0)); in Create()
H A DASTContext.cpp3549 ConstantArrayType::totalSizeToAlloc<const Expr *>(SizeExpr ? 1 : 0), in getConstantArrayType()
4490 size_t Size = FunctionProtoType::totalSizeToAlloc< in getFunctionTypeInternal()
4668 void *Mem = Allocate(TypedefType::totalSizeToAlloc<QualType>(true), in getTypedefType()
4696 Allocate(UsingType::totalSizeToAlloc<QualType>(!Underlying.isNull()), in getUsingType()
4800 void *Mem = Allocate(SubstTemplateTypeParmType::totalSizeToAlloc<QualType>( in getSubstTemplateTypeParmType()
5034 Allocate(ElaboratedType::totalSizeToAlloc<TagDecl *>(!!OwnedTagDecl), in getElaboratedType()
H A DDeclObjC.cpp1526 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()), in create()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h623 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
627 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
631 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
732 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
737 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
764 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in create()
790 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in createTypeAttribute()
H A DParsedTemplate.h206 totalSizeToAlloc<ParsedTemplateArgument>(TemplateArgs.size()))) in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DParsedAttr.cpp43 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in allocated_size()
46 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData, in allocated_size()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h326 totalSizeToAlloc(typename trailing_objects_internal::ExtractSecondType< in totalSizeToAlloc() function
354 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAttributeImpl.h183 static size_t totalSizeToAlloc(StringRef Kind, StringRef Val) { in totalSizeToAlloc() function
184 return TrailingObjects::totalSizeToAlloc<char>(Kind.size() + 1 + in totalSizeToAlloc()
H A DAttributes.cpp136 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
939 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size())); in getSorted()
1150 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
H A DDataLayout.cpp731 StructLayout::totalSizeToAlloc<TypeSize>(Ty->getNumElements())); in getStructLayout()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DMacroArgs.cpp52 llvm::safe_malloc(totalSizeToAlloc<Token>(UnexpArgTokens.size()))) in create()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp238 totalSizeToAlloc<Record *>(Classes.size()), alignof(RecordRecTy)); in get()
445 void *Mem = RKImpl.Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()), in get()
672 void *Mem = RK.Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()), in get()
2252 totalSizeToAlloc<ArgumentInit *>(Args.size()), alignof(VarDefInit)); in get()
2450 totalSizeToAlloc<Init *>(2 * CondRange.size()), alignof(BitsInit)); in get()
2573 totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.size()), in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp289 totalSizeToAlloc<MDNode *>(Types.size()), alignof(GlobalTypeMember))); in create()
322 Alloc.Allocate(totalSizeToAlloc<GlobalTypeMember *>(Targets.size()), in create()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h168 totalSizeToAlloc<MachineMemOperand *, MCSymbol *, MDNode *, uint32_t>(

12