/external/llvm/unittests/Support/ |
D | AlignOfTest.cpp | 139 EXPECT_LE(1u, alignOf<A1>()); in TEST() 140 EXPECT_LE(2u, alignOf<A2>()); in TEST() 141 EXPECT_LE(4u, alignOf<A4>()); in TEST() 142 EXPECT_LE(8u, alignOf<A8>()); in TEST() 144 EXPECT_EQ(1u, alignOf<char>()); in TEST() 145 EXPECT_LE(alignOf<char>(), alignOf<short>()); in TEST() 146 EXPECT_LE(alignOf<short>(), alignOf<int>()); in TEST() 147 EXPECT_LE(alignOf<int>(), alignOf<long>()); in TEST() 148 EXPECT_LE(alignOf<long>(), alignOf<long long>()); in TEST() 149 EXPECT_LE(alignOf<char>(), alignOf<float>()); in TEST() [all …]
|
D | TrailingObjectsTest.cpp | 122 llvm::alignOf<double>())); in TEST() 123 EXPECT_EQ(llvm::alignOf<Class2>(), llvm::alignOf<double>()); in TEST() 166 llvm::RoundUpToAlignment(1, llvm::alignOf<double>())); in TEST()
|
/external/clang/lib/AST/ |
D | StmtOpenMP.cpp | 61 llvm::alignOf<OMPClause *>()); in Create() 76 llvm::alignOf<OMPClause *>()); in CreateEmpty() 88 llvm::alignOf<OMPClause *>()); in Create() 116 llvm::alignOf<OMPClause *>()); in CreateEmpty() 129 llvm::alignOf<OMPClause *>()); in Create() 165 llvm::alignOf<OMPClause *>()); in CreateEmpty() 178 llvm::alignOf<OMPClause *>()); in Create() 213 llvm::alignOf<OMPClause *>()); in CreateEmpty() 224 llvm::alignOf<OMPClause *>()); in Create() 239 llvm::alignOf<OMPClause *>()); in CreateEmpty() [all …]
|
D | OpenMPClause.cpp | 44 llvm::alignOf<Expr *>()) + in Create() 56 llvm::alignOf<Expr *>()) + in CreateEmpty() 79 llvm::alignOf<Expr *>()) + in Create() 92 llvm::alignOf<Expr *>()) + in CreateEmpty() 130 llvm::alignOf<Expr *>()) + in Create() 144 llvm::alignOf<Expr *>()) + in CreateEmpty() 155 llvm::alignOf<Expr *>()) + in Create() 165 llvm::alignOf<Expr *>()) + in CreateEmpty() 202 llvm::alignOf<Expr *>()) + in Create() 225 llvm::alignOf<Expr *>()) + in CreateEmpty() [all …]
|
D | StmtObjC.cpp | 53 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() 63 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty()
|
D | StmtCXX.cpp | 31 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() 40 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create()
|
D | ExprCXX.cpp | 314 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() 359 llvm::alignOf<DeclAccessPair>())); in OverloadExpr() 400 llvm::alignOf<DeclAccessPair>())); in initializeResults() 1008 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<VarDecl*>()); in Create() 1133 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create() 1146 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create() 1275 void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in Create() 1296 void *Mem = C.Allocate(size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in CreateEmpty() 1384 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); in Create() 1399 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedMemberExpr>()); in CreateEmpty()
|
D | TemplateBase.cpp | 523 assert(llvm::alignOf<ASTTemplateArgumentListInfo>() >= in Create() 524 llvm::alignOf<TemplateArgumentLoc>()); in Create() 526 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() 676 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>()); in getWithLocInContext()
|
D | Stmt.cpp | 318 llvm::alignOf<AttributedStmt>()); in Create() 326 llvm::alignOf<AttributedStmt>()); in CreateEmpty() 980 llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in getStoredCaptures() 1037 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in Create() 1050 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in CreateDeserialized()
|
D | Expr.cpp | 404 llvm::alignOf<ASTTemplateKWAndArgsInfo>()); in Create() 408 llvm::alignOf<ASTTemplateKWAndArgsInfo>()); in Create() 412 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in Create() 430 llvm::alignOf<ASTTemplateKWAndArgsInfo>()); in CreateEmpty() 434 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in CreateEmpty() 848 llvm::alignOf<StringLiteral>()); in Create() 866 llvm::alignOf<StringLiteral>()); in CreateEmpty() 1435 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); in Create() 3734 llvm::alignOf<DesignatedInitExpr>()); in Create() 3886 llvm::alignOf<PseudoObjectExpr>()); in Create() [all …]
|
D | TypeLoc.cpp | 22 static const unsigned TypeLocMaxDataAlign = llvm::alignOf<void *>();
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 381 assert(Begin == (char*)alignAddr(Begin, alignOf<T>())); in DestroyAll() 390 char *Begin = (char*)alignAddr(*I, alignOf<T>()); in DestroyAll() 400 DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size); in DestroyAll()
|
D | AlignOf.h | 79 inline unsigned alignOf() { return AlignOf<T>::Alignment; } in alignOf() function
|
/external/llvm/lib/MC/ |
D | MCSymbol.cpp | 35 void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>()); in operator new()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 350 return std::max(llvm::alignOf<LocalData>(), in getLocalDataAlignment() 551 return needsExtraLocalData() ? llvm::alignOf<WrittenBuiltinSpecs>() : 1; in getExtraLocalDataAlignment() 963 assert(llvm::alignOf<ObjCObjectTypeLoc>() in getExtraLocalDataAlignment() 964 >= llvm::alignOf<TypeSourceInfo *>() && in getExtraLocalDataAlignment() 966 return llvm::alignOf<TypeSourceInfo *>(); in getExtraLocalDataAlignment() 1333 return llvm::alignOf<ParmVarDecl*>(); in getExtraLocalDataAlignment() 1528 return llvm::alignOf<TemplateArgumentLocInfo>(); in getExtraLocalDataAlignment() 1938 return llvm::alignOf<TemplateArgumentLocInfo>(); in getExtraLocalDataAlignment()
|
D | ASTVector.h | 384 T *NewElts = new (C, llvm::alignOf<T>()) T[NewCapacity]; in grow()
|
/external/deqp/framework/delibs/decpp/ |
D | deDefs.hpp | 76 size_t alignOf (void) in alignOf() function
|
D | deAppendList.hpp | 77 deAlign32((deUint32)alignOf<ElementType>(), (deUint32)sizeof(void*))))) in Block()
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 1038 sizeof(PragmaPackInfo), llvm::alignOf<PragmaPackInfo>()); in HandlePragma() 1048 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 1093 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 1164 sizeof(Token) * 1, llvm::alignOf<Token>()); in ParseAlignPragma() 1257 sizeof(Token) * 2 * Identifiers.size(), llvm::alignOf<Token>()); in HandlePragma() 1308 sizeof(Token) * 3, llvm::alignOf<Token>()); in HandlePragma() 1321 sizeof(Token) * 2, llvm::alignOf<Token>()); in HandlePragma() 1367 sizeof(Token) * 3, llvm::alignOf<Token>()); in HandlePragma() 1390 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma() 1449 sizeof(Token) * 1, llvm::alignOf<Token>()); in HandlePragma()
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 243 llvm::alignOf<ModuleMacro>()); in create()
|
D | PreprocessingRecord.cpp | 35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>()); in InclusionDirective()
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 156 unsigned Alignment = alignOf<StringMapEntry>(); in Create()
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 332 llvm::alignOf<CodeCompletionString>()); in TakeString()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 396 OpSize = RoundUpToAlignment(OpSize, llvm::alignOf<uint64_t>()); in operator new() 407 OpSize = RoundUpToAlignment(OpSize, llvm::alignOf<uint64_t>()); in operator delete()
|