/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 54 uint64_t CurrentOffset = Offset; in readBlockHeader() local 56 if (Offset == CurrentOffset) in readBlockHeader() 59 Twine(CurrentOffset) + "'", in readBlockHeader() 61 CurrentOffset = Offset; in readBlockHeader() 63 if (Offset == CurrentOffset) in readBlockHeader() 66 Twine(CurrentOffset) + "'", in readBlockHeader() 68 CurrentOffset = Offset; in readBlockHeader() 70 if (Offset == CurrentOffset) in readBlockHeader() 73 Twine(CurrentOffset) + "'", in readBlockHeader() 82 auto CurrentOffset = Offset; in readPath() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 622 uint64_t CurrentOffset = 0; member in llvm::object::WindowsResourceCOFFWriter 745 CurrentOffset += sizeof(coff_file_header); in writeFirstSectionHeader() 747 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader() 763 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader() 765 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader() 781 CurrentOffset += sizeof(coff_section); in writeFirstSection() 787 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeFirstSection() 793 llvm::copy(RawDataEntry, BufferStart + CurrentOffset); in writeSecondSection() 794 CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t)); in writeSecondSection() 797 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeSecondSection() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | XCOFFEmitter.cpp | 47 bool initFileHeader(uint64_t CurrentOffset); 49 bool initSectionHeaders(uint64_t &CurrentOffset); 50 bool initRelocations(uint64_t &CurrentOffset); 96 void XCOFFWriter::reportOverwrite(uint64_t CurrentOffset, in reportOverwrite() argument 99 ErrHandler("current file offset (" + Twine(CurrentOffset) + in reportOverwrite() 109 bool XCOFFWriter::initRelocations(uint64_t &CurrentOffset) { in initRelocations() argument 123 if (CurrentOffset > InitSection.FileOffsetToRelocations) { in initRelocations() 124 reportOverwrite(CurrentOffset, InitSection.FileOffsetToRelocations, in initRelocations() 129 CurrentOffset = InitSection.FileOffsetToRelocations; in initRelocations() 131 InitSection.FileOffsetToRelocations = CurrentOffset; in initRelocations() [all …]
|
H A D | ELFEmitter.cpp | 80 uint64_t CurrentOffset = getOffset(); in padToAlignment() local 82 return CurrentOffset; in padToAlignment() 84 uint64_t AlignedOffset = alignTo(CurrentOffset, Align == 0 ? 1 : Align); in padToAlignment() 85 uint64_t PaddingSize = AlignedOffset - CurrentOffset; in padToAlignment() 87 return CurrentOffset; in padToAlignment() 1292 uint64_t CurrentOffset = CBA.getOffset(); in writeSectionContent() local 1351 SHeader.sh_size = CBA.getOffset() - CurrentOffset; in writeSectionContent() 1581 uint64_t CurrentOffset = CBA.getOffset(); in alignToOffset() local 1585 if ((uint64_t)*Offset < CurrentOffset) { in alignToOffset() 1588 return CurrentOffset; in alignToOffset() [all …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | cmfsize.c | 178 long CurrentOffset; in CmGetFileSize() local 184 CurrentOffset = ftell (File); in CmGetFileSize() 185 if (CurrentOffset < 0) in CmGetFileSize() 204 Status = fseek (File, CurrentOffset, SEEK_SET); in CmGetFileSize()
|
H A D | dmtbdump2.c | 2351 UINT32 CurrentOffset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpPrmt() local 2361 PrmtHeader = ACPI_ADD_PTR (ACPI_TABLE_PRMT_HEADER, Table, CurrentOffset); in AcpiDmDumpPrmt() 2362 Status = AcpiDmDumpTable (Table->Length, CurrentOffset, PrmtHeader, in AcpiDmDumpPrmt() 2370 CurrentOffset += sizeof (ACPI_TABLE_PRMT_HEADER); in AcpiDmDumpPrmt() 2376 PrmtModuleInfo = ACPI_ADD_PTR (ACPI_PRMT_MODULE_INFO, Table, CurrentOffset); in AcpiDmDumpPrmt() 2377 Status = AcpiDmDumpTable (Table->Length, CurrentOffset, PrmtModuleInfo, in AcpiDmDumpPrmt() 2380 CurrentOffset += sizeof (ACPI_PRMT_MODULE_INFO); in AcpiDmDumpPrmt() 2386 PrmtHandlerInfo = ACPI_ADD_PTR (ACPI_PRMT_HANDLER_INFO, Table, CurrentOffset); in AcpiDmDumpPrmt() 2387 Status = AcpiDmDumpTable (Table->Length, CurrentOffset, PrmtHandlerInfo, in AcpiDmDumpPrmt() 2390 CurrentOffset += sizeof (ACPI_PRMT_HANDLER_INFO); in AcpiDmDumpPrmt() [all …]
|
H A D | dmtable.c | 1042 UINT32 CurrentOffset; in AcpiDmDumpTable() local 1070 CurrentOffset = TableOffset + Info->Offset; in AcpiDmDumpTable() 1085 if (CurrentOffset >= TableLength) in AcpiDmDumpTable() 1090 "CurrentOffset: %X, TableLength: %X ***/", CurrentOffset, TableLength); in AcpiDmDumpTable() 1222 CurrentOffset = sizeof (ACPI_TABLE_WPBT); in AcpiDmDumpTable() 1293 if (CurrentOffset + ByteLength > TableLength) in AcpiDmDumpTable() 1320 AcpiDmLineHeader (CurrentOffset, ByteLength, Info->Name); in AcpiDmDumpTable() 1553 Status = AcpiDmDumpTable (TableLength, CurrentOffset, Target, in AcpiDmDumpTable() 1817 Status = AcpiDmDumpTable (TableLength, CurrentOffset, Target, in AcpiDmDumpTable() 1861 Status = AcpiDmDumpTable (TableLength, CurrentOffset, Target, in AcpiDmDumpTable() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryItemStream.h | 76 uint64_t CurrentOffset = 0; in computeItemOffsets() 80 CurrentOffset += Len; in computeItemOffsets() 81 ItemEndOffsets.push_back(CurrentOffset); in computeItemOffsets() 77 uint64_t CurrentOffset = 0; computeItemOffsets() local
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCCodeView.cpp | 204 unsigned CurrentOffset = 0; in emitFileChecksums() local 211 MCConstantExpr::create(CurrentOffset, Ctx)); in emitFileChecksums() 212 CurrentOffset += 4; // String table offset. in emitFileChecksums() 214 CurrentOffset += in emitFileChecksums() 217 CurrentOffset += 2; // One byte each for checksum size and kind. in emitFileChecksums() 218 CurrentOffset += File.Checksum.size(); in emitFileChecksums() 219 CurrentOffset = alignTo(CurrentOffset, 4); in emitFileChecksums()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86DynAllocaExpander.cpp | 53 Lowering getLowering(int64_t CurrentOffset, int64_t AllocaAmount); 97 X86DynAllocaExpander::getLowering(int64_t CurrentOffset, in getLowering() argument 104 if (CurrentOffset + AllocaAmount <= StackProbeSize) in getLowering()
|
H A D | X86FrameLowering.cpp | 689 uint64_t CurrentOffset = 0; in emitStackProbeInlineGenericBlock() local 711 CurrentOffset = StackProbeSize - AlignOffset; in emitStackProbeInlineGenericBlock() 717 while (CurrentOffset + StackProbeSize < Offset) { in emitStackProbeInlineGenericBlock() 732 CurrentOffset += StackProbeSize; in emitStackProbeInlineGenericBlock() 736 uint64_t ChunkSize = Offset - CurrentOffset; in emitStackProbeInlineGenericBlock()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.h | 248 std::optional<uint32_t> bytesRemaining(uint32_t CurrentOffset) const { in bytesRemaining() 251 assert(CurrentOffset >= BeginOffset); in bytesRemaining() 253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | OffloadBundler.cpp | 1084 size_t CurrentOffset = MagicSize; in decompress() local 1087 memcpy(&ThisVersion, Blob.data() + CurrentOffset, sizeof(uint16_t)); in decompress() 1088 CurrentOffset += VersionFieldSize; in decompress() 1091 memcpy(&CompressionMethod, Blob.data() + CurrentOffset, sizeof(uint16_t)); in decompress() 1092 CurrentOffset += MethodFieldSize; in decompress() 1099 memcpy(&TotalFileSize, Blob.data() + CurrentOffset, sizeof(uint32_t)); in decompress() 1100 CurrentOffset += FileSizeFieldSize; in decompress() 1104 memcpy(&UncompressedSize, Blob.data() + CurrentOffset, sizeof(uint32_t)); in decompress() 1105 CurrentOffset += UncompressedSizeFieldSize; in decompress() 1108 memcpy(&StoredHash, Blob.data() + CurrentOffset, sizeof(uint64_t)); in decompress() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | dttable1.c | 1289 UINT16 CurrentOffset; in DtCompileDbg2() local 1327 CurrentOffset = (UINT16) sizeof (ACPI_DBG2_DEVICE); in DtCompileDbg2() 1337 DeviceInfo->BaseAddressOffset = CurrentOffset; in DtCompileDbg2() 1347 CurrentOffset += (UINT16) sizeof (ACPI_GENERIC_ADDRESS); in DtCompileDbg2() 1353 DeviceInfo->AddressSizeOffset = CurrentOffset; in DtCompileDbg2() 1363 CurrentOffset += (UINT16) sizeof (UINT32); in DtCompileDbg2() 1369 DeviceInfo->NamepathOffset = CurrentOffset; in DtCompileDbg2() 1380 CurrentOffset += (UINT16) DeviceInfo->NamepathLength; in DtCompileDbg2() 1407 DeviceInfo->OemDataOffset = CurrentOffset; in DtCompileDbg2()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ExpandVariadics.cpp | 667 uint64_t CurrentOffset = 0; in expandCall() local 716 if (uint64_t Rem = CurrentOffset % DataAlignV) { in expandCall() 720 CurrentOffset += Padding; in expandCall() 732 CurrentOffset += DL.getTypeAllocSize(FrameFieldType).getFixedValue(); in expandCall()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVDWARFReader.h | 47 LVOffset CurrentOffset = 0; variable
|
H A D | LVCodeViewReader.h | 116 LVOffset CurrentOffset = 0;
|
H A D | LVCodeViewVisitor.h | 134 uint32_t CurrentOffset = 0; 135 uint32_t CurrentOffset = 0; global() variable
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerModuleLDSPass.cpp | 1195 uint64_t CurrentOffset = 0; in createLDSVariableReplacement() local 1202 if (uint64_t Rem = CurrentOffset % DataAlignV) { in createLDSVariableReplacement() 1215 CurrentOffset += Padding; in createLDSVariableReplacement() 1220 CurrentOffset += F.Size; in createLDSVariableReplacement()
|
H A D | AMDGPUIGroupLP.cpp | 1799 auto CurrentOffset = UsesDSRead * std::min(MaxDSROffset, DSROffset) + in applyIGLPStrategy() local 1804 CurrentOffset, TII, SG->getSGID())); in applyIGLPStrategy() 1806 SG->addRule(std::make_shared<IsSuccOfPrevNthGroup>(CurrentOffset, TII, in applyIGLPStrategy()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | InstrInfoEmitter.cpp | 402 int CurrentOffset = 0; in emitOperandTypeMappings() local 404 OperandOffsets.push_back(CurrentOffset); in emitOperandTypeMappings() 410 ++CurrentOffset; in emitOperandTypeMappings() 414 ++CurrentOffset; in emitOperandTypeMappings()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 238 uint64_t CurrentOffset = sizeof(Elf_Ehdr); in ELFStubBuilder() local 240 Sec->Offset = alignTo(CurrentOffset, Sec->Align); in ELFStubBuilder() 242 CurrentOffset = Sec->Offset + Sec->Size; in ELFStubBuilder()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVDWARFReader.cpp | 240 CompileUnit->addDebugTag(Tag, CurrentOffset); in createElement() 533 CurrentOffset = Offset; in processOneDie()
|
H A D | LVCodeViewVisitor.cpp | 755 CurrentOffset = Offset; in visitSymbolBegin()
|