| /freebsd-14.2/contrib/llvm-project/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() 328 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 58 Seg.ContentSize = alignToBlock(Seg.ContentSize, *B); in BasicLayout() 59 Seg.ContentSize += B->getSize(); in BasicLayout() 63 uint64_t SegEndOffset = Seg.ContentSize; in BasicLayout() 69 Seg.ZeroFillSize = SegEndOffset - Seg.ContentSize; in BasicLayout() 73 << ": content-size=" << formatv("{0:x}", Seg.ContentSize) in BasicLayout() 92 uint64_t SegSize = alignTo(Seg.ContentSize + Seg.ZeroFillSize, PageSize); in getContiguousPageBasedLayoutSizes() 177 if (Seg.ContentSize != 0) { in Create() 181 G->createMutableContentBlock(Sec, G->allocateBuffer(Seg.ContentSize), in Create() 184 NextAddr += Seg.ContentSize; in Create() 310 alignTo(Seg.ContentSize + Seg.ZeroFillSize, MemMgr.PageSize); in applyProtections() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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;
|
| /freebsd-14.2/contrib/llvm-project/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 302 Segment(size_t ContentSize, Align ContentAlign) in Segment() 303 : ContentSize(ContentSize), ContentAlign(ContentAlign) {} in Segment() 305 size_t ContentSize = 0; member
|
| H A D | JITLink.h | 1122 Block &createMutableContentBlock(Section &Parent, size_t ContentSize, 1126 auto Content = allocateBuffer(ContentSize);
|
| /freebsd-14.2/contrib/llvm-project/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() 718 W.OS.write_zeros(*Obj.StrTbl.ContentSize - in writeStringTable() 727 if (!Obj.StrTbl.Length && !Obj.StrTbl.ContentSize) { in writeStringTable() 747 if (Obj.StrTbl.ContentSize) { in writeStringTable() 748 assert(*Obj.StrTbl.ContentSize >= StrTblBuilderSize && in writeStringTable() [all …]
|
| H A D | XCOFFYAML.cpp | 354 IO.mapOptional("ContentSize", Str.ContentSize); in mapping()
|
| H A D | ELFEmitter.cpp | 722 size_t ContentSize = 0; in writeContent() local 725 ContentSize = Content->binary_size(); in writeContent() 729 return ContentSize; in writeContent() 731 CBA.writeZeros(*Size - ContentSize); in writeContent()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 286 size_t ContentSize = It->getContents().size(); in handleArgs() local 287 if (!ContentSize) in handleArgs() 292 if (ContentSize < NewSection.SectionData->getBufferSize()) in handleArgs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | XCOFFYAML.h | 202 std::optional<uint32_t> ContentSize; // The total size of the string table. member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 3093 unsigned ContentSize = in emitDebugARanges() local 3104 Asm->getUnitLengthFieldByteSize() + ContentSize, Align(TupleSize)); in emitDebugARanges() 3106 ContentSize += Padding; in emitDebugARanges() 3107 ContentSize += (List.size() + 1) * TupleSize; in emitDebugARanges() 3110 Asm->emitDwarfUnitLength(ContentSize, "Length of ARange Set"); in emitDebugARanges()
|