Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 25 of 1494) sorted by relevance

12345678910>>...60

/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.cpp95 uint64_t Offset = 0) { in formatSymbol() argument
102 if (Offset) in formatSymbol()
103 OS << format("+0x%" PRIX64 " (0x%" PRIX64 ")", Offset, Address); in formatSymbol()
255 uint64_t Offset) { in getRelocatedSymbol()
258 if (RelocationOffset == Offset) in getRelocatedSymbol()
278 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); in getPreferredSymbol()
279 if (Offset <= SymbolOffset) { in getPreferredSymbol()
280 SymbolOffset = Offset; in getPreferredSymbol()
328 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_0xxxxxxx()
330 uint8_t Imm = OC[Offset] in opcode_0xxxxxxx()
254 getRelocatedSymbol(const COFFObjectFile &,const SectionRef & Section,uint64_t Offset) getRelocatedSymbol() argument
277 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); getPreferredSymbol() local
327 opcode_0xxxxxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_0xxxxxxx() argument
338 opcode_10Lxxxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_10Lxxxxx() argument
357 opcode_1100xxxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_1100xxxx() argument
369 opcode_11010Lxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11010Lxx() argument
386 opcode_11011Lxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11011Lxx() argument
403 opcode_11100xxx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11100xxx() argument
417 opcode_111010xx(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_111010xx() argument
430 opcode_1110110L(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_1110110L() argument
444 opcode_11101110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11101110() argument
460 opcode_11101111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11101111() argument
478 opcode_11110101(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110101() argument
493 opcode_11110110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110110() argument
508 opcode_11110111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11110111() argument
521 opcode_11111000(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111000() argument
536 opcode_11111001(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111001() argument
549 opcode_11111010(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111010() argument
564 opcode_11111011(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111011() argument
571 opcode_11111100(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111100() argument
578 opcode_11111101(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111101() argument
585 opcode_11111110(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111110() argument
592 opcode_11111111(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_11111111() argument
599 opcode_alloc_s(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_s() argument
609 opcode_save_r19r20_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_r19r20_x() argument
622 opcode_save_fplr(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fplr() argument
632 opcode_save_fplr_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fplr_x() argument
645 opcode_alloc_m(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_m() argument
658 opcode_save_regp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_regp() argument
673 opcode_save_regp_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_regp_x() argument
694 opcode_save_reg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_reg() argument
709 opcode_save_reg_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_reg_x() argument
726 opcode_save_lrpair(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_lrpair() argument
742 opcode_save_fregp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fregp() argument
757 opcode_save_fregp_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_fregp_x() argument
776 opcode_save_freg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_freg() argument
791 opcode_save_freg_x(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_freg_x() argument
807 opcode_alloc_l(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_alloc_l() argument
820 opcode_setfp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_setfp() argument
829 opcode_addfp(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_addfp() argument
841 opcode_nop(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_nop() argument
848 opcode_end(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_end() argument
855 opcode_end_c(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_end_c() argument
862 opcode_save_next(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_next() argument
873 opcode_save_any_reg(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_save_any_reg() argument
950 opcode_trap_frame(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_trap_frame() argument
957 opcode_machine_frame(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_machine_frame() argument
965 opcode_context(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_context() argument
972 opcode_clear_unwound_to_call(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_clear_unwound_to_call() argument
980 opcode_pac_sign_lr(const uint8_t * OC,unsigned & Offset,unsigned Length,bool Prologue) opcode_pac_sign_lr() argument
990 decodeOpcodes(ArrayRef<uint8_t> Opcodes,unsigned Offset,bool Prologue) decodeOpcodes() argument
1028 uint64_t Offset = VA - SectionVA; dumpXDataRecord() local
1132 dumpUnpackedEntry(const COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpUnpackedEntry() argument
1200 dumpPackedEntry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpPackedEntry() argument
1298 dumpPackedARM64Entry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunctionARM64 & RF) dumpPackedARM64Entry() argument
1433 uint64_t Offset = PDataEntrySize * Index; dumpProcedureDataEntry() local
[all...]
H A DARMWinEHPrinter.h38 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 DAArch64TargetStreamer.h48 virtual void emitARM64WinCFISaveR19R20X(int Offset) {} in emitARM64WinCFISaveR19R20X() argument
49 virtual void emitARM64WinCFISaveFPLR(int Offset) {} in emitARM64WinCFISaveFPLR() argument
50 virtual void emitARM64WinCFISaveFPLRX(int Offset) {} in emitARM64WinCFISaveFPLRX() argument
51 virtual void emitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveReg() argument
52 virtual void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegX() argument
53 virtual void emitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegP() argument
54 virtual void emitARM64WinCFISaveRegPX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegPX() argument
55 virtual void emitARM64WinCFISaveLRPair(unsigned Reg, int Offset) {} in emitARM64WinCFISaveLRPair() argument
56 virtual void emitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFReg() argument
57 virtual void emitARM64WinCFISaveFRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFRegX() argument
[all …]
H A DAArch64WinCOFFStreamer.cpp70 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 DAArch64ELFStreamer.cpp59 void emitARM64WinCFISaveR19R20X(int Offset) override { in emitARM64WinCFISaveR19R20X() argument
60 OS << "\t.seh_save_r19r20_x\t" << Offset << "\n"; in emitARM64WinCFISaveR19R20X()
62 void emitARM64WinCFISaveFPLR(int Offset) override { in emitARM64WinCFISaveFPLR() argument
63 OS << "\t.seh_save_fplr\t" << Offset << "\n"; in emitARM64WinCFISaveFPLR()
65 void emitARM64WinCFISaveFPLRX(int Offset) override { in emitARM64WinCFISaveFPLRX() argument
66 OS << "\t.seh_save_fplr_x\t" << Offset << "\n"; in emitARM64WinCFISaveFPLRX()
68 void emitARM64WinCFISaveReg(unsigned Reg, int Offset) override { in emitARM64WinCFISaveReg() argument
69 OS << "\t.seh_save_reg\tx" << Reg << ", " << Offset << "\n"; in emitARM64WinCFISaveReg()
71 void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) override { in emitARM64WinCFISaveRegX() argument
72 OS << "\t.seh_save_reg_x\tx" << Reg << ", " << Offset << "\n"; in emitARM64WinCFISaveRegX()
[all …]
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbdump1.c191 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 Ddmtbdump3.c203 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 Ddmtbdump2.c187 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/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h28 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,
99 Offset = writeMachOStruct(Buf, Offset, rawStruct(), SwapStruct);
100 strcpy(Buf.data() + Offset, Name.data());
[all …]
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp109 RopePieceBTreeNode *split(unsigned Offset);
117 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R);
121 void erase(unsigned Offset, unsigned NumBytes);
209 RopePieceBTreeNode *split(unsigned Offset);
217 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R);
221 void erase(unsigned Offset, unsigned NumBytes);
236 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() argument
239 if (Offset == 0 || Offset == size()) { in split()
247 while (Offset >= PieceOffs+Pieces[i].size()) { in split()
254 if (PieceOffs == Offset) in split()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp73 /// \param Offset The byte offset within \a Data.
77 static bool skip(DataExtractor &Data, uint64_t &Offset, bool SkippedRanges) { in skip() argument
79 if (skipRanges(Data, Offset) == 0) in skip()
82 bool HasChildren = Data.getU8(&Offset) != 0; in skip()
83 Data.getU32(&Offset); // Skip Inline.Name. in skip()
84 Data.getULEB128(&Offset); // Skip Inline.CallFile. in skip()
85 Data.getULEB128(&Offset); // Skip Inline.CallLine. in skip()
87 while (skip(Data, Offset, false /* SkippedRanges */)) in skip()
104 /// \param Offset The byte offset within \a Data.
109 static bool lookup(const GsymReader &GR, DataExtractor &Data, uint64_t &Offset, in lookup() argument
164 uint64_t Offset = 0; lookup() local
180 decode(DataExtractor & Data,uint64_t & Offset,uint64_t BaseAddr) decode() argument
225 uint64_t Offset = 0; decode() local
[all...]
H A DFunctionInfo.cpp40 uint64_t Offset = 0; in decode() local
41 if (!Data.isValidOffsetForDataOfSize(Offset, 4)) in decode()
43 "0x%8.8" PRIx64 ": missing FunctionInfo Size", Offset); in decode()
44 FI.Range = {BaseAddr, BaseAddr + Data.getU32(&Offset)}; in decode()
45 if (!Data.isValidOffsetForDataOfSize(Offset, 4)) in decode()
47 "0x%8.8" PRIx64 ": missing FunctionInfo Name", Offset); in decode()
48 FI.Name = Data.getU32(&Offset); in decode()
52 Offset - 4, FI.Name); in decode()
55 if (!Data.isValidOffsetForDataOfSize(Offset, 4)) in decode()
57 "0x%8.8" PRIx64 ": missing FunctionInfo InfoType value", Offset); in decode()
186 uint64_t Offset = 0; lookup() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.cpp162 void prepareReplaceFI(MachineInstr &MI, Register &FrameReg, int64_t &Offset,
167 void replaceFI(MachineInstr &MI, Register FrameReg, int64_t Offset,
171 void processSTQ(MachineInstr &MI, Register FrameReg, int64_t Offset,
173 void processLDQ(MachineInstr &MI, Register FrameReg, int64_t Offset,
176 void processSTVM(MachineInstr &MI, Register FrameReg, int64_t Offset,
178 void processLDVM(MachineInstr &MI, Register FrameReg, int64_t Offset,
181 void processSTVM512(MachineInstr &MI, Register FrameReg, int64_t Offset,
183 void processLDVM512(MachineInstr &MI, Register FrameReg, int64_t Offset,
193 void processMI(MachineInstr &MI, Register FrameReg, int64_t Offset,
201 int64_t &Offset, int64_t Bytes) { in prepareReplaceFI() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldELFMips.cpp18 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/Support/
H A DBinaryStreamRef.cpp21 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/clang/lib/AST/Interp/
H A DPointer.h94 Pointer(uint64_t Address, const Descriptor *Desc, uint64_t Offset = 0)
95 : Offset(Offset), StorageKind(Storage::Int) { in Offset() function
110 Offset == P.Offset;
115 Offset == P.Offset;
128 return asIntPointer().Value + (Offset * elemSize()); in getIntegerRepresentation()
129 return reinterpret_cast<uint64_t>(asBlockPointer().Pointee) + Offset; in getIntegerRepresentation()
155 unsigned Field = Offset + Off; in atField()
164 assert(Offset >= Off); in atFieldSub()
165 unsigned O = Offset - Off; in atFieldSub()
181 Offset == 0 ? Offset : PastEndMark); in narrow()
[all …]
H A DInterpFrame.h70 template <typename T> const T &getLocal(unsigned Offset) const { in getLocal() argument
71 return localRef<T>(Offset); in getLocal()
75 template <typename T> void setLocal(unsigned Offset, const T &Value) { in setLocal() argument
76 localRef<T>(Offset) = Value; in setLocal()
77 localInlineDesc(Offset)->IsInitialized = true; in setLocal()
81 Pointer getLocalPointer(unsigned Offset) const;
84 template <typename T> const T &getParam(unsigned Offset) const { in getParam() argument
85 auto Pt = Params.find(Offset); in getParam()
87 return stackRef<T>(Offset); in getParam()
92 template <typename T> void setParam(unsigned Offset, const T &Value) { in setParam() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp76 auto Offset = in runOnMachineFunction() local
81 … DIExpr = TRI.prependOffsetExpression(MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction()
84 TRI.getOffsetOpcodes(Offset, Ops); in runOnMachineFunction()
112 bool StackGrowsDown, int64_t &Offset, in AdjustStackOffset() argument
116 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
125 Offset = alignTo(Offset, Alignment); in AdjustStackOffset()
128 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset()
130 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
132 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset()
134 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCRegisterInfo.cpp40 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/Target/DirectX/
H A DCBufferDataLayout.cpp30 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/DebugInfo/DWARF/
H A DDWARFGdbIndex.cpp33 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 DDWARFDebugMacro.cpp45 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/llvm/include/llvm/Support/
H A DBinaryByteStream.h40 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/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp261 unsigned Offset = 0; in emitKernelArgs() local
264 emitKernelArg(Arg, Offset, Args); in emitKernelArgs()
266 emitHiddenKernelArgs(MF, Offset, Args); in emitKernelArgs()
272 unsigned &Offset, in emitKernelArg() argument
331 getValueKind(ArgTy, TypeQual, BaseTypeName), Offset, Args, in emitKernelArg()
338 unsigned &Offset, msgpack::ArrayDocNode Args, MaybeAlign PointeeAlign, in emitKernelArg() argument
349 Offset = alignTo(Offset, Alignment); in emitKernelArg()
350 Arg[".offset"] = Arg.getDocument()->getNode(Offset); in emitKernelArg()
351 Offset += Size; in emitKernelArg()
386 const MachineFunction &MF, unsigned &Offset, msgpack::ArrayDocNode Args) { in emitHiddenKernelArgs() argument
[all …]
H A DAMDGPUGlobalISelUtils.cpp24 unsigned Offset; in getBaseWithConstantOffset() local
27 Offset = Op.getImm(); in getBaseWithConstantOffset()
29 Offset = Op.getCImm()->getZExtValue(); in getBaseWithConstantOffset()
31 return std::pair(Register(), Offset); in getBaseWithConstantOffset()
34 int64_t Offset; in getBaseWithConstantOffset() local
43 if (mi_match(Def->getOperand(2).getReg(), MRI, m_ICst(Offset))) in getBaseWithConstantOffset()
44 return std::pair(Def->getOperand(1).getReg(), Offset); in getBaseWithConstantOffset()
47 if (mi_match(Def->getOperand(2).getReg(), MRI, m_Copy(m_ICst(Offset)))) in getBaseWithConstantOffset()
48 return std::pair(Def->getOperand(1).getReg(), Offset); in getBaseWithConstantOffset()
52 if (KnownBits && mi_match(Reg, MRI, m_GOr(m_Reg(Base), m_ICst(Offset))) && in getBaseWithConstantOffset()
[all …]

12345678910>>...60