Lines Matching refs:Alignment
442 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) override { in allocateSpace() argument
448 if (Alignment == 0) Alignment = 1; in allocateSpace()
449 result = (uint8_t*)(((intptr_t)result+Alignment-1) & in allocateSpace()
450 ~(intptr_t)(Alignment-1)); in allocateSpace()
460 unsigned Alignment) override { in allocateStub() argument
461 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment); in allocateStub()
465 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) override { in allocateGlobal() argument
466 return (uint8_t*)DataAllocator.Allocate(Size, Alignment); in allocateGlobal()
470 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, in allocateCodeSection() argument
477 if (!Alignment) in allocateCodeSection()
478 Alignment = 16; in allocateCodeSection()
479 Size += Alignment - 1; in allocateCodeSection()
513 return (uint8_t*)RoundUpToAlignment((uint64_t)unalignedAddr, Alignment); in allocateCodeSection()
517 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, in allocateDataSection() argument
520 return (uint8_t*)DataAllocator.Allocate(Size, Alignment); in allocateDataSection()