Lines Matching refs:Seg
342 MutableArrayRef<char> getWorkingMemory(ProtectionFlags Seg) override { in allocate() argument
343 assert(SegBlocks.count(Seg) && "No allocation for segment"); in allocate()
344 return {static_cast<char *>(SegBlocks[Seg].base()), in allocate()
345 SegBlocks[Seg].allocatedSize()}; in allocate()
347 JITTargetAddress getTargetMemory(ProtectionFlags Seg) override { in allocate() argument
348 assert(SegBlocks.count(Seg) && "No allocation for segment"); in allocate()
349 return pointerToJITTargetAddress(SegBlocks[Seg].base()) + in allocate()
383 auto &Seg = KV.second; in allocate() local
385 if (Seg.getAlignment() > PageSize) in allocate()
390 if (PageSize % Seg.getAlignment() != 0) in allocate()
395 uint64_t ZeroFillStart = Seg.getContentSize(); in allocate()
396 uint64_t SegmentSize = ZeroFillStart + Seg.getZeroFillSize(); in allocate()
416 Seg.getZeroFillSize()); in allocate()