Searched refs:RoundUpToAlignment (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DMathExtrasTest.cpp98 TEST(MathExtras, RoundUpToAlignment) {
99 EXPECT_EQ(8u, RoundUpToAlignment(5, 8));
100 EXPECT_EQ(24u, RoundUpToAlignment(17, 8));
101 EXPECT_EQ(0u, RoundUpToAlignment(~0LL, 8));
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DJITCodeEmitter.h153 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr,
162 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr,
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DMathExtras.h439 /// RoundUpToAlignment(5, 8) = 8
440 /// RoundUpToAlignment(17, 8) = 24
441 /// RoundUpToAlignment(~0LL, 8) = 0
443 inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { function in namespace:llvm
451 return RoundUpToAlignment(Value, Align) - Value;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp60 maxCallFrameSize = RoundUpToAlignment(maxCallFrameSize, TargetAlign);
69 FrameSize = RoundUpToAlignment(FrameSize, TargetAlign);
/macosx-10.10.1/objc4-646/runtime/
H A Dllvm-MathExtras.h432 /// RoundUpToAlignment(5, 8) = 8
433 /// RoundUpToAlignment(17, 8) = 24
434 /// RoundUpToAlignment(~0LL, 8) = 0
436 inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { function in namespace:objc
444 return RoundUpToAlignment(Value, Align) - Value;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DMemoryBuffer.cpp125 RoundUpToAlignment(sizeof(MemoryBufferMem) + BufferName.size() + 1,
/macosx-10.10.1/llvmCore-3425.0.34/lib/MC/
H A DELFObjectWriter.cpp1498 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
1507 FileOff = RoundUpToAlignment(FileOff, NaturalAlignment);
1519 FileOff = RoundUpToAlignment(FileOff, SD.getAlignment());
H A DMachObjectWriter.cpp550 StartAddress = RoundUpToAlignment(StartAddress, SD->getAlignment());
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DMemoryBuiltins.cpp372 return APInt(IntTyBits, RoundUpToAlignment(Size.getZExtValue(), Align));
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Mips/
H A DMipsISelLowering.cpp2910 NextStackOffset = RoundUpToAlignment(NextStackOffset, StackAlignment);

Completed in 250 milliseconds