Searched refs:Alignment (Results 1 – 13 of 13) sorted by relevance
/art/compiler/optimizing/ |
D | nodes_vector_test.cc | 75 TEST(NodesVector, Alignment) { in TEST() argument 76 EXPECT_TRUE(Alignment(1, 0).IsAlignedAt(1)); in TEST() 77 EXPECT_FALSE(Alignment(1, 0).IsAlignedAt(2)); in TEST() 79 EXPECT_TRUE(Alignment(2, 0).IsAlignedAt(1)); in TEST() 80 EXPECT_TRUE(Alignment(2, 1).IsAlignedAt(1)); in TEST() 81 EXPECT_TRUE(Alignment(2, 0).IsAlignedAt(2)); in TEST() 82 EXPECT_FALSE(Alignment(2, 1).IsAlignedAt(2)); in TEST() 83 EXPECT_FALSE(Alignment(2, 0).IsAlignedAt(4)); in TEST() 84 EXPECT_FALSE(Alignment(2, 1).IsAlignedAt(4)); in TEST() 86 EXPECT_TRUE(Alignment(4, 0).IsAlignedAt(1)); in TEST() [all …]
|
D | nodes_vector.h | 30 class Alignment { 32 Alignment(size_t base, size_t offset) : base_(base), offset_(offset) { in Alignment() function 53 bool operator==(const Alignment& other) const { 276 void SetAlignment(Alignment alignment) { alignment_ = alignment; } in SetAlignment() 278 Alignment GetAlignment() const { return alignment_; } in GetAlignment() 295 Alignment alignment_;
|
D | loop_optimization.h | 228 Alignment ComputeAlignment(HInstruction* offset,
|
D | loop_optimization.cc | 1005 Alignment alignment = ComputeAlignment(i->offset, i->type, i->is_string_char_at); in ShouldVectorize() 1791 Alignment(GetVectorSizeInBytes(), 0)); in GenerateVecMem() 2222 Alignment HLoopOptimization::ComputeAlignment(HInstruction* offset, in ComputeAlignment() 2232 return Alignment(BaseAlignment(), start_offset & (BaseAlignment() - 1u)); in ComputeAlignment() 2235 return Alignment(DataType::Size(type), 0); in ComputeAlignment()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 48 size_(RoundUp(call_sites_offset_ + CallSitesSize(num_call_sites), Alignment())) { in DexCacheArraysLayout() 55 inline size_t DexCacheArraysLayout::Alignment() const { in Alignment() function 56 return Alignment(pointer_size_); in Alignment() 59 inline constexpr size_t DexCacheArraysLayout::Alignment(PointerSize pointer_size) { in Alignment() function
|
D | dex_cache_arrays_layout.h | 60 size_t Alignment() const; 62 static constexpr size_t Alignment(PointerSize pointer_size);
|
/art/runtime/mirror/ |
D | dex_cache.cc | 53 DCHECK(layout.Alignment() == 8u || layout.Alignment() == 16u); in InitializeDexCache() 55 raw_arrays = (layout.Alignment() == 16u) in InitializeDexCache()
|
D | class-inl.h | 224 size_t method_alignment = ArtMethod::Alignment(pointer_size); in GetMethodsSliceRangeUnchecked()
|
/art/runtime/ |
D | image-inl.h | 68 const size_t method_alignment = ArtMethod::Alignment(pointer_size); in VisitPackedArtMethods()
|
D | art_method.h | 647 static size_t Alignment(PointerSize pointer_size) { in Alignment() function
|
D | runtime.cc | 2178 const size_t method_alignment = ArtMethod::Alignment(image_pointer_size); in CreateRuntimeMethod()
|
D | class_linker.cc | 3574 const size_t method_alignment = ArtMethod::Alignment(image_pointer_size_); in AllocArtMethodArray() 7408 method_alignment_(ArtMethod::Alignment(class_linker->GetImagePointerSize())), in LinkInterfaceMethodsHelper()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 2062 const size_t method_alignment = ArtMethod::Alignment(target_ptr_size_); in TryAssignBinSlot() 2300 const size_t method_alignment = ArtMethod::Alignment(target_ptr_size_); in CalculateNewObjectOffsets() 2462 bin_offset = RoundUp(bin_offset, DexCacheArraysLayout::Alignment(target_ptr_size_)); in CalculateNewObjectOffsets() 2846 size_t alignment = ArtMethod::Alignment(target_ptr_size_); in CopyAndFixupNativeData()
|