Searched refs:Alignment (Results 1 – 17 of 17) sorted by relevance
/art/compiler/optimizing/ |
D | nodes_vector_test.cc | 76 TEST(NodesVector, Alignment) { in TEST() argument 77 EXPECT_TRUE(Alignment(1, 0).IsAlignedAt(1)); in TEST() 78 EXPECT_FALSE(Alignment(1, 0).IsAlignedAt(2)); in TEST() 80 EXPECT_TRUE(Alignment(2, 0).IsAlignedAt(1)); in TEST() 81 EXPECT_TRUE(Alignment(2, 1).IsAlignedAt(1)); in TEST() 82 EXPECT_TRUE(Alignment(2, 0).IsAlignedAt(2)); in TEST() 83 EXPECT_FALSE(Alignment(2, 1).IsAlignedAt(2)); in TEST() 84 EXPECT_FALSE(Alignment(2, 0).IsAlignedAt(4)); in TEST() 85 EXPECT_FALSE(Alignment(2, 1).IsAlignedAt(4)); in TEST() 87 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 { 344 void SetAlignment(Alignment alignment) { alignment_ = alignment; } in SetAlignment() 346 Alignment GetAlignment() const { return alignment_; } in GetAlignment() 363 Alignment alignment_;
|
D | loop_optimization.h | 445 Alignment ComputeAlignment(HInstruction* offset,
|
D | loop_optimization.cc | 1233 Alignment alignment = ComputeAlignment(i->offset, i->type, i->is_string_char_at); in CanVectorizeDataFlow() 2265 Alignment(GetVectorSizeInBytes(), 0)); in GenerateVecMem() 2799 Alignment HLoopOptimization::ComputeAlignment(HInstruction* offset, in ComputeAlignment() 2809 return Alignment(BaseAlignment(), start_offset & (BaseAlignment() - 1u)); in ComputeAlignment() 2812 return Alignment(DataType::Size(type), 0); in ComputeAlignment()
|
D | code_generator_arm64.cc | 1265 DCHECK_GE(ArtMethod::Alignment(kRuntimePointerSize), static_cast<size_t>(4)); in GenerateMethodEntryExitHook()
|
D | code_generator_riscv64.cc | 2666 DCHECK_GE(ArtMethod::Alignment(kRuntimePointerSize), static_cast<size_t>(4)); in GenerateMethodEntryExitHook()
|
D | code_generator_x86_64.cc | 1722 DCHECK_GE(ArtMethod::Alignment(kRuntimePointerSize), static_cast<size_t>(4)); in GenerateMethodEntryExitHook()
|
D | code_generator_x86.cc | 1304 DCHECK_GE(ArtMethod::Alignment(kRuntimePointerSize), static_cast<size_t>(4)); in GenerateMethodEntryExitHook()
|
D | code_generator_arm_vixl.cc | 2242 DCHECK_GE(ArtMethod::Alignment(kRuntimePointerSize), static_cast<size_t>(4)); in GenerateMethodEntryExitHook()
|
/art/runtime/oat/ |
D | image-inl.h | 68 const size_t method_alignment = ArtMethod::Alignment(pointer_size); in VisitPackedArtMethods()
|
/art/runtime/ |
D | art_method-inl.h | 646 ArtMethod* first_method = &array->At(0, kMethodSize, ArtMethod::Alignment(kPointerSize));
|
D | art_method.h | 1001 static constexpr size_t Alignment(PointerSize pointer_size) {
|
D | runtime.cc | 2722 const size_t method_alignment = ArtMethod::Alignment(image_pointer_size); in CreateRuntimeMethod()
|
D | class_linker.cc | 3886 const size_t method_alignment = ArtMethod::Alignment(image_pointer_size_); in AllocArtMethodArray() 8035 static constexpr size_t kMethodAlignment = ArtMethod::Alignment(kPointerSize);
|
/art/runtime/mirror/ |
D | class-inl.h | 226 size_t method_alignment = ArtMethod::Alignment(pointer_size); in GetMethodsSliceRangeUnchecked()
|
D | class.cc | 2197 size_t art_method_align = ArtMethod::Alignment(pointer_size); in GetMethodIdOffset()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1455 const size_t method_alignment = ArtMethod::Alignment(target_ptr_size_); in RecordNativeRelocations() 2363 bin_offset = RoundUp(bin_offset, ArtMethod::Alignment(image_writer_->target_ptr_size_)); in FinalizeBinSlotOffsets() 2995 size_t alignment = ArtMethod::Alignment(target_ptr_size_); in CopyAndFixupNativeData()
|