|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/MachineInstr.h 150 totalSizeToAlloc<MachineMemOperand *, MCSymbol *, MDNode *>(
include/llvm/Support/TrailingObjects.h 365 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
lib/IR/Attributes.cpp 759 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size()));
962 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()));
lib/TableGen/Record.cpp 189 void *Mem = Allocator.Allocate(totalSizeToAlloc<Record *>(Classes.size()),
352 void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()),
583 void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()),
1603 void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Args.size()),
1783 void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(2*CondRange.size()),
1905 void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.size()), alignof(BitsInit));
lib/Transforms/IPO/LowerTypeTests.cpp 282 totalSizeToAlloc<MDNode *>(Types.size()), alignof(GlobalTypeMember)));
315 Alloc.Allocate(totalSizeToAlloc<GlobalTypeMember *>(Targets.size()),
tools/clang/include/clang/Sema/ParsedAttr.h 550 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
554 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
558 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
653 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
658 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
685 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
710 ParsedAttr::totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
tools/clang/include/clang/Sema/ParsedTemplate.h 202 totalSizeToAlloc<ParsedTemplateArgument>(TemplateArgs.size())))
tools/clang/lib/AST/ASTContext.cpp 3211 ConstantArrayType::totalSizeToAlloc<const Expr *>(SizeExpr ? 1 : 0),
3879 size_t Size = FunctionProtoType::totalSizeToAlloc<
4300 void *Mem = Allocate(ElaboratedType::totalSizeToAlloc<TagDecl *>(!!OwnedTagDecl),
tools/clang/lib/AST/Decl.cpp 3663 totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>(
tools/clang/lib/AST/DeclGroup.cpp 22 unsigned Size = totalSizeToAlloc<Decl *>(NumDecls);
tools/clang/lib/AST/DeclObjC.cpp 1439 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()),
tools/clang/lib/AST/DeclTemplate.cpp 83 void *Mem = C.Allocate(totalSizeToAlloc<NamedDecl *, Expr *>(
717 void *Mem = Context.Allocate(totalSizeToAlloc<TemplateArgument>(Args.size()));
732 C.Allocate(totalSizeToAlloc<MemberSpecializationInfo *>(MSInfo ? 1 : 0));
tools/clang/lib/AST/Expr.cpp 283 unsigned Size = totalSizeToAlloc<APValue, uint64_t>(
308 unsigned Size = totalSizeToAlloc<APValue, uint64_t>(
571 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *,
590 totalSizeToAlloc<NestedNameSpecifierLoc, NamedDecl *,
634 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName),
641 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName),
1085 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>(
1096 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>(
1554 totalSizeToAlloc<OffsetOfNode, Expr *>(comps.size(), exprs.size()));
1563 C.Allocate(totalSizeToAlloc<OffsetOfNode, Expr *>(numComps, numExprs));
1669 totalSizeToAlloc<MemberExprNameQualifier, ASTTemplateKWAndArgsInfo,
1726 totalSizeToAlloc<MemberExprNameQualifier, ASTTemplateKWAndArgsInfo,
1986 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
2002 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
2013 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
2024 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
4191 totalSizeToAlloc<Stmt *, TypeSourceInfo *>(1 + NumAssocs, NumAssocs),
4205 totalSizeToAlloc<Stmt *, TypeSourceInfo *>(1 + NumAssocs, NumAssocs),
4216 totalSizeToAlloc<Stmt *, TypeSourceInfo *>(1 + NumAssocs, NumAssocs),
4304 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1),
4313 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(NumIndexExprs + 1),
4447 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(Exprs.size()),
4455 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumExprs), alignof(ParenListExpr));
4474 Context.Allocate(totalSizeToAlloc<Expr *>(1 + numSemanticExprs),
4502 void *buffer = C.Allocate(totalSizeToAlloc<Expr *>(semantics.size() + 1),
tools/clang/lib/AST/ExprCXX.cpp 270 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>(
284 Ctx.Allocate(totalSizeToAlloc<Stmt *, SourceRange>(
409 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo,
427 totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo,
439 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo,
562 totalSizeToAlloc<ASTTemplateKWAndArgsInfo, TemplateArgumentLoc>(
575 totalSizeToAlloc<ASTTemplateKWAndArgsInfo, TemplateArgumentLoc>(
782 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
794 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
807 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
819 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
864 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
876 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
899 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
910 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
1224 unsigned Size = totalSizeToAlloc<Stmt *>(Captures.size() + 1);
1234 unsigned Size = totalSizeToAlloc<Stmt *>(NumCaptures + 1);
1334 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(objects.size()),
1348 void *buffer = C.Allocate(totalSizeToAlloc<CleanupObject>(numObjects),
1381 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(Args.size()));
1388 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(NumArgs));
1456 unsigned Size = totalSizeToAlloc<ASTTemplateKWAndArgsInfo,
1471 unsigned Size = totalSizeToAlloc<ASTTemplateKWAndArgsInfo,
1547 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo,
1560 unsigned Size = totalSizeToAlloc<DeclAccessPair, ASTTemplateKWAndArgsInfo,
1602 Context.Allocate(totalSizeToAlloc<TemplateArgument>(PartialArgs.size()));
1610 Context.Allocate(totalSizeToAlloc<TemplateArgument>(NumPartialArgs));
1645 return new (Context.Allocate(totalSizeToAlloc<VarDecl *>(Params.size())))
1652 return new (Context.Allocate(totalSizeToAlloc<VarDecl *>(NumParams)))
1709 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(Args.size()));
1715 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(NumArgs));
1817 void *Buffer = C.Allocate(totalSizeToAlloc<TemplateArgument>(
1828 void *Buffer = C.Allocate(totalSizeToAlloc<TemplateArgument>(
tools/clang/lib/AST/ExprObjC.cpp 48 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size()));
54 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumElements));
98 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>(
106 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>(
285 totalSizeToAlloc<void *, SourceLocation>(NumArgs + 1, NumStoredSelLocs),
tools/clang/lib/AST/OpenMPClause.cpp 270 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops));
282 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops));
327 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size()));
337 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * N));
358 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size()));
370 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * N));
407 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size()));
421 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N));
430 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size()));
438 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N));
482 C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size() + 2 + VL.size() + 1));
507 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * NumVars + 2 + NumVars +1));
522 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1));
532 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumVars + 1));
562 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size()));
573 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * N));
603 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * VL.size()));
615 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(4 * N));
653 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size()));
668 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N));
706 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size()));
721 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * N));
768 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(6 * VL.size()));
784 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(6 * N));
794 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size()));
803 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N));
812 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + 1));
820 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N));
830 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(VL.size() + NumLoops));
844 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(N + NumLoops));
925 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
946 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
976 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
993 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1023 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1042 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1084 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1103 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1133 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1150 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
tools/clang/lib/AST/Stmt.cpp 321 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt));
328 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt));
359 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()),
367 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs),
870 totalSizeToAlloc<Stmt *, SourceLocation>(
880 totalSizeToAlloc<Stmt *, SourceLocation>(
974 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
982 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1031 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1038 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1089 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate),
1096 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate),
1107 totalSizeToAlloc<Stmt *, SourceLocation>(
1116 totalSizeToAlloc<Stmt *, SourceLocation>(
tools/clang/lib/AST/StmtCXX.cpp 27 const size_t Size = totalSizeToAlloc<Stmt *>(handlers.size() + 1);
34 const size_t Size = totalSizeToAlloc<Stmt *>(numHandlers + 1);
88 std::size_t Size = totalSizeToAlloc<Stmt *>(
97 std::size_t Size = totalSizeToAlloc<Stmt *>(
tools/clang/lib/AST/TemplateBase.cpp 566 std::size_t size = totalSizeToAlloc<TemplateArgumentLoc>(List.size());
tools/clang/lib/CodeGen/CGCall.cpp 808 operator new(totalSizeToAlloc<ArgInfo, ExtParameterInfo>(
tools/clang/lib/Lex/MacroArgs.cpp 52 llvm::safe_malloc(totalSizeToAlloc<Token>(UnexpArgTokens.size())))
tools/clang/lib/Sema/ParsedAttr.cpp 43 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
46 return totalSizeToAlloc<ArgsUnion, detail::AvailabilityData,
unittests/Support/TrailingObjectsTest.cpp 33 void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts));
76 ::operator new(totalSizeToAlloc<double, short>(HasDouble, HasShort));
117 llvm::alignTo(Class1::totalSizeToAlloc<short>(1), alignof(Class1)));
118 EXPECT_EQ(Class1::totalSizeToAlloc<short>(1), sizeof(Class1) + sizeof(short));
123 llvm::alignTo(Class1::totalSizeToAlloc<short>(3), alignof(Class1)));
124 EXPECT_EQ(Class1::totalSizeToAlloc<short>(3),
153 llvm::alignTo(Class2::totalSizeToAlloc<double, short>(1, 1),
155 EXPECT_EQ((Class2::totalSizeToAlloc<double, short>(1, 1)),
197 llvm::alignTo(Class3::totalSizeToAlloc<double, short, bool>(1, 1, 3),
227 llvm::alignTo(Class4::totalSizeToAlloc<char, long>(1, 1),