/freebsd/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 | 62 char *InProcessMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 74 auto Size = Segment.ContentSize + Segment.ZeroFillSize; in initialize() 82 std::memset((Base + Segment.ContentSize).toPtr<void *>(), 0, in initialize() 316 char *SharedMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 343 std::memset(Base + Segment.ContentSize, 0, Segment.ZeroFillSize); in initialize() 349 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/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/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/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.h | 212 /// The Alignment, ContentSize and ZeroFillSize of each segment will be 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 | 1133 Block &createMutableContentBlock(Section &Parent, size_t ContentSize, 1137 auto Content = allocateBuffer(ContentSize);
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | XCOFFEmitter.cpp | 240 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < RawSize) { in initStringTable() 241 ErrHandler("specified ContentSize (" + Twine(*Obj.StrTbl.ContentSize) + in initStringTable() 248 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize <= 3) { in initStringTable() 296 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < StrTblSize) { in initStringTable() 297 ErrHandler("specified ContentSize (" + Twine(*Obj.StrTbl.ContentSize) + in initStringTable() 829 if (Obj.StrTbl.ContentSize) { in writeStringTable() 830 assert(*Obj.StrTbl.ContentSize >= Obj.StrTbl.RawContent->binary_size() && in writeStringTable() 832 W.OS.write_zeros(*Obj.StrTbl.ContentSize - in writeStringTable() 841 if (!Obj.StrTbl.Length && !Obj.StrTbl.ContentSize) { in writeStringTable() 857 : *Obj.StrTbl.ContentSize); in writeStringTable() [all …]
|
H A D | ELFEmitter.cpp | 728 size_t ContentSize = 0; in writeContent() local 731 ContentSize = Content->binary_size(); in writeContent() 735 return ContentSize; in writeContent() 737 CBA.writeZeros(*Size - ContentSize); in writeContent()
|
H A D | XCOFFYAML.cpp | 387 IO.mapOptional("ContentSize", Str.ContentSize); in mapping()
|
/freebsd/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/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | XCOFFYAML.h | 206 std::optional<uint32_t> ContentSize; // The total size of the string table. member
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 3081 unsigned ContentSize = in emitDebugARanges() local 3092 Asm->getUnitLengthFieldByteSize() + ContentSize, Align(TupleSize)); in emitDebugARanges() 3094 ContentSize += Padding; in emitDebugARanges() 3095 ContentSize += (List.size() + 1) * TupleSize; in emitDebugARanges() 3098 Asm->emitDwarfUnitLength(ContentSize, "Length of ARange Set"); in emitDebugARanges()
|