| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.cpp | 95 uint64_t Offset = 0) { in formatSymbol() argument 102 if (Offset) in formatSymbol() 103 OS << format("+0x%" PRIX64 " (0x%" PRIX64 ")", Offset, Address); in formatSymbol() 256 uint64_t Offset) { in getRelocatedSymbol() argument 259 if (RelocationOffset == Offset) in getRelocatedSymbol() 279 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); in getPreferredSymbol() local 280 if (Offset <= SymbolOffset) { in getPreferredSymbol() 281 SymbolOffset = Offset; in getPreferredSymbol() 329 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_0xxxxxxx() argument 331 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx() [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/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64WinCOFFStreamer.cpp | 70 int Reg, int Offset) { in emitARM64WinUnwindCode() argument 75 auto Inst = WinEH::Instruction(UnwindCode, /*Label=*/nullptr, Reg, Offset); in emitARM64WinUnwindCode() 91 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveR19R20X(int Offset) { in emitARM64WinCFISaveR19R20X() argument 92 emitARM64WinUnwindCode(Win64EH::UOP_SaveR19R20X, -1, Offset); in emitARM64WinCFISaveR19R20X() 95 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveFPLR(int Offset) { in emitARM64WinCFISaveFPLR() argument 96 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLR, -1, Offset); in emitARM64WinCFISaveFPLR() 99 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveFPLRX(int Offset) { in emitARM64WinCFISaveFPLRX() argument 100 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLRX, -1, Offset); in emitARM64WinCFISaveFPLRX() 104 int Offset) { in emitARM64WinCFISaveReg() argument 105 assert(Offset >= 0 && Offset <= 504 && in emitARM64WinCFISaveReg() [all …]
|
| H A D | AArch64TargetStreamer.h | 62 virtual void emitARM64WinCFISaveR19R20X(int Offset) {} in emitARM64WinCFISaveR19R20X() argument 63 virtual void emitARM64WinCFISaveFPLR(int Offset) {} in emitARM64WinCFISaveFPLR() argument 64 virtual void emitARM64WinCFISaveFPLRX(int Offset) {} in emitARM64WinCFISaveFPLRX() argument 65 virtual void emitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveReg() argument 66 virtual void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegX() argument 67 virtual void emitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegP() argument 68 virtual void emitARM64WinCFISaveRegPX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegPX() argument 69 virtual void emitARM64WinCFISaveLRPair(unsigned Reg, int Offset) {} in emitARM64WinCFISaveLRPair() argument 70 virtual void emitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFReg() argument 71 virtual void emitARM64WinCFISaveFRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFRegX() argument [all …]
|
| H A D | AArch64ELFStreamer.cpp | 69 void emitARM64WinCFISaveR19R20X(int Offset) override { in emitARM64WinCFISaveR19R20X() argument 70 OS << "\t.seh_save_r19r20_x\t" << Offset << "\n"; in emitARM64WinCFISaveR19R20X() 72 void emitARM64WinCFISaveFPLR(int Offset) override { in emitARM64WinCFISaveFPLR() argument 73 OS << "\t.seh_save_fplr\t" << Offset << "\n"; in emitARM64WinCFISaveFPLR() 75 void emitARM64WinCFISaveFPLRX(int Offset) override { in emitARM64WinCFISaveFPLRX() argument 76 OS << "\t.seh_save_fplr_x\t" << Offset << "\n"; in emitARM64WinCFISaveFPLRX() 78 void emitARM64WinCFISaveReg(unsigned Reg, int Offset) override { in emitARM64WinCFISaveReg() argument 79 OS << "\t.seh_save_reg\tx" << Reg << ", " << Offset << "\n"; in emitARM64WinCFISaveReg() 81 void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) override { in emitARM64WinCFISaveRegX() argument 82 OS << "\t.seh_save_reg_x\tx" << Reg << ", " << Offset << "\n"; in emitARM64WinCFISaveRegX() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 28 size_t writeMachOStruct(MutableArrayRef<char> Buf, size_t Offset, MachOStruct S, in writeMachOStruct() argument 32 assert(Offset + sizeof(MachOStruct) <= Buf.size() && "Buffer overflow"); in writeMachOStruct() 33 memcpy(&Buf[Offset], reinterpret_cast<const char *>(&S), sizeof(MachOStruct)); in writeMachOStruct() 34 return Offset + sizeof(MachOStruct); in writeMachOStruct() 41 virtual size_t write(MutableArrayRef<char> Buf, size_t Offset, 63 size_t write(MutableArrayRef<char> Buf, size_t Offset, \ 65 return writeMachOStruct(Buf, Offset, rawStruct(), SwapStruct); \ 97 size_t write(MutableArrayRef<char> Buf, size_t Offset, in write() 99 Offset = writeMachOStruct(Buf, Offset, this->rawStruct(), SwapStruct); in write() 100 strcpy(Buf.data() + Offset, Name.data()); in write() [all …]
|
| /freebsd/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump1.c | 191 UINT32 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpAest() local 205 while (Offset < Table->Length) in AcpiDmDumpAest() 207 NodeHeader = ACPI_ADD_PTR (ACPI_AEST_HEADER, Table, Offset); in AcpiDmDumpAest() 211 Status = AcpiDmDumpTable (Table->Length, Offset, NodeHeader, in AcpiDmDumpAest() 283 Offset += sizeof (ACPI_AEST_HEADER); in AcpiDmDumpAest() 284 Subtable = ACPI_ADD_PTR (ACPI_AEST_HEADER, Table, Offset); in AcpiDmDumpAest() 289 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, Length, in AcpiDmDumpAest() 307 Offset += Length; in AcpiDmDumpAest() 337 Offset); in AcpiDmDumpAest() 341 Status = AcpiDmDumpTable (Table->Length, Offset, ProcessorSubtable, in AcpiDmDumpAest() [all …]
|
| H A D | dmtbdump3.c | 203 UINT32 Offset; in AcpiDmDumpSlit() local 221 Offset = ACPI_OFFSET (ACPI_TABLE_SLIT, Entry[0]); in AcpiDmDumpSlit() 228 AcpiDmLineHeader2 (Offset, Localities, "Locality", i); in AcpiDmDumpSlit() 233 if (Offset >= Table->Length) in AcpiDmDumpSlit() 241 Offset++; in AcpiDmDumpSlit() 252 AcpiDmLineHeader (Offset, 0, NULL); in AcpiDmDumpSlit() 282 UINT32 Offset = sizeof (ACPI_TABLE_SRAT); in AcpiDmDumpSrat() local 297 Subtable = ACPI_ADD_PTR (ACPI_SUBTABLE_HEADER, Table, Offset); in AcpiDmDumpSrat() 298 while (Offset < Table->Length) in AcpiDmDumpSrat() 303 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpSrat() [all …]
|
| H A D | dmtbdump2.c | 187 UINT32 Offset; in AcpiDmDumpIort() local 217 Offset = sizeof (ACPI_TABLE_IORT); in AcpiDmDumpIort() 221 if (Iort->NodeOffset > Offset) in AcpiDmDumpIort() 223 Status = AcpiDmDumpTable (Table->Length, Offset, Table, in AcpiDmDumpIort() 224 Iort->NodeOffset - Offset, AcpiDmTableInfoIortPad); in AcpiDmDumpIort() 231 Offset = Iort->NodeOffset; in AcpiDmDumpIort() 232 while (Offset < Table->Length) in AcpiDmDumpIort() 236 IortNode = ACPI_ADD_PTR (ACPI_IORT_NODE, Table, Offset); in AcpiDmDumpIort() 242 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() 247 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | RewriteRope.cpp | 108 RopePieceBTreeNode *split(unsigned Offset); 116 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 120 void erase(unsigned Offset, unsigned NumBytes); 208 RopePieceBTreeNode *split(unsigned Offset); 216 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 220 void erase(unsigned Offset, unsigned NumBytes); 233 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() argument 236 if (Offset == 0 || Offset == size()) { in split() 244 while (Offset >= PieceOffs + Pieces[i].size()) { in split() 251 if (PieceOffs == Offset) in split() [all …]
|
| H A D | BinaryStreamRef.cpp | 21 Error readBytes(uint64_t Offset, uint64_t Size, in getEndian() 23 return BBS.readBytes(Offset, Size, Buffer); in getEndian() 25 Error readLongestContiguousChunk(uint64_t Offset, in readBytes() 27 return BBS.readLongestContiguousChunk(Offset, Buffer); in readBytes() 42 Error readBytes(uint64_t Offset, uint64_t Size, 44 return BBS.readBytes(Offset, Size, Buffer); in getEndian() 46 Error readLongestContiguousChunk(uint64_t Offset, in getEndian() 48 return BBS.readLongestContiguousChunk(Offset, Buffer); in readBytes() 52 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Data) override { in readLongestContiguousChunk() 53 return BBS.writeBytes(Offset, Dat in readLongestContiguousChunk() 24 readBytes(uint64_t Offset,uint64_t Size,ArrayRef<uint8_t> & Buffer) readBytes() argument 28 readLongestContiguousChunk(uint64_t Offset,ArrayRef<uint8_t> & Buffer) readLongestContiguousChunk() argument 47 readBytes(uint64_t Offset,uint64_t Size,ArrayRef<uint8_t> & Buffer) readBytes() argument 51 readLongestContiguousChunk(uint64_t Offset,ArrayRef<uint8_t> & Buffer) readLongestContiguousChunk() argument 57 writeBytes(uint64_t Offset,ArrayRef<uint8_t> Data) writeBytes() argument 69 BinaryStreamRef(BinaryStream & Stream,uint64_t Offset,std::optional<uint64_t> Length) BinaryStreamRef() argument 78 readBytes(uint64_t Offset,uint64_t Size,ArrayRef<uint8_t> & Buffer) const readBytes() argument 86 readLongestContiguousChunk(uint64_t Offset,ArrayRef<uint8_t> & Buffer) const readLongestContiguousChunk() argument 106 WritableBinaryStreamRef(WritableBinaryStream & Stream,uint64_t Offset,std::optional<uint64_t> Length) WritableBinaryStreamRef() argument 115 writeBytes(uint64_t Offset,ArrayRef<uint8_t> Data) const writeBytes() argument [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | InlineInfo.cpp | 76 static bool skip(DataExtractor &Data, uint64_t &Offset, bool SkippedRanges) { in skip() argument 78 if (skipRanges(Data, Offset) == 0) in skip() 81 bool HasChildren = Data.getU8(&Offset) != 0; in skip() 82 Data.getU32(&Offset); // Skip Inline.Name. in skip() 83 Data.getULEB128(&Offset); // Skip Inline.CallFile. in skip() 84 Data.getULEB128(&Offset); // Skip Inline.CallLine. in skip() 86 while (skip(Data, Offset, false /* SkippedRanges */)) in skip() 108 static bool lookup(const GsymReader &GR, DataExtractor &Data, uint64_t &Offset, in lookup() argument 112 decodeRanges(Inline.Ranges, Data, BaseAddr, Offset); in lookup() 118 skip(Data, Offset, true /* SkippedRanges */); in lookup() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VERegisterInfo.cpp | 158 void prepareReplaceFI(MachineInstr &MI, Register &FrameReg, int64_t &Offset, 163 void replaceFI(MachineInstr &MI, Register FrameReg, int64_t Offset, 167 void processSTQ(MachineInstr &MI, Register FrameReg, int64_t Offset, 169 void processLDQ(MachineInstr &MI, Register FrameReg, int64_t Offset, 172 void processSTVM(MachineInstr &MI, Register FrameReg, int64_t Offset, 174 void processLDVM(MachineInstr &MI, Register FrameReg, int64_t Offset, 177 void processSTVM512(MachineInstr &MI, Register FrameReg, int64_t Offset, 179 void processLDVM512(MachineInstr &MI, Register FrameReg, int64_t Offset, 189 void processMI(MachineInstr &MI, Register FrameReg, int64_t Offset, 197 int64_t &Offset, int64_t Bytes) { in prepareReplaceFI() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 104 OS << format("%08" PRIx64, Offset) << " ZERO terminator\n"; in dump() 108 OS << format("%08" PRIx64, Offset) in dump() 151 OS << format("%08" PRIx64, Offset) in dump() 185 uint64_t Offset, int Length) { in dumpDataAux() argument 188 uint8_t c = Data.getU8(&Offset); in dumpDataAux() 195 uint64_t Offset = 0; in parse() local 198 while (Data.isValidOffset(Offset)) { in parse() 199 uint64_t StartOffset = Offset; in parse() 203 std::tie(Length, Format) = Data.getInitialLength(&Offset); in parse() 222 uint64_t StartStructureOffset = Offset; in parse() [all …]
|
| H A D | DWARFGdbIndex.cpp | 33 OS << format(" %d: Offset = 0x%llx, Length = 0x%llx\n", I++, CU.Offset, in dumpCUList() 44 I++, TU.Offset, TU.TypeOffset, TU.TypeSignature); in dumpTUList() 116 uint64_t Offset = 0; in parseImpl() local 119 Version = Data.getU32(&Offset); in parseImpl() 123 CuListOffset = Data.getU32(&Offset); in parseImpl() 124 TuListOffset = 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() [all …]
|
| H A D | DWARFDebugMacro.cpp | 45 OS << format("0x%08" PRIx64 ":\n", Macros.Offset); in dump() 111 uint64_t Offset = 0; in parseImpl() local 115 if (IsMacro && Data.isValidOffset(Offset)) { in parseImpl() 124 while (Data.isValidOffset(Offset)) { in parseImpl() 128 M->Offset = Offset; in parseImpl() 131 auto Err = M->Header.parseMacroHeader(Data, &Offset); in parseImpl() 140 E.Type = Data.getULEB128(&Offset); in parseImpl() 163 E.Line = Data.getULEB128(&Offset); in parseImpl() 165 E.MacroStr = Data.getCStr(&Offset); in parseImpl() 178 E.Line = Data.getULEB128(&Offset); in parseImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Pointer.h | 48 IntPointer atOffset(const ASTContext &ASTCtx, unsigned Offset) const; 106 Pointer(uint64_t Address, const Descriptor *Desc, uint64_t Offset = 0) 107 : Offset(Offset), StorageKind(Storage::Int) { in Offset() function 111 Pointer(const Function *F, uint64_t Offset = 0) 112 : Offset(Offset), StorageKind(Storage::Fn) { in Offset() argument 115 Pointer(const Type *TypePtr, const Type *TypeInfoType, uint64_t Offset = 0) 116 : Offset(Offset), StorageKind(Storage::Typeid) { in Offset() function 120 Pointer(Block *Pointee, unsigned Base, uint64_t Offset); 132 P.asIntPointer().Desc == asIntPointer().Desc && P.Offset == Offset; 137 P.Offset == Offset; [all …]
|
| H A D | InterpFrame.h | 77 template <typename T> const T &getLocal(unsigned Offset) const { in getLocal() argument 78 return localRef<T>(Offset); in getLocal() 82 template <typename T> void setLocal(unsigned Offset, const T &Value) { in setLocal() argument 83 localRef<T>(Offset) = Value; in setLocal() 84 localInlineDesc(Offset)->IsInitialized = true; in setLocal() 88 Pointer getLocalPointer(unsigned Offset) const; 91 template <typename T> const T &getParam(unsigned Offset) const { in getParam() argument 92 auto Pt = Params.find(Offset); in getParam() 94 return stackRef<T>(Offset); in getParam() 99 template <typename T> void setParam(unsigned Offset, const T &Value) { in setParam() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldELFMips.cpp | 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation() 45 applyMIPSRelocation(Section.getAddressWithOffset(RE.Offset), Value, in applyRelocation() 54 uint64_t Offset, uint64_t Value, in evaluateMIPS32Relocation() argument 58 << format("%llx", Section.getAddressWithOffset(Offset)) in evaluateMIPS32Relocation() 60 << format("%llx", Section.getLoadAddressWithOffset(Offset)) in evaluateMIPS32Relocation() 78 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 82 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | CBufferDataLayout.cpp | 30 uint32_t Offset = Offsets[Idx]; in getElementLegacyOffset() local 31 uint32_t Ch = Offset & (RowAlign - 1); in getElementLegacyOffset() 32 return std::make_pair((Offset - Ch) / RowAlign, Ch); in getElementLegacyOffset() 41 TypeSize applyRowAlign(TypeSize Offset, Type *EltTy); 48 static TypeSize alignTo4Dwords(TypeSize Offset) { in alignTo4Dwords() argument 49 return alignTo(Offset, RowAlign); in alignTo4Dwords() 57 TypeSize LegacyCBufferLayout::applyRowAlign(TypeSize Offset, Type *EltTy) { in applyRowAlign() argument 58 TypeSize AlignedOffset = alignTo4Dwords(Offset); in applyRowAlign() 60 if (AlignedOffset == Offset) in applyRowAlign() 61 return Offset; in applyRowAlign() 98 TypeSize Offset = TypeSize::Fixed(0); getStructLayout() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCRegisterInfo.cpp | 40 unsigned FrameReg, int Offset, int StackSize, in replaceFrameIndex() argument 48 if (MI.getOpcode() == ARC::LD_rs9 && (Offset >= 256 || Offset < -256)) { in replaceFrameIndex() 52 .addImm(Offset) in replaceFrameIndex() 58 if (MI.getOpcode() != ARC::GETFI && (Offset >= 256 || Offset < -256)) { in replaceFrameIndex() 71 << "+Offset=" << Offset << "\n"); in replaceFrameIndex() 75 unsigned AddOpc = isUInt<6>(Offset) ? ARC::ADD_rru6 : ARC::ADD_rrlimm; in replaceFrameIndex() 79 .addImm(Offset); in replaceFrameIndex() 80 Offset = 0; in replaceFrameIndex() 85 assert((Offset % 4 == 0) && "LD needs 4 byte alignment."); in replaceFrameIndex() 89 assert((Offset % 2 == 0) && "LDH needs 2 byte alignment."); in replaceFrameIndex() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/LowLevel/ |
| H A D | DWARFUnwindTable.cpp | 31 UnwindLocation UnwindLocation::createIsCFAPlusOffset(int32_t Offset) { in createIsCFAPlusOffset() argument 32 return {CFAPlusOffset, InvalidRegisterNumber, Offset, std::nullopt, false}; in createIsCFAPlusOffset() 35 UnwindLocation UnwindLocation::createAtCFAPlusOffset(int32_t Offset) { in createAtCFAPlusOffset() argument 36 return {CFAPlusOffset, InvalidRegisterNumber, Offset, std::nullopt, true}; in createAtCFAPlusOffset() 40 UnwindLocation::createIsRegisterPlusOffset(uint32_t RegNum, int32_t Offset, in createIsRegisterPlusOffset() argument 42 return {RegPlusOffset, RegNum, Offset, AddrSpace, false}; in createIsRegisterPlusOffset() 46 UnwindLocation::createAtRegisterPlusOffset(uint32_t RegNum, int32_t Offset, in createAtRegisterPlusOffset() argument 48 return {RegPlusOffset, RegNum, Offset, AddrSpace, true}; in createAtRegisterPlusOffset() 68 return Offset == RHS.Offset && Dereference == RHS.Dereference; in operator ==() 70 return RegNum == RHS.RegNum && Offset == RHS.Offset && in operator ==() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryByteStream.h | 40 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() argument 42 if (auto EC = checkOffsetForRead(Offset, Size)) in readBytes() 44 Buffer = Data.slice(Offset, Size); in readBytes() 48 Error readLongestContiguousChunk(uint64_t Offset, in readLongestContiguousChunk() argument 50 if (auto EC = checkOffsetForRead(Offset, 1)) in readLongestContiguousChunk() 52 Buffer = Data.slice(Offset); in readLongestContiguousChunk() 99 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() argument 101 return ImmutableStream.readBytes(Offset, Size, Buffer); in readBytes() 104 Error readLongestContiguousChunk(uint64_t Offset, in readLongestContiguousChunk() argument 106 return ImmutableStream.readLongestContiguousChunk(Offset, Buffe in readLongestContiguousChunk() 111 writeBytes(uint64_t Offset,ArrayRef<uint8_t> Buffer) writeBytes() argument 147 readBytes(uint64_t Offset,uint64_t Size,ArrayRef<uint8_t> & Buffer) readBytes() argument 156 insert(uint64_t Offset,ArrayRef<uint8_t> Bytes) insert() argument 160 readLongestContiguousChunk(uint64_t Offset,ArrayRef<uint8_t> & Buffer) readLongestContiguousChunk() argument 171 writeBytes(uint64_t Offset,ArrayRef<uint8_t> Buffer) writeBytes() argument 240 readBytes(uint64_t Offset,uint64_t Size,ArrayRef<uint8_t> & Buffer) readBytes() argument 245 readLongestContiguousChunk(uint64_t Offset,ArrayRef<uint8_t> & Buffer) readLongestContiguousChunk() argument 252 writeBytes(uint64_t Offset,ArrayRef<uint8_t> Data) writeBytes() argument [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPrologEpilogPass.cpp | 68 StackOffset Offset = TFI->getFrameIndexReference(MF, FrameIdx, Reg); in replaceFrameIndexDebugInstr() local 74 DIExpression::ApplyOffset, Offset); in replaceFrameIndexDebugInstr() 81 TRI.getOffsetOpcodes(Offset, Ops); in replaceFrameIndexDebugInstr() 136 bool StackGrowsDown, int64_t &Offset, in AdjustStackOffset() argument 140 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 149 Offset = alignTo(Offset, Alignment); in AdjustStackOffset() 152 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset() 154 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 156 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset() 158 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_unwind_win.cpp | 63 stack_frame.AddrPC.Offset = ctx.Pc; in UnwindSlow() 64 stack_frame.AddrFrame.Offset = ctx.Fp; in UnwindSlow() 65 stack_frame.AddrStack.Offset = ctx.Sp; in UnwindSlow() 68 stack_frame.AddrPC.Offset = ctx.Rip; in UnwindSlow() 69 stack_frame.AddrFrame.Offset = ctx.Rbp; in UnwindSlow() 70 stack_frame.AddrStack.Offset = ctx.Rsp; in UnwindSlow() 75 stack_frame.AddrPC.Offset = ctx.Pc; in UnwindSlow() 76 stack_frame.AddrFrame.Offset = ctx.R11; in UnwindSlow() 77 stack_frame.AddrStack.Offset = ctx.Sp; in UnwindSlow() 80 stack_frame.AddrPC.Offset = ctx.Fir; in UnwindSlow() [all …]
|