| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | EPCGenericJITLinkMemoryManager.cpp | 31 SegInfo() : WorkingMem(nullptr), ContentSize(0), ZeroFillSize(0) {} in SegInfo() 35 uint64_t ContentSize; member 48 assert(KV.second.ContentSize <= std::numeric_limits<size_t>::max()); in finalize() 52 alignTo(KV.second.ContentSize + KV.second.ZeroFillSize, in finalize() 54 {KV.second.WorkingMem, static_cast<size_t>(KV.second.ContentSize)}}); in finalize() 154 KV.second.WorkingMem = BL.getGraph().allocateBuffer(Seg.ContentSize).data(); in completeAllocation() 156 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); in completeAllocation() 159 SegInfo.ContentSize = Seg.ContentSize; in completeAllocation()
|
| H A D | MemoryMapper.cpp | 58 char *InProcessMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 70 auto Size = Segment.ContentSize + Segment.ZeroFillSize; in initialize() 78 std::memset((Base + Segment.ContentSize).toPtr<void *>(), 0, in initialize() 295 char *SharedMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 322 std::memset(Base + Segment.ContentSize, 0, Segment.ZeroFillSize); in initialize() 327 SegReq.Size = Segment.ContentSize + Segment.ZeroFillSize; in initialize()
|
| H A D | MapperJITLinkMemoryManager.cpp | 91 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() 100 SI.ContentSize = Seg.ContentSize; in allocate()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 57 Seg.ContentSize = alignToBlock(Seg.ContentSize, *B); in BasicLayout() 58 Seg.ContentSize += B->getSize(); in BasicLayout() 62 uint64_t SegEndOffset = Seg.ContentSize; in BasicLayout() 68 Seg.ZeroFillSize = SegEndOffset - Seg.ContentSize; in BasicLayout() 72 << ": content-size=" << formatv("{0:x}", Seg.ContentSize) in BasicLayout() 91 uint64_t SegSize = alignTo(Seg.ContentSize + Seg.ZeroFillSize, PageSize); in getContiguousPageBasedLayoutSizes() 173 if (Seg.ContentSize != 0) { in Create() 177 G->createMutableContentBlock(Sec, G->allocateBuffer(Seg.ContentSize), in Create() 180 NextAddr += Seg.ContentSize; in Create() 287 alignTo(Seg.ContentSize + Seg.ZeroFillSize, MemMgr.PageSize); in applyProtections() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MemoryMapper.h | 34 size_t ContentSize; member 53 virtual char *prepare(ExecutorAddr Addr, size_t ContentSize) = 0; 94 char *prepare(ExecutorAddr Addr, size_t ContentSize) override; 144 char *prepare(ExecutorAddr Addr, size_t ContentSize) override;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.h | 225 : ContentSize(0), ZeroFillSize(0), Addr(0), WorkingMem(nullptr), in Segment() 228 size_t ContentSize; variable 299 Segment(size_t ContentSize, Align ContentAlign) in Segment() 300 : ContentSize(ContentSize), ContentAlign(ContentAlign) {} in Segment() 302 size_t ContentSize = 0; member
|
| H A D | JITLink.h | 1040 Block &createMutableContentBlock(Section &Parent, size_t ContentSize, 1044 auto Content = allocateContent(ContentSize);
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | XCOFFEmitter.cpp | 167 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < RawSize) { in initStringTable() 168 ErrHandler("specified ContentSize (" + Twine(*Obj.StrTbl.ContentSize) + in initStringTable() 175 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize <= 3) { in initStringTable() 223 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < StrTblSize) { in initStringTable() 224 ErrHandler("specified ContentSize (" + Twine(*Obj.StrTbl.ContentSize) + in initStringTable() 715 if (Obj.StrTbl.ContentSize) { in writeStringTable() 716 assert(*Obj.StrTbl.ContentSize >= Obj.StrTbl.RawContent->binary_size() && in writeStringTable() 718 W.OS.write_zeros(*Obj.StrTbl.ContentSize - in writeStringTable() 727 if (!Obj.StrTbl.Length && !Obj.StrTbl.ContentSize) { in writeStringTable() 743 : *Obj.StrTbl.ContentSize); in writeStringTable() [all …]
|
| H A D | XCOFFYAML.cpp | 342 IO.mapOptional("ContentSize", Str.ContentSize); in mapping()
|
| H A D | ELFEmitter.cpp | 721 size_t ContentSize = 0; in writeContent() local 724 ContentSize = Content->binary_size(); in writeContent() 728 return ContentSize; in writeContent() 730 CBA.writeZeros(*Size - ContentSize); in writeContent()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 256 size_t ContentSize = It->getContents().size(); in handleArgs() local 257 if (!ContentSize) in handleArgs() 262 if (ContentSize < NewSection.SectionData->getBufferSize()) in handleArgs()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | XCOFFYAML.h | 202 std::optional<uint32_t> ContentSize; // The total size of the string table. member
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 3049 unsigned ContentSize = in emitDebugARanges() local 3060 Asm->getUnitLengthFieldByteSize() + ContentSize, Align(TupleSize)); in emitDebugARanges() 3062 ContentSize += Padding; in emitDebugARanges() 3063 ContentSize += (List.size() + 1) * TupleSize; in emitDebugARanges() 3066 Asm->emitDwarfUnitLength(ContentSize, "Length of ARange Set"); in emitDebugARanges()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink.cpp | 504 char *prepare(ExecutorAddr Addr, size_t ContentSize) override { in prepare() argument 505 return InProcessMemoryMapper::prepare(Addr - DeltaAddr, ContentSize); in prepare()
|