Lines Matching refs:NumPages
152 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
153 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
158 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
165 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
167 NumPages * PageSize, in emitIndirectStubsBlock()
168 NumPages * PageSize); in emitIndirectStubsBlock()
172 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) in emitIndirectStubsBlock()
234 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
235 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
240 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
247 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
249 NumPages * PageSize, in emitIndirectStubsBlock()
250 NumPages * PageSize); in emitIndirectStubsBlock()
254 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize - 6) in emitIndirectStubsBlock()
502 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
503 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
508 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
515 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
517 NumPages * PageSize, in emitIndirectStubsBlock()
518 NumPages * PageSize); in emitIndirectStubsBlock()
688 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
689 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
694 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
701 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
703 NumPages * PageSize, in emitIndirectStubsBlock()
704 NumPages * PageSize); in emitIndirectStubsBlock()
708 uint64_t PtrAddr = reinterpret_cast<uint64_t>(Stub) + NumPages * PageSize; in emitIndirectStubsBlock()
934 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
935 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
940 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
947 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
949 NumPages * PageSize, in emitIndirectStubsBlock()
950 NumPages * PageSize); in emitIndirectStubsBlock()