/external/llvm/unittests/Support/ |
D | AlignOfTest.cpp | 155 EXPECT_LE(1u, alignOf<A1>()); in TEST() 156 EXPECT_LE(2u, alignOf<A2>()); in TEST() 157 EXPECT_LE(4u, alignOf<A4>()); in TEST() 158 EXPECT_LE(8u, alignOf<A8>()); in TEST() 160 EXPECT_EQ(1u, alignOf<char>()); in TEST() 161 EXPECT_LE(alignOf<char>(), alignOf<short>()); in TEST() 162 EXPECT_LE(alignOf<short>(), alignOf<int>()); in TEST() 163 EXPECT_LE(alignOf<int>(), alignOf<long>()); in TEST() 164 EXPECT_LE(alignOf<long>(), alignOf<long long>()); in TEST() 165 EXPECT_LE(alignOf<char>(), alignOf<float>()); in TEST() [all …]
|
D | TrailingObjectsTest.cpp | 124 llvm::alignTo(sizeof(bool) * 2, llvm::alignOf<double>())); in TEST() 125 EXPECT_EQ(llvm::alignOf<Class2>(), llvm::alignOf<double>()); in TEST() 167 EXPECT_EQ(sizeof(Class3), llvm::alignTo(1, llvm::alignOf<double>())); in TEST() 187 llvm::alignTo(sizeof(long) + 1, llvm::alignOf<long>())); in TEST() 188 EXPECT_EQ(sizeof(Class4), llvm::alignTo(1, llvm::alignOf<long>())); in TEST() 194 reinterpret_cast<char *>(C + 1) + 1, llvm::alignOf<long>()))); in TEST()
|
/external/clang/lib/AST/ |
D | StmtOpenMP.cpp | 61 llvm::alignTo(sizeof(OMPParallelDirective), llvm::alignOf<OMPClause *>()); in Create() 76 llvm::alignTo(sizeof(OMPParallelDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty() 88 llvm::alignTo(sizeof(OMPSimdDirective), llvm::alignOf<OMPClause *>()); in Create() 117 llvm::alignTo(sizeof(OMPSimdDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty() 130 llvm::alignTo(sizeof(OMPForDirective), llvm::alignOf<OMPClause *>()); in Create() 170 llvm::alignTo(sizeof(OMPForDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty() 183 llvm::alignTo(sizeof(OMPForSimdDirective), llvm::alignOf<OMPClause *>()); in Create() 222 llvm::alignTo(sizeof(OMPForSimdDirective), llvm::alignOf<OMPClause *>()); in CreateEmpty() 233 llvm::alignTo(sizeof(OMPSectionsDirective), llvm::alignOf<OMPClause *>()); in Create() 248 llvm::alignTo(sizeof(OMPSectionsDirective), llvm::alignOf<OMPClause *>()); 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 | 229 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedLookupExpr>()); in Create() 244 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() 289 llvm::alignOf<DeclAccessPair>())); in OverloadExpr() 329 llvm::alignOf<DeclAccessPair>())); in initializeResults() 1044 llvm::alignOf<ExprWithCleanups>()); in Create() 1058 llvm::alignOf<ExprWithCleanups>()); in Create() 1157 void *Mem = C.Allocate(Size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in Create() 1174 void *Mem = C.Allocate(Size, llvm::alignOf<CXXDependentScopeMemberExpr>()); in CreateEmpty() 1258 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedMemberExpr>()); in Create() 1273 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedMemberExpr>()); in CreateEmpty()
|
D | NestedNameSpecifier.cpp | 37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>()) in FindOrInsert() 116 new (Context, llvm::alignOf<NestedNameSpecifier>()) in GlobalSpecifier() 690 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() 1001 unsigned FirstCaptureOffset = llvm::alignTo(Size, llvm::alignOf<Capture>()); in getStoredCaptures() 1058 Size = llvm::alignTo(Size, llvm::alignOf<Capture>()); in Create() 1071 Size = llvm::alignTo(Size, llvm::alignOf<Capture>()); in CreateDeserialized()
|
D | Expr.cpp | 406 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in Create() 423 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in CreateEmpty() 837 llvm::alignOf<StringLiteral>()); in Create() 855 llvm::alignOf<StringLiteral>()); in CreateEmpty() 1420 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); in Create() 3594 llvm::alignOf<DesignatedInitExpr>()); in Create() 3603 llvm::alignOf<DesignatedInitExpr>()); in CreateEmpty() 3743 llvm::alignOf<PseudoObjectExpr>()); in Create() 3771 llvm::alignOf<PseudoObjectExpr>()); in Create()
|
D | TemplateBase.cpp | 533 void *Mem = C.Allocate(size, llvm::alignOf<ASTTemplateArgumentListInfo>()); in Create()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | DebugSubsectionRecord.cpp | 73 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit() 82 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
|
/external/llvm/include/llvm/Support/ |
D | TrailingObjects.h | 172 llvm::alignAddr(Ptr, llvm::alignOf<NextTy>())); 187 llvm::alignAddr(Ptr, llvm::alignOf<NextTy>())); 200 ? llvm::alignTo(SizeSoFar, llvm::alignOf<NextTy>())
|
D | Allocator.h | 384 assert(Begin == (char*)alignAddr(Begin, alignOf<T>())); in DestroyAll() 393 char *Begin = (char*)alignAddr(*I, alignOf<T>()); in DestroyAll() 403 DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size); in DestroyAll()
|
D | AlignOf.h | 106 inline unsigned alignOf() { return AlignOf<T>::Alignment; }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 72 assert(Symbol.length() % alignOf(CodeViewContainer::Pdb) == 0 && in addSymbol() 156 assert(SymbolWriter.getOffset() % alignOf(CodeViewContainer::Pdb) == 0 && in commit()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | AlignOf.h | 57 static inline unsigned alignOf() { return AlignOf<T>::Alignment; } in alignOf() function
|
D | Allocator.h | 209 Ptr = Allocator.AlignPtr(Ptr, alignOf<T>());
|
/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/llvm/lib/MC/ |
D | MCSymbol.cpp | 37 void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>()); in operator new()
|
/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/Lex/ |
D | MacroInfo.cpp | 243 llvm::alignOf<ModuleMacro>()); in create()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeView.h | 572 inline uint32_t alignOf(CodeViewContainer Container) { in alignOf() function
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringMap.h | 159 unsigned Alignment = alignOf<StringMapEntry>(); in Create()
|