Home
last modified time | relevance | path

Searched defs:alignment (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/mem/
Dmem_map_allocator.cpp26 void MemMapAllocator::InitializeRegularRegionMap([[maybe_unused]] size_t alignment) in InitializeRegularRegionMap()
50 void MemMapAllocator::InitializeHugeRegionMap(size_t alignment) in InitializeHugeRegionMap()
105 MemMap MemMapAllocator::Allocate(const uint32_t threadId, size_t size, size_t alignment, in Allocate()
Dmem.h126 constexpr inline bool IsAligned(T value, size_t alignment) in IsAligned()
132 inline T AlignDown(T x, size_t alignment) in AlignDown()
141 inline T AlignUp(T x, size_t alignment) in AlignUp()
Dmem_map_allocator.h251 void Initialize(size_t alignment) in Initialize()
/arkcompiler/runtime_core/libpandabase/mem/
Darena-inl.h46 inline void *Arena::Alloc(size_t size, Alignment alignment) in Alloc()
59 inline void *Arena::AlignedAlloc(size_t size, [[maybe_unused]] Alignment alignment) in AlignedAlloc()
Dmem.h98 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignUp(T value, size_t alignment) in AlignUp()
104 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignDown(T value, size_t alignment) in AlignDown()
Darena_allocator.cpp65 …ine void *ArenaAllocatorT<use_oom_handler>::AllocateAndAddNewPool(size_t size, Alignment alignment) in AllocateAndAddNewPool()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Darena-inl.h46 inline void *Arena::Alloc(size_t size, Alignment alignment) in Alloc()
59 inline void *Arena::AlignedAlloc(size_t size, [[maybe_unused]] Alignment alignment) in AlignedAlloc()
Darena_allocator.cpp65 …ine void *ArenaAllocatorT<USE_OOM_HANDLER>::AllocateAndAddNewPool(size_t size, Alignment alignment) in AllocateAndAddNewPool()
Dmem.h96 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignUp(T value, size_t alignment) in AlignUp()
102 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignDown(T value, size_t alignment) in AlignDown()
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
Dark_aot_linker.cpp38 uint8_t *PandaSectionMemoryManager::allocateCodeSection(uintptr_t size, unsigned int alignment, uns… in allocateCodeSection()
46 uint8_t *PandaSectionMemoryManager::allocateDataSection(uintptr_t size, unsigned int alignment, uns… in allocateDataSection()
60 size_t alignment) in RememberAllocation()
Dcreated_object_file.h35 …xplicit SectionReference(const uint8_t *memory, uintptr_t size, std::string name, size_t alignment) in SectionReference()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dmem_hooks.cpp100 void *PandaHooks::MemalignHook(size_t alignment, size_t size, const void *caller) in MemalignHook()
160 void *memalign(size_t alignment, size_t size) noexcept in memalign()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dmap.cpp39 MemMap PageMap(size_t size, int prot, size_t alignment, void *addr, [[maybe_unused]] int flags) in PageMap()
68 MemMap MachineCodePageMap(size_t size, int prot, size_t alignment) in MachineCodePageMap()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dmap.cpp24 MemMap PageMap(size_t size, int prot, size_t alignment, void *addr, int flags) in PageMap()
51 MemMap MachineCodePageMap(size_t size, int prot, size_t alignment) in MachineCodePageMap()
/arkcompiler/runtime_core/libpandabase/tests/
Dcode_allocator_test.cpp38 static bool IsAligned(const void *ptr, size_t alignment) in IsAligned()
Darena_allocator_test.cpp64 static bool IsAligned(const void *ptr, size_t alignment) in IsAligned()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dcode_allocator_test.cpp42 static bool IsAligned(const void *ptr, size_t alignment) in IsAligned()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
Dlitecg_codegen.cpp43 …atic uint8_t *AllocateCodeSection(void *object, uint32_t size, [[maybe_unused]] uint32_t alignment, in AllocateCodeSection()
50 …t8_t *AllocateCodeSectionOnDemand(void *object, uint32_t size, [[maybe_unused]] uint32_t alignment, in AllocateCodeSectionOnDemand()
/arkcompiler/runtime_core/static_core/libpandafile/
Dfile_writer.h47 bool Align(size_t alignment) in Align()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dbitmap_test_base.h29 inline size_t FnRounddown(size_t val, size_t alignment) in FnRounddown()
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Daot_builder.h42 size_t alignment; member
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.h48 bool Align(size_t alignment) in Align()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
Dgc_barriers.cpp64 auto alignment = module->getDataLayout().getPrefTypeAlignment(load->getType()); in EmitPreWRB() local
/arkcompiler/runtime_core/static_core/runtime/mem/
Dbump-allocator-inl.h79 …BumpPointerAllocator<AllocConfigT, LockConfigT, USE_TLABS>::Alloc(size_t size, Alignment alignment) in Alloc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
Dllvm_codegen.cpp352 …_t *RoundTripAllocateCodeSection(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateCodeSection()
359 …dTripAllocateCodeSectionOnDemand(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateCodeSectionOnDemand()
366 …_t *RoundTripAllocateDataSection(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateDataSection()
374 …dTripAllocateDataSectionOnDemand(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateDataSectionOnDemand()

12