Searched refs:isAligned (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | internal_allocator_test.cpp | 156 auto isAligned = [](void *ptr) { return IsAligned(reinterpret_cast<uintptr_t>(ptr), ALIGNMENT); }; in TEST_F() local 159 if (!isAligned(ptr)) { in TEST_F() 166 ASSERT_TRUE(isAligned(p)); in TEST_F() 172 ASSERT_TRUE(isAligned(p)); in TEST_F() 179 ASSERT_TRUE(isAligned(p)); in TEST_F() 198 auto isAligned = [](void *ptr) { return IsAligned(reinterpret_cast<uintptr_t>(ptr), ALIGNMENT); }; in TEST_F() local 201 if (!isAligned(ptr)) { in TEST_F() 208 ASSERT_TRUE(isAligned(p)); in TEST_F() 214 ASSERT_TRUE(isAligned(p)); in TEST_F() 220 ASSERT_TRUE(isAligned( in TEST_F() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode.cpp | 610 void Encoder::PushRegisters(RegMask regs, VRegMask fpRegs, bool isAligned) in PushRegisters() argument 612 ASSERT(GetArch() != Arch::AARCH64 || isAligned); in PushRegisters() 617 if (GetArch() != Arch::AARCH64 && isEven != isAligned) { in PushRegisters() 622 void Encoder::PopRegisters(RegMask regs, VRegMask fpRegs, bool isAligned) in PopRegisters() argument 625 if (GetArch() != Arch::AARCH64 && isEven != isAligned) { in PopRegisters()
|
H A D | encode.h | 353 void PushRegisters(RegMask regs, VRegMask fpRegs, bool isAligned = true); 354 void PopRegisters(RegMask regs, VRegMask fpRegs, bool isAligned = true);
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | elf_checker.cpp | 258 bool isAligned = (is32 ? CheckAlign<llvm::ELF::Elf32_Ehdr>(eIdent) : CheckAlign<llvm::ELF::Elf64_Ehdr>(eIdent)); in GetShnum() local 259 if (eIdent[llvm::ELF::EI_DATA] == ELF_BYTEORDER && isAligned) { in GetShnum()
|
Completed in 5 milliseconds