| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.cpp | 380 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] & 0x0f); in opcode_11101110() 396 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] << 2); in opcode_11101111() 437 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], in opcode_11110111() 453 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3], in opcode_11111000() 466 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], in opcode_11111001() 481 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3], in opcode_11111010() 591 OC[Offset], OC[Offset + 1], in opcode_save_regp() 607 OC[Offset], OC[Offset + 1], Reg, in opcode_save_regp_x() 612 OC[Offset], OC[Offset + 1], Reg, in opcode_save_regp_x() 734 (OC[Offset + 1] << 16) | (OC[Offset + 2] << 8) | (OC[Offset + 3] << 0); in opcode_alloc_l() [all …]
|
| H A D | ARMWinEHPrinter.h | 38 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset, 40 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset, 42 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset, 44 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset, 46 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset, 48 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset, 50 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset, 52 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset, 54 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset, 56 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset, [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | ARMAttributeParser.cpp | 78 Offset = Offset + Length; in ParseInteger() 86 Offset = Offset + Length + 1; in ParseString() 578 Offset = Offset + Length; in ParseIndexList() 587 while (Offset < Length) { in ParseAttributeList() 590 Offset += Length; in ParseAttributeList() 622 Offset = Offset + VendorNameLength + 1; in ParseSubsection() 633 while (Offset < Length) { in ParseSubsection() 636 Offset = Offset + sizeof(Tag); in ParseSubsection() 640 Offset = Offset + sizeof(Size); in ParseSubsection() 685 size_t Offset = 1; in Parse() local [all …]
|
| H A D | BinaryStreamRef.cpp | 25 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() argument 27 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 29 Error readLongestContiguousChunk(uint32_t Offset, in readLongestContiguousChunk() argument 48 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() argument 50 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 52 Error readLongestContiguousChunk(uint32_t Offset, in readLongestContiguousChunk() argument 59 return BBS.writeBytes(Offset, Data); in writeBytes() 72 : BinaryStreamRefBase(Stream, Offset, Length) {} in BinaryStreamRef() 82 if (auto EC = checkOffsetForRead(Offset, Size)) in readBytes() 89 if (auto EC = checkOffsetForRead(Offset, 1)) in readLongestContiguousChunk() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLoc.cpp | 62 [](const LocationList &L, uint64_t Offset) { return L.Offset < Offset; }); in getLocationListAtOffset() argument 63 if (It != Locations.end() && It->Offset == Offset) in getLocationListAtOffset() 76 if (Offset) { in dump() 90 LL.Offset = *Offset; in parseOneLocationList() 125 *Offset += Bytes; in parseOneLocationList() 136 uint32_t Offset = 0; in parse() local 151 LL.Offset = *Offset; in parseOneLocationList() 188 Version >= 5 ? Data.getULEB128(Offset) : Data.getU16(Offset); in parseOneLocationList() 218 [](const LocationList &L, uint64_t Offset) { return L.Offset < Offset; }); in getLocationListAtOffset() argument 219 if (It != Locations.end() && It->Offset == Offset) in getLocationListAtOffset() [all …]
|
| H A D | DWARFDebugFrame.cpp | 40 while (*Offset < EndOffset) { in parse() 41 uint8_t Opcode = Data.getU8(Offset); in parse() 132 Data.getData().slice(*Offset, *Offset + ExprLength), in parse() 136 *Offset += ExprLength; in parse() 145 Data.getData().slice(*Offset, *Offset + BlockLength), in parse() 149 *Offset += BlockLength; in parse() 358 uint32_t Offset = 0; in parse() local 362 uint32_t StartOffset = Offset; in parse() 401 Version == 1 ? Data.getU8(&Offset) : Data.getULEB128(&Offset); in parse() 539 uint64_t Offset) { return E->getOffset() < Offset; }); in getEntryAtOffset() argument [all …]
|
| H A D | DWARFGdbIndex.cpp | 116 uint32_t Offset = 0; in parseImpl() local 119 Version = Data.getU32(&Offset); in parseImpl() 123 CuListOffset = Data.getU32(&Offset); in parseImpl() 125 AddressAreaOffset = Data.getU32(&Offset); in parseImpl() 126 SymbolTableOffset = Data.getU32(&Offset); in parseImpl() 127 ConstantPoolOffset = Data.getU32(&Offset); in parseImpl() 129 if (Offset != CuListOffset) in parseImpl() 156 uint32_t CuIndex = Data.getU32(&Offset); in parseImpl() 185 Vec.first = Offset - ConstantPoolOffset; in parseImpl() 187 uint32_t Num = Data.getU32(&Offset); in parseImpl() [all …]
|
| H A D | DWARFAcceleratorTable.cpp | 46 uint32_t Offset = 0; in extract() local 486 uint32_t Offset = Base; in extract() local 490 CUsBase = Offset; in extract() 494 BucketsBase = Offset; in extract() 496 HashesBase = Offset; in extract() 499 StringOffsetsBase = Offset; in extract() 501 EntryOffsetsBase = Offset; in extract() 656 uint32_t EntryId = *Offset; in dumpEntry() 758 uint32_t Offset = 0; in extract() local 825 if (!Offset) in findInCurrentIndex() [all …]
|
| H A D | DWARFUnit.cpp | 105 uint32_t Offset = 0; in addUnitsImpl() local 116 Offset = U->getNextUnitOffset(); in addUnitsImpl() 148 auto Offset = CUOff->Offset; in getUnitForIndexEntry() local 241 Offset = *offset_ptr; in extract() 310 if (Offset > 0) { in parseRngListTableHeader() 311 if (Offset < 12U) in parseRngListTableHeader() 315 Offset -= 12U; in parseRngListTableHeader() 811 if (Offset >= 16) in determineStringOffsetsTableContribution() 815 if (!Descriptor && Offset >= 8) in determineStringOffsetsTableContribution() 822 uint64_t Offset = 0; in determineStringOffsetsTableContributionDWO() local [all …]
|
| H A D | DWARFUnitIndex.cpp | 49 uint32_t Offset = 0; in parseImpl() local 50 if (!Header.parse(IndexData, &Offset)) in parseImpl() 54 Offset, Header.NumBuckets * (8 + 4) + in parseImpl() 65 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl() 69 auto Index = IndexData.getU32(&Offset); in parseImpl() 95 Contrib[i].Offset = IndexData.getU32(&Offset); in parseImpl() 102 Contrib[i].Length = IndexData.getU32(&Offset); in parseImpl() 173 E2->Contributions[InfoColumn].Offset; in getFromOffset() 177 llvm::upper_bound(OffsetLookup, Offset, [&](uint32_t Offset, Entry *E2) { in getFromOffset() argument 178 return Offset < E2->Contributions[InfoColumn].Offset; in getFromOffset() [all …]
|
| H A D | DWARFDataExtractor.cpp | 37 uint32_t OldOffset = *Offset; in getEncodedPointer() 45 Result = getUnsigned(Offset, getAddressSize()); in getEncodedPointer() 52 Result = getULEB128(Offset); in getEncodedPointer() 55 Result = getSLEB128(Offset); in getEncodedPointer() 58 Result = getUnsigned(Offset, 2); in getEncodedPointer() 61 Result = getUnsigned(Offset, 4); in getEncodedPointer() 64 Result = getUnsigned(Offset, 8); in getEncodedPointer() 67 Result = getSigned(Offset, 2); in getEncodedPointer() 70 Result = getSigned(Offset, 4); in getEncodedPointer() 73 Result = getSigned(Offset, 8); in getEncodedPointer() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | ARMAttributeParser.h | 39 uint32_t &Offset); 44 uint32_t &Offset); 48 uint32_t &Offset); 50 uint32_t &Offset); 52 uint32_t &Offset); 54 uint32_t &Offset); 58 uint32_t &Offset); 88 uint32_t &Offset); 106 uint32_t &Offset); 110 uint32_t &Offset); [all …]
|
| H A D | BinaryByteStream.h | 42 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() argument 44 if (auto EC = checkOffsetForRead(Offset, Size)) in readBytes() 46 Buffer = Data.slice(Offset, Size); in readBytes() 50 Error readLongestContiguousChunk(uint32_t Offset, in readLongestContiguousChunk() argument 52 if (auto EC = checkOffsetForRead(Offset, 1)) in readLongestContiguousChunk() 54 Buffer = Data.slice(Offset); in readLongestContiguousChunk() 101 Error readBytes(uint32_t Offset, uint32_t Size, in readBytes() argument 167 Buffer = makeArrayRef(Data).slice(Offset); in readLongestContiguousChunk() 183 if (Offset > getLength()) in writeBytes() 246 return Impl.readBytes(Offset, Size, Buffer); in readBytes() [all …]
|
| H A D | BinaryStreamRef.h | 37 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 120 return drop_front(Offset).keep_front(Len); in slice() 137 if (Offset > getLength()) in checkOffsetForRead() 139 if (getLength() < DataSize + Offset) in checkOffsetForRead() 189 Error readBytes(uint32_t Offset, uint32_t Size, 197 Error readLongestContiguousChunk(uint32_t Offset, 207 return {Off + Offset, SubSub}; in slice() 215 split(uint32_t Offset) const { in split() 216 return std::make_pair(keep_front(Offset), drop_front(Offset)); in split() 233 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite() [all …]
|
| /freebsd-12.1/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump1.c | 195 while (Offset < Table->Length) in AcpiDmDumpAsf() 367 while (Offset < Table->Length) in AcpiDmDumpCpep() 419 while (Offset < Table->Length) in AcpiDmDumpCsrt() 435 Offset + SubOffset); in AcpiDmDumpCsrt() 450 Offset + SubOffset); in AcpiDmDumpCsrt() 534 while (Offset < Table->Length) in AcpiDmDumpDbg2() 653 while (Offset < Table->Length) in AcpiDmDumpDmar() 838 Offset += sizeof (UINT64); in AcpiDmDumpDrtm() 917 while (Offset < Table->Length) in AcpiDmDumpEinj() 1161 Offset += SubtableLength; in AcpiDmDumpGtdt() [all …]
|
| H A D | dmtbdump2.c | 184 UINT32 Offset; in AcpiDmDumpIort() local 205 if (Iort->NodeOffset > Offset) in AcpiDmDumpIort() 215 Offset = Iort->NodeOffset; in AcpiDmDumpIort() 216 while (Offset < Table->Length) in AcpiDmDumpIort() 412 Offset += IortNode->Length; in AcpiDmDumpIort() 457 while (Offset < Table->Length) in AcpiDmDumpIvrs() 630 while (Offset < Table->Length) in AcpiDmDumpLpit() 669 Offset += SubtableLength; in AcpiDmDumpLpit() 710 while (Offset < Table->Length) in AcpiDmDumpMadt() 869 while (Offset < Table->Length) in AcpiDmDumpMcfg() [all …]
|
| H A D | dmtbdump3.c | 202 UINT32 Offset; in AcpiDmDumpSlit() local 232 if (Offset >= Table->Length) in AcpiDmDumpSlit() 240 Offset++; in AcpiDmDumpSlit() 297 while (Offset < Table->Length) in AcpiDmDumpSrat() 361 Offset += Subtable->Length; in AcpiDmDumpSrat() 403 while (Offset < Table->Length) in AcpiDmDumpStao() 413 Offset += StringLength; in AcpiDmDumpStao() 631 while (Offset < Table->Length) in AcpiDmDumpVrtc() 645 Offset += sizeof (ACPI_VRTC_ENTRY); in AcpiDmDumpVrtc() 684 while (Offset < Table->Length) in AcpiDmDumpWdat() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 240 if (Offset == 0 || Offset == size()) { in split() 255 if (PieceOffs == Offset) in split() 269 return insert(Offset, Tail); in split() 284 if (Offset == size()) { in insert() 329 if (this->size() >= Offset) in insert() 330 this->insert(Offset, R); in insert() 480 if (Offset == 0 || Offset == size()) in split() 489 if (ChildOffset == Offset) in split() 511 if (Offset == size()) { in insert() 596 if (Offset) { in erase() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64WinCOFFStreamer.cpp | 90 EmitARM64WinUnwindCode(Win64EH::UOP_SaveFPLR, -1, Offset); in EmitARM64WinCFISaveFPLR() 94 EmitARM64WinUnwindCode(Win64EH::UOP_SaveFPLRX, -1, Offset); in EmitARM64WinCFISaveFPLRX() 99 assert(Offset >= 0 && Offset <= 504 && in EmitARM64WinCFISaveReg() 101 EmitARM64WinUnwindCode(Win64EH::UOP_SaveReg, Reg, Offset); in EmitARM64WinCFISaveReg() 106 EmitARM64WinUnwindCode(Win64EH::UOP_SaveRegX, Reg, Offset); in EmitARM64WinCFISaveRegX() 111 EmitARM64WinUnwindCode(Win64EH::UOP_SaveRegP, Reg, Offset); in EmitARM64WinCFISaveRegP() 116 EmitARM64WinUnwindCode(Win64EH::UOP_SaveRegPX, Reg, Offset); in EmitARM64WinCFISaveRegPX() 121 assert(Offset >= 0 && Offset <= 504 && in EmitARM64WinCFISaveFReg() 123 EmitARM64WinUnwindCode(Win64EH::UOP_SaveFReg, Reg, Offset); in EmitARM64WinCFISaveFReg() 128 EmitARM64WinUnwindCode(Win64EH::UOP_SaveFRegX, Reg, Offset); in EmitARM64WinCFISaveFRegX() [all …]
|
| H A D | AArch64TargetStreamer.h | 41 virtual void EmitARM64WinCFISaveFPLR(int Offset) {} in EmitARM64WinCFISaveFPLR() argument 42 virtual void EmitARM64WinCFISaveFPLRX(int Offset) {} in EmitARM64WinCFISaveFPLRX() argument 43 virtual void EmitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveReg() argument 44 virtual void EmitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveRegX() argument 45 virtual void EmitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveRegP() argument 47 virtual void EmitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveFReg() argument 86 void EmitARM64WinCFISaveFPLR(int Offset) override; 87 void EmitARM64WinCFISaveFPLRX(int Offset) override; 88 void EmitARM64WinCFISaveReg(unsigned Reg, int Offset) override; 89 void EmitARM64WinCFISaveRegX(unsigned Reg, int Offset) override; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldELFMips.cpp | 79 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 83 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 87 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 91 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 95 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 99 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 120 << " Offset: " << format("%llx" PRIx64, Offset) in evaluateMIPS64Relocation() 270 Section, Offset, Value, Type, Addend, SymOffset, SectionID); in resolveMIPSN32Relocation() 305 uint64_t Offset, in resolveMIPSO32Relocation() argument 308 uint8_t *TargetPtr = Section.getAddressWithOffset(Offset); in resolveMIPSO32Relocation() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARC/ |
| H A D | ARCRegisterInfo.cpp | 49 if (MI.getOpcode() == ARC::LD_rs9 && (Offset >= 256 || Offset < -256)) { in ReplaceFrameIndex() 53 .addImm(Offset) in ReplaceFrameIndex() 59 if (MI.getOpcode() != ARC::GETFI && (Offset >= 256 || Offset < -256)) { in ReplaceFrameIndex() 79 .addImm(Offset); in ReplaceFrameIndex() 80 Offset = 0; in ReplaceFrameIndex() 94 .addImm(Offset) in ReplaceFrameIndex() 106 .addImm(Offset) in ReplaceFrameIndex() 115 .addImm(Offset); in ReplaceFrameIndex() 210 Offset = StackSize + Offset; in eliminateFrameIndex() 212 assert((Offset >= 0 && Offset < StackSize) && "SP Offset not in bounds."); in eliminateFrameIndex() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPrologEpilogPass.cpp | 72 int64_t Offset = in runOnMachineFunction() local 107 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 116 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset() 125 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 126 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 149 int64_t Offset = LocalAreaOffset; in calculateFrameObjectOffsets() local 168 if (FixedOff > Offset) Offset = FixedOff; in calculateFrameObjectOffsets() 185 Offset = (Offset + Align - 1) / Align * Align; in calculateFrameObjectOffsets() 192 int64_t FIOffset = (StackGrowsDown ? -Offset : Offset) + Entry.second; in calculateFrameObjectOffsets() 198 Offset += MFI.getLocalFrameSize(); in calculateFrameObjectOffsets() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 95 if (tryReadContiguously(Offset, Size, Buffer)) in readBytes() 98 auto CacheIter = CacheMap.find(Offset); in readBytes() 113 Interval RequestExtent = std::make_pair(Offset, Offset + Size); in readBytes() 116 if (CacheItem.first == Offset) in readBytes() 120 if (CacheItem.first >= Offset + Size) in readBytes() 170 if (auto EC = checkOffsetForRead(Offset, 1)) in readLongestContiguousChunk() 173 uint32_t First = Offset / BlockSize; in readLongestContiguousChunk() 210 uint32_t BlockNum = Offset / BlockSize; in tryReadContiguously() 211 uint32_t OffsetInBlock = Offset % BlockSize; in tryReadContiguously() 242 uint32_t BlockNum = Offset / BlockSize; in readBytes() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.h | 52 SDValue &Offset) const override; 55 SDValue &Offset) const override; 58 SDValue &Offset) const override; 61 SDValue &Offset) const; 64 SDValue &Offset) const; 67 SDValue &Offset) const; 70 SDValue &Offset) const; 73 SDValue &Offset) const override; 76 SDValue &Offset) const override; 79 SDValue &Offset) const override; [all …]
|