Home
last modified time | relevance | path

Searched refs:getPageSize (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp106 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 DEPCGenericJITLinkMemoryManager.cpp54 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 DEPCIndirectionUtils.cpp87 (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 DMapperJITLinkMemoryManager.cpp66 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(Mapper->getPageSize()); in allocate()
101 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate()
H A DMemoryMapper.cpp32 auto PageSize = sys::Process::getPageSize(); in Create()
185 auto PageSize = sys::Process::getPageSize(); in Create()
H A DExecutorProcessControl.cpp64 auto PageSize = sys::Process::getPageSize(); in Create()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcommon.cpp16 uptr getPageSize();
19 PageSizeCached = getPageSize(); in getPageSizeSlow()
H A Dtrusty.cpp29 uptr getPageSize() { return getauxval(AT_PAGESZ); } in getPageSize() function
H A Dlinux.cpp40 uptr getPageSize() { return static_cast<uptr>(sysconf(_SC_PAGESIZE)); } in getPageSize() function
H A Dfuchsia.cpp26 uptr getPageSize() { return _zx_system_get_page_size(); } in getPageSize() function
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h46 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 DExecutorProcessControl.h204 unsigned getPageSize() const { return PageSize; } in getPageSize() function
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DProcess.h55 static Expected<unsigned> getPageSize();
62 if (auto PageSize = getPageSize()) in getPageSizeEstimate()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DProcessTest.cpp107 llvm::Expected<unsigned> Result = llvm::sys::Process::getPageSize(); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DSharedMemoryMapperTest.cpp68 auto PageSize = Mapper->getPageSize(); in TEST()
H A DMemoryMapperTest.cpp72 auto PageSize = Mapper->getPageSize(); in TEST()
/llvm-project-15.0.7/lld/MachO/Arch/
H A DARM.cpp41 uint64_t getPageSize() const override { return 4 * 1024; } in getPageSize() function
H A DARM64Common.h31 uint64_t getPageSize() const override { return 16 * 1024; } in getPageSize() function
H A DX86_64.cpp40 uint64_t getPageSize() const override { return 4 * 1024; } in getPageSize() function
/llvm-project-15.0.7/lld/MachO/
H A DTarget.h68 virtual uint64_t getPageSize() const = 0;
H A DSectionPriorities.cpp160 const uint64_t maxClusterSize = target->getPageSize(); in run()
/llvm-project-15.0.7/lld/ELF/
H A DScriptParser.cpp114 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 DSimpleRemoteEPCServer.cpp197 if (auto PageSize = sys::Process::getPageSize()) in sendSetupMessage()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp304 if (auto PageSize = sys::Process::getPageSize()) in Create()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp638 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()

12