/art/libartbase/base/ |
D | memory_region.h | 37 class MemoryRegion final : public ValueObject { 40 constexpr bool operator()(const MemoryRegion& lhs, const MemoryRegion& rhs) const { in operator() 45 MemoryRegion() : pointer_(nullptr), size_(0) {} in MemoryRegion() function 46 MemoryRegion(void* pointer_in, uintptr_t size_in) : pointer_(pointer_in), size_(size_in) {} in MemoryRegion() function 53 return OFFSETOF_MEMBER(MemoryRegion, pointer_); in pointer_offset() 112 void CopyFrom(size_t offset, const MemoryRegion& from) const; 117 CopyFrom(offset, MemoryRegion(vector.data(), vector.size())); in CopyFromVector() 122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion() 125 return MemoryRegion(reinterpret_cast<void*>(begin() + offset), size_in); in Subregion() 129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend()
|
D | memory_region_test.cc | 23 TEST(MemoryRegion, LoadUnaligned) { in TEST() argument 26 MemoryRegion region(&data, n); in TEST() 38 TEST(MemoryRegion, StoreUnaligned) { in TEST() argument 41 MemoryRegion region(&data, n); in TEST()
|
D | memory_region.cc | 24 void MemoryRegion::CopyFrom(size_t offset, const MemoryRegion& from) const { in CopyFrom()
|
D | bit_memory_region_test.cc | 61 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, 1); in TEST() 67 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST() 85 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, bit_length); in TEST() 91 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST()
|
D | bit_table_test.cc | 171 FNVHash<MemoryRegion> hasher; in TEST() 177 EXPECT_EQ(hasher(MemoryRegion(&value0, sizeof(value0))), in TEST() 178 hasher(MemoryRegion(&value1, sizeof(value1)))); in TEST() 186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST() 187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
|
D | bit_table.h | 308 FNVHash<MemoryRegion> hasher; 309 uint32_t hash = hasher(MemoryRegion(values, sizeof(Entry) * count)); 407 MemoryRegion operator[](size_t row) { return rows_[row]; } 408 const MemoryRegion operator[](size_t row) const { return rows_[row]; } 415 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup() 418 FNVHash<MemoryRegion> hasher; in Dedup() 424 if (MemoryRegion::ContentEquals()(region, rows_[it->second])) { in Dedup() 433 rows_.push_back(MemoryRegion(copy, region.size())); in Dedup() 451 for (MemoryRegion row : rows_) { in Encode() 479 ScopedArenaDeque<MemoryRegion> rows_;
|
D | bit_memory_region.h | 46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() 49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion()
|
/art/compiler/utils/ |
D | assembler.cc | 54 void AssemblerBuffer::ProcessFixups(const MemoryRegion& region) { in ProcessFixups() 63 void AssemblerBuffer::FinalizeInstructions(const MemoryRegion& instructions) { in FinalizeInstructions() 65 MemoryRegion from(reinterpret_cast<void*>(contents()), Size()); in FinalizeInstructions()
|
D | assembler.h | 50 virtual void Process(const MemoryRegion& region, int position) = 0; 168 void FinalizeInstructions(const MemoryRegion& region); 272 void ProcessFixups(const MemoryRegion& region); 378 virtual void FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions()
|
D | jni_macro_assembler.h | 38 class MemoryRegion; variable 95 virtual void FinalizeInstructions(const MemoryRegion& region) = 0; 307 void FinalizeInstructions(const MemoryRegion& region) override { in FinalizeInstructions()
|
D | jni_macro_assembler_test.h | 86 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
D | assembler_thumb_test.cc | 80 MemoryRegion code(&managed_code[0], managed_code.size()); in EmitAndCheck()
|
D | assembler_test.h | 1551 MemoryRegion code(&(*data)[0], data->size()); in DriverWrapper()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 80 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 122 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 143 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() 164 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 79 void Arm64Assembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() 81 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in FinalizeInstructions()
|
D | assembler_arm64.h | 94 void FinalizeInstructions(const MemoryRegion& region) override;
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 99 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImplSized()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 55 void ArmVIXLAssembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() 57 MemoryRegion from(vixl_masm_.GetBuffer()->GetStartAddress<void*>(), CodeSize()); in FinalizeInstructions()
|
D | assembler_arm_vixl.h | 180 void FinalizeInstructions(const MemoryRegion& region) override;
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 618 BitMemoryRegion(MemoryRegion( in DexFileData()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 679 MemoryRegion code(&managed_code[0], managed_code.size()); in ArtJniCompileMethodInternal()
|
/art/compiler/optimizing/ |
D | code_generator.cc | 444 MemoryRegion code(buffer, code_size); in Finalize()
|
D | code_generator_arm64.cc | 4938 MemoryRegion code_region(code->data(), code->size()); in EmitThunkCode()
|
D | code_generator_x86_64.cc | 7718 void Process(const MemoryRegion& region, int pos) override { in Process()
|
D | code_generator_x86.cc | 8438 void Process(const MemoryRegion& region, int pos) override { in Process()
|