/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()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | Layout.cpp | 35 alignOf = std::max(alignOf, align); in requireAlignment() 44 return sizeOf == other.sizeOf && alignOf == other.alignOf; in operator ==() 49 requireAlignment(other.alignOf, true); in operator +=() 139 layout.sizeOf = RoundUpToMultipleOf(layout.sizeOf, layout.alignOf); in MetalLayoutOf() 159 auto layout = Layout{scalarLayout.sizeOf * innerScale, scalarLayout.alignOf}; in MetalLayoutOf() 261 layout.sizeOf = RoundUpToMultipleOf(layout.sizeOf, layout.alignOf); in CommonGlslStructLayoutOf() 308 Layout{scalarLayout.sizeOf * sizeScale, scalarLayout.alignOf * alignScale}; in CommonGlslLayoutOf()
|
D | Layout.h | 44 size_t alignOf; member
|
D | ModifyStruct.cpp | 547 if (glslLayout.alignOf > metalLayout.alignOf && field != first) in introducePadding() 550 metalLayoutTotal.requireAlignment(glslLayout.alignOf, true); in introducePadding()
|
/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
D | DebugSubsectionRecord.cpp | 70 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit() 79 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | DebugSubsectionRecord.cpp | 72 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit() 81 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/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 80 assert(BulkSymbols.size() % alignOf(CodeViewContainer::Pdb) == 0 && in addSymbolsInBulk() 161 assert(SymbolWriter.getOffset() % alignOf(CodeViewContainer::Pdb) == 0 && in commit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 80 assert(BulkSymbols.size() % alignOf(CodeViewContainer::Pdb) == 0 && in addSymbolsInBulk() 162 assert(SymbolWriter.getOffset() % alignOf(CodeViewContainer::Pdb) == 0 && in commit()
|
/external/llvm/lib/MC/ |
D | MCSymbol.cpp | 37 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()
|
/external/deqp/framework/delibs/decpp/ |
D | deDefs.hpp | 124 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-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeView.h | 606 inline uint32_t alignOf(CodeViewContainer Container) { in alignOf() function
|