| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | EPCGenericRTDyldMemoryManager.cpp | 106 if (!isPowerOf2_32(CodeAlign) || CodeAlign > EPC.getPageSize()) { in reserveAllocationSpace() 110 if (!isPowerOf2_32(RODataAlign) || RODataAlign > EPC.getPageSize()) { in reserveAllocationSpace() 114 if (!isPowerOf2_32(RWDataAlign) || RWDataAlign > EPC.getPageSize()) { in reserveAllocationSpace() 121 TotalSize += alignTo(CodeSize, EPC.getPageSize()); in reserveAllocationSpace() 122 TotalSize += alignTo(RODataSize, EPC.getPageSize()); in reserveAllocationSpace() 123 TotalSize += alignTo(RWDataSize, EPC.getPageSize()); in reserveAllocationSpace() 147 *TargetAllocAddr, ExecutorAddrDiff(alignTo(CodeSize, EPC.getPageSize()))}; in reserveAllocationSpace() 150 ExecutorAddrDiff(alignTo(RODataSize, EPC.getPageSize()))}; in reserveAllocationSpace() 153 ExecutorAddrDiff(alignTo(RWDataSize, EPC.getPageSize()))}; in reserveAllocationSpace()
|
| H A D | EPCGenericJITLinkMemoryManager.cpp | 54 Parent.EPC.getPageSize()), in finalize() 106 auto Pages = BL.getContiguousPageBasedLayoutSizes(EPC.getPageSize()); in allocate() 157 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); in completeAllocation()
|
| H A D | EPCIndirectionUtils.cpp | 87 (EPC.getPageSize() - ABI.getPointerSize()) / TrampolineSize; in EPCTrampolinePool() 111 auto PageSize = EPC.getPageSize(); in grow() 301 {ResolverSize, Align(EPC.getPageSize())}}}); in writeResolverBlock() 344 assert(EPC.getPageSize() > getABISupport().getStubSize() && in EPCIndirectionUtils() 357 auto PageSize = EPC.getPageSize(); in getIndirectStubs()
|
| H A D | MapperJITLinkMemoryManager.cpp | 66 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(Mapper->getPageSize()); in allocate() 101 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate()
|
| H A D | MemoryMapper.cpp | 32 auto PageSize = sys::Process::getPageSize(); in Create() 185 auto PageSize = sys::Process::getPageSize(); in Create()
|
| H A D | ExecutorProcessControl.cpp | 64 auto PageSize = sys::Process::getPageSize(); in Create()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | common.cpp | 16 uptr getPageSize(); 19 PageSizeCached = getPageSize(); in getPageSizeSlow()
|
| H A D | trusty.cpp | 29 uptr getPageSize() { return getauxval(AT_PAGESZ); } in getPageSize() function
|
| H A D | linux.cpp | 40 uptr getPageSize() { return static_cast<uptr>(sysconf(_SC_PAGESIZE)); } in getPageSize() function
|
| H A D | fuchsia.cpp | 26 uptr getPageSize() { return _zx_system_get_page_size(); } in getPageSize() function
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MemoryMapper.h | 46 virtual unsigned int getPageSize() = 0; 87 unsigned int getPageSize() override { return PageSize; } in getPageSize() function 138 unsigned int getPageSize() override { return PageSize; } in getPageSize() function
|
| H A D | ExecutorProcessControl.h | 204 unsigned getPageSize() const { return PageSize; } in getPageSize() function
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Process.h | 55 static Expected<unsigned> getPageSize(); 62 if (auto PageSize = getPageSize()) in getPageSizeEstimate()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ProcessTest.cpp | 107 llvm::Expected<unsigned> Result = llvm::sys::Process::getPageSize(); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | SharedMemoryMapperTest.cpp | 68 auto PageSize = Mapper->getPageSize(); in TEST()
|
| H A D | MemoryMapperTest.cpp | 72 auto PageSize = Mapper->getPageSize(); in TEST()
|
| /llvm-project-15.0.7/lld/MachO/Arch/ |
| H A D | ARM.cpp | 41 uint64_t getPageSize() const override { return 4 * 1024; } in getPageSize() function
|
| H A D | ARM64Common.h | 31 uint64_t getPageSize() const override { return 16 * 1024; } in getPageSize() function
|
| H A D | X86_64.cpp | 40 uint64_t getPageSize() const override { return 4 * 1024; } in getPageSize() function
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | Target.h | 68 virtual uint64_t getPageSize() const = 0;
|
| H A D | SectionPriorities.cpp | 160 const uint64_t maxClusterSize = target->getPageSize(); in run()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ScriptParser.cpp | 114 Expr getPageSize(); 1201 Expr ScriptParser::getPageSize() { in getPageSize() function in ScriptParser 1214 return getPageSize(); in readConstant() 1446 Expr e = getPageSize(); in readPrimary()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | SimpleRemoteEPCServer.cpp | 197 if (auto PageSize = sys::Process::getPageSize()) in sendSetupMessage()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 304 if (auto PageSize = sys::Process::getPageSize()) in Create()
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink.cpp | 638 if (auto PageSizeOrErr = sys::Process::getPageSize()) in JITLinkSlabAllocator() 1003 auto PageSize = sys::Process::getPageSize(); in Create() 1327 if (auto RealPageSize = sys::Process::getPageSize()) { in sanitizeArguments()
|