Lines Matching refs:Alignment
69 unsigned Alignment) { in allocateSGMemory() argument
76 if (Alignment == 0) in allocateSGMemory()
77 Alignment = 1; in allocateSGMemory()
80 result = (uint8_t*) (((intptr_t) result) & ~(intptr_t) (Alignment - 1)); in allocateSGMemory()
175 uint8_t *CodeMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) { in allocateSpace() argument
181 if (Alignment == 0) in allocateSpace()
182 Alignment = 1; in allocateSpace()
185 result = (uint8_t*) (((intptr_t) result + Alignment - 1) & in allocateSpace()
186 ~(intptr_t) (Alignment - 1)); in allocateSpace()
194 uint8_t *CodeMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) { in allocateGlobal() argument
201 if (Alignment == 0) in allocateGlobal()
202 Alignment = 1; in allocateGlobal()
205 result = (uint8_t*) (((intptr_t) result + Alignment - 1) & in allocateGlobal()
206 ~(intptr_t) (Alignment - 1)); in allocateGlobal()