Home
last modified time | relevance | path

Searched refs:AlignTo (Results 1 – 10 of 10) sorted by relevance

/external/gemmlowp/meta/
Dstreams.h65 return AlignTo<64>(lanes_count * AlignTo(pack_size, params.stride)); in Scratch()
89 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in Scratch()
90 AlignTo(pack_size, params.count)); in Scratch()
114 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in Scratch()
115 AlignTo(pack_size, params.count)); in Scratch()
150 return AlignTo<32>(lanes_count * AlignTo<pack_size>(params.stride)); in PackedStride()
206 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in PackedStride()
207 AlignTo<pack_size>(params.count)); in PackedStride()
271 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in PackedStride()
272 AlignTo<pack_size>(params.count)); in PackedStride()
Dbase.h27 inline int AlignTo(int value) { in AlignTo() function
31 inline int AlignTo(int align, int value) { in AlignTo() function
Dsingle_thread_gemm.h41 return AlignTo<64 * 1024>(lhs_scratch + rhs_scratch); in EstimateScratchSize()
230 return AlignTo<64 * 1024>(lhs_scratch + rhs_scratch); in EstimateScratchSize()
/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena.cc33 T AlignTo(size_t alignment, T offset) { in AlignTo() function
68 size_t aligned_current_offset = AlignTo(alignment, current_offset); in Allocate()
79 best_offset = AlignTo(alignment, current_offset); in Allocate()
119 AlignTo(arena_alignment_, reinterpret_cast<intptr_t>(new_alloc))); in Commit()
Dinterpreter_test.cc1570 AlignTo(required_alignment, reinterpret_cast<intptr_t>(new_alloc))); in NewCustomAlloc()
1577 intptr_t AlignTo(size_t alignment, intptr_t offset) { in AlignTo() function in tflite::__anon68ff3d190111::TestCustomAllocation
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc218 inline int AlignTo(int offset, int alignment) { in AlignTo() function
224 inline int AlignOffset(int offset) { return AlignTo(offset, kSafeAlignment); } in AlignOffset()
739 size = AlignTo(size, std::min(kSafeAlignment, field_size)); in GetPrototypeNoLock()
747 size = AlignTo(size, kSafeAlignment); in GetPrototypeNoLock()
772 size = AlignTo(size, std::min(kSafeAlignment, field_size)); in GetPrototypeNoLock()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib_test.cc414 AlignTo(required_alignment, reinterpret_cast<intptr_t>(new_alloc))); in NewCustomAlloc()
421 intptr_t AlignTo(size_t alignment, intptr_t offset) { in AlignTo() function in tflite::WhileTest
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp1273 CharUnits AlignTo = in LayoutBase() local
1277 Offset = getDataSize().alignTo(AlignTo); in LayoutBase()
1281 Offset += AlignTo; in LayoutBase()
1287 if (InferAlignment && Offset < getDataSize().alignTo(AlignTo)) { in LayoutBase()
1970 CharUnits AlignTo = in LayoutField() local
1973 FieldOffset = FieldOffset.alignTo(AlignTo); in LayoutField()
1994 FieldOffset = getDataSize().alignTo(AlignTo); in LayoutField()
1996 FieldOffset += AlignTo; in LayoutField()
/external/llvm-project/llvm/unittests/Support/
DAlignmentTest.cpp87 TEST(AlignmentTest, AlignTo) { in TEST() argument
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h690 struct AlignTo {