| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/XCOFF/ |
| H A D | string-table.yaml | 2 ## `ContentSize`, `Length`, `Strings` and/or `RawContent` can be specified in 23 ContentSize: [[CONTENTSIZE=<none>]] 27 ## We can specify `ContentSize` only when the value is equal to or greater 40 ## Case 3: if the value of `ContentSize` is greater than the content size, 50 ## Case 4: the value of `ContentSize` matches the actual content size. 66 ## Case 6: an error is reported when `ContentSize` is less than 4 without 71 # CASE6: error: ContentSize shouldn't be less than 4 without RawContent 96 ContentSize: [[CONTENTSIZE=<none>]] 188 ## We can specify both `ContentSize` and `Strings` when `ContentSize` is equal 204 ## `ContentSize` and `Strings` when the `ContentSize` is greater [all …]
|
| /llvm-project-15.0.7/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() 53 alignTo(KV.second.ContentSize + KV.second.ZeroFillSize, in finalize() 55 {KV.second.WorkingMem, static_cast<size_t>(KV.second.ContentSize)}}); in finalize() 155 KV.second.WorkingMem = BL.getGraph().allocateBuffer(Seg.ContentSize).data(); in completeAllocation() 157 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); in completeAllocation() 160 SegInfo.ContentSize = Seg.ContentSize; in completeAllocation()
|
| H A D | MapperJITLinkMemoryManager.cpp | 96 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() 105 SI.ContentSize = Seg.ContentSize; in allocate()
|
| H A D | MemoryMapper.cpp | 56 char *InProcessMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 66 auto Size = Segment.ContentSize + Segment.ZeroFillSize; in initialize() 71 std::memset((Base + Segment.ContentSize).toPtr<void *>(), 0, in initialize() 276 char *SharedMemoryMapper::prepare(ExecutorAddr Addr, size_t ContentSize) { in prepare() argument 301 std::memset(Base + Segment.ContentSize, 0, Segment.ZeroFillSize); in initialize() 307 SegReq.Size = Segment.ContentSize + Segment.ZeroFillSize; in initialize()
|
| /llvm-project-15.0.7/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() 285 alignTo(Seg.ContentSize + Seg.ZeroFillSize, MemMgr.PageSize); in applyProtections() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | MemoryMapperTest.cpp | 93 Seg1.ContentSize = HW.size(); in TEST() 94 Seg1.ZeroFillSize = PageSize - Seg1.ContentSize; in TEST() 117 Seg2.ContentSize = HW.size(); in TEST() 118 Seg2.ZeroFillSize = PageSize - Seg2.ContentSize; in TEST() 169 Seg3.ContentSize = HW.size(); in TEST() 170 Seg3.ZeroFillSize = PageSize - Seg3.ContentSize; in TEST()
|
| H A D | SharedMemoryMapperTest.cpp | 82 SI.ContentSize = TestString.size() + 1; in TEST() 83 SI.ZeroFillSize = PageSize - SI.ContentSize; in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MemoryMapper.h | 33 size_t ContentSize; member 52 virtual char *prepare(ExecutorAddr Addr, size_t ContentSize) = 0; 93 char *prepare(ExecutorAddr Addr, size_t ContentSize) override; 142 char *prepare(ExecutorAddr Addr, size_t ContentSize) override;
|
| /llvm-project-15.0.7/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
|
| /llvm-project-15.0.7/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 | 342 IO.mapOptional("ContentSize", Str.ContentSize); in mapping()
|
| H A D | ELFEmitter.cpp | 720 size_t ContentSize = 0; in writeContent() local 723 ContentSize = Content->binary_size(); in writeContent() 727 return ContentSize; in writeContent() 729 CBA.writeZeros(*Size - ContentSize); in writeContent()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | XCOFFYAML.h | 201 Optional<uint32_t> ContentSize; // The total size of the string table. member
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 3013 unsigned ContentSize = in emitDebugARanges() local 3024 Asm->getUnitLengthFieldByteSize() + ContentSize, Align(TupleSize)); in emitDebugARanges() 3026 ContentSize += Padding; in emitDebugARanges() 3027 ContentSize += (List.size() + 1) * TupleSize; in emitDebugARanges() 3030 Asm->emitDwarfUnitLength(ContentSize, "Length of ARange Set"); in emitDebugARanges()
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink.cpp | 518 alignTo(Seg.ContentSize + Seg.ZeroFillSize, Parent.PageSize); in allocate() 602 SegAddr += alignTo(Seg.ContentSize + Seg.ZeroFillSize, PageSize); in allocate() 606 memset(Seg.WorkingMem + Seg.ContentSize, 0, Seg.ZeroFillSize); in allocate()
|