/external/llvm/unittests/Support/ |
D | AlignOfTest.cpp | 137 EXPECT_LE(1u, alignOf<A1>()); in TEST() 138 EXPECT_LE(2u, alignOf<A2>()); in TEST() 139 EXPECT_LE(4u, alignOf<A4>()); in TEST() 140 EXPECT_LE(8u, alignOf<A8>()); in TEST() 142 EXPECT_EQ(1u, alignOf<char>()); in TEST() 143 EXPECT_LE(alignOf<char>(), alignOf<short>()); in TEST() 144 EXPECT_LE(alignOf<short>(), alignOf<int>()); in TEST() 145 EXPECT_LE(alignOf<int>(), alignOf<long>()); in TEST() 146 EXPECT_LE(alignOf<long>(), alignOf<long long>()); in TEST() 147 EXPECT_LE(alignOf<char>(), alignOf<float>()); in TEST() [all …]
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 290 llvm::alignOf<AttributedStmt>()); in Create() 298 llvm::alignOf<AttributedStmt>()); in CreateEmpty() 740 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() 750 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty() 767 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() 776 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() 1017 llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in getStoredCaptures() 1074 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in Create() 1087 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in CreateDeserialized() 1131 llvm::alignOf<Expr *>()) + in Create() [all …]
|
D | ExprCXX.cpp | 319 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() 364 llvm::alignOf<DeclAccessPair>())); in OverloadExpr() 406 llvm::alignOf<DeclAccessPair>())); in initializeResults() 1003 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<VarDecl*>()); in Create() 1119 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create() 1132 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create() 1261 void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in Create() 1282 void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in CreateEmpty() 1370 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); in Create() 1385 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); in CreateEmpty()
|
D | TemplateBase.cpp | 514 assert(llvm::alignOf<ASTTemplateArgumentListInfo>() >= in Create() 515 llvm::alignOf<TemplateArgumentLoc>()); in Create() 517 void *Mem = C.Allocate(size, llvm::alignOf<ASTTemplateArgumentListInfo>()); in Create()
|
D | NestedNameSpecifier.cpp | 37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>()) in FindOrInsert() 116 new (Context, llvm::alignOf<NestedNameSpecifier>()) in GlobalSpecifier() 631 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>()); in getWithLocInContext()
|
D | Expr.cpp | 417 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in Create() 436 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in CreateEmpty() 805 llvm::alignOf<StringLiteral>()); in Create() 823 llvm::alignOf<StringLiteral>()); in CreateEmpty() 1348 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); in Create() 3935 llvm::alignOf<PseudoObjectExpr>()); in Create() 3964 llvm::alignOf<PseudoObjectExpr>()); in Create()
|
D | DeclTemplate.cpp | 62 unsigned Align = std::max(llvm::alignOf<TemplateParameterList>(), in Create() 63 llvm::alignOf<NamedDecl*>()); in Create()
|
D | ASTContext.cpp | 6179 QTN = new (*this, llvm::alignOf<QualifiedTemplateName>()) in getQualifiedTemplateName() 6207 QTN = new (*this, llvm::alignOf<DependentTemplateName>()) in getDependentTemplateName() 6211 QTN = new (*this, llvm::alignOf<DependentTemplateName>()) in getDependentTemplateName() 6243 QTN = new (*this, llvm::alignOf<DependentTemplateName>()) in getDependentTemplateName() 6247 QTN = new (*this, llvm::alignOf<DependentTemplateName>()) in getDependentTemplateName()
|
D | DeclCXX.cpp | 1644 llvm::alignOf<CXXCtorInitializer>()); in Create()
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 376 assert(Begin == alignPtr(Begin, alignOf<T>())); in DestroyAll() 385 char *Begin = alignPtr((char *)*I, alignOf<T>()); in DestroyAll() 395 DestroyElements(alignPtr((char *)Ptr, alignOf<T>()), (char *)Ptr + Size); in DestroyAll()
|
D | AlignOf.h | 58 inline unsigned alignOf() { return AlignOf<T>::Alignment; } in alignOf() function
|
D | OnDiskHashTable.h | 174 uint64_t N = llvm::OffsetToAlignment(TableOff, alignOf<offset_type>()); in Emit()
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 792 sizeof(PragmaPackInfo), llvm::alignOf<PragmaPackInfo>()); in HandlePragma() 802 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 845 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 914 sizeof(Token) * 1, llvm::alignOf<Token>()); in ParseAlignPragma() 1006 sizeof(Token) * 2 * Identifiers.size(), llvm::alignOf<Token>()); in HandlePragma() 1057 sizeof(Token) * 3, llvm::alignOf<Token>()); in HandlePragma() 1069 sizeof(Token) * 2, llvm::alignOf<Token>()); in HandlePragma() 1114 sizeof(Token) * 3, llvm::alignOf<Token>()); in HandlePragma() 1136 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 1194 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 331 return std::max(llvm::alignOf<LocalData>(), in getLocalDataAlignment() 518 return needsExtraLocalData() ? llvm::alignOf<WrittenBuiltinSpecs>() : 1; in getExtraLocalDataAlignment() 884 return llvm::alignOf<SourceLocation>(); in getExtraLocalDataAlignment() 1251 return llvm::alignOf<ParmVarDecl*>(); in getExtraLocalDataAlignment() 1446 return llvm::alignOf<TemplateArgumentLocInfo>(); in getExtraLocalDataAlignment() 1854 return llvm::alignOf<TemplateArgumentLocInfo>(); in getExtraLocalDataAlignment()
|
D | OpenMPClause.h | 83 llvm::RoundUpToAlignment(sizeof(T), llvm::alignOf<Expr *>())), in getVarRefs() 95 llvm::RoundUpToAlignment(sizeof(T), llvm::alignOf<Expr *>()))); in setVarRefs() 141 llvm::RoundUpToAlignment(sizeof(T), llvm::alignOf<Expr *>())), in getVarRefs()
|
D | StmtOpenMP.h | 74 llvm::alignOf<OMPClause *>())) {} in OMPExecutableDirective()
|
D | ASTVector.h | 383 T *NewElts = new (C, llvm::alignOf<T>()) T[NewCapacity]; in grow()
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 151 unsigned Alignment = alignOf<StringMapEntry>(); in Create()
|
D | IntervalMap.h | 1054 assert((uintptr_t(data) & (alignOf<RootLeaf>() - 1)) == 0 && in IntervalMap()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 335 llvm::alignOf<CodeCompletionString>()); in TakeString()
|
D | SemaCXXScopeSpec.cpp | 897 llvm::alignOf<NestedNameSpecifierAnnotation>()); in SaveNestedNameSpecifierAnnotation()
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>()); in InclusionDirective()
|
/external/clang/lib/Basic/ |
D | IdentifierTable.cpp | 542 llvm::alignOf<MultiKeywordSelector>()); in getSelector()
|
/external/llvm/include/llvm/CodeGen/ |
D | SlotIndexes.h | 363 alignOf<IndexListEntry>()));
|
/external/clang/lib/CodeGen/ |
D | CGCleanup.cpp | 401 assert((I % llvm::alignOf<LifetimeExtendedCleanupHeader>() == 0) && in PopCleanupBlocks()
|