| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.cpp | 453 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] & 0x0f); in opcode_11101110() 467 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] << 2); in opcode_11101111() 471 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] << 2); in opcode_11101111() 512 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], in opcode_11110111() 528 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3], in opcode_11111000() 541 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], in opcode_11111001() 556 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3], in opcode_11111010() 666 OC[Offset], OC[Offset + 1], in opcode_save_regp() 682 OC[Offset], OC[Offset + 1], Reg, in opcode_save_regp_x() 687 OC[Offset], OC[Offset + 1], Reg, in opcode_save_regp_x() [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 …]
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 239 if (Offset == 0 || Offset == size()) { in split() 254 if (PieceOffs == Offset) in split() 268 return insert(Offset, Tail); in split() 283 if (Offset == size()) { in insert() 328 if (this->size() >= Offset) in insert() 329 this->insert(Offset, R); in insert() 479 if (Offset == 0 || Offset == size()) in split() 488 if (ChildOffset == Offset) in split() 510 if (Offset == size()) { in insert() 595 if (Offset) { in erase() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | InlineInfo.cpp | 78 if (skipRanges(Data, Offset) == 0) in skip() 82 Data.getU32(&Offset); // Skip Inline.Name. in skip() 125 Inline.Name = Data.getU32(&Offset); in lookup() 148 SrcLoc.Offset = SrcLocs.back().Offset; in lookup() 163 uint64_t Offset = 0; in lookup() local 182 if (!Data.isValidOffset(Offset)) in decode() 191 Offset); in decode() 196 Inline.Name = Data.getU32(&Offset); in decode() 197 if (!Data.isValidOffset(Offset)) in decode() 201 if (!Data.isValidOffset(Offset)) in decode() [all …]
|
| H A D | FunctionInfo.cpp | 39 uint64_t Offset = 0; in decode() local 47 FI.Name = Data.getU32(&Offset); in decode() 51 Offset - 4, FI.Name); in decode() 65 Offset, IT); in decode() 93 Offset += InfoLength; in decode() 159 uint64_t Offset = 0; in lookup() local 165 if (!Data.isValidOffset(Offset)) in lookup() 178 Offset - 4); in lookup() 216 Offset += InfoLength; in lookup() 224 SrcLoc.Offset = Addr - FuncAddr; in lookup() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64WinCOFFStreamer.cpp | 92 emitARM64WinUnwindCode(Win64EH::UOP_SaveR19R20X, -1, Offset); in emitARM64WinCFISaveR19R20X() 96 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLR, -1, Offset); in emitARM64WinCFISaveFPLR() 100 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLRX, -1, Offset); in emitARM64WinCFISaveFPLRX() 105 assert(Offset >= 0 && Offset <= 504 && in emitARM64WinCFISaveReg() 107 emitARM64WinUnwindCode(Win64EH::UOP_SaveReg, Reg, Offset); in emitARM64WinCFISaveReg() 112 emitARM64WinUnwindCode(Win64EH::UOP_SaveRegX, Reg, Offset); in emitARM64WinCFISaveRegX() 117 emitARM64WinUnwindCode(Win64EH::UOP_SaveRegP, Reg, Offset); in emitARM64WinCFISaveRegP() 122 emitARM64WinUnwindCode(Win64EH::UOP_SaveRegPX, Reg, Offset); in emitARM64WinCFISaveRegPX() 132 assert(Offset >= 0 && Offset <= 504 && in emitARM64WinCFISaveFReg() 134 emitARM64WinUnwindCode(Win64EH::UOP_SaveFReg, Reg, Offset); in emitARM64WinCFISaveFReg() [all …]
|
| H A D | AArch64TargetStreamer.h | 47 virtual void emitARM64WinCFISaveR19R20X(int Offset) {} in emitARM64WinCFISaveR19R20X() argument 48 virtual void emitARM64WinCFISaveFPLR(int Offset) {} in emitARM64WinCFISaveFPLR() argument 49 virtual void emitARM64WinCFISaveFPLRX(int Offset) {} in emitARM64WinCFISaveFPLRX() argument 50 virtual void emitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveReg() argument 51 virtual void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegX() argument 52 virtual void emitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegP() argument 55 virtual void emitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFReg() argument 100 void emitARM64WinCFISaveR19R20X(int Offset) override; 101 void emitARM64WinCFISaveFPLR(int Offset) override; 102 void emitARM64WinCFISaveFPLRX(int Offset) override; [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VERegisterInfo.cpp | 209 if (isInt<32>(Offset) && isInt<32>(Offset + Bytes)) { in prepareReplaceFI() 229 Offset = 0; in prepareReplaceFI() 260 Offset += 8; in processSTQ() 280 Offset += 8; in processLDQ() 314 Offset += 8; in processSTVM() 350 Offset += 8; in processLDVM() 396 Offset += 8; in processSTVM512() 407 Offset += 8; in processSTVM512() 442 Offset += 8; in processLDVM512() 452 Offset += 8; in processLDVM512() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | reloc-types-x64.test | 102 - Offset: 0x0000000000000003 105 - Offset: 0x000000000000000A 108 - Offset: 0x0000000000000011 111 - Offset: 0x0000000000000018 114 - Offset: 0x000000000000001F 117 - Offset: 0x0000000000000026 120 - Offset: 0x000000000000002D 123 - Offset: 0x0000000000000034 126 - Offset: 0x000000000000003B 129 - Offset: 0x0000000000000042 [all …]
|
| H A D | reloc-types-i386.test | 105 - Offset: 0x0000000000000002 108 - Offset: 0x0000000000000008 111 - Offset: 0x000000000000000E 114 - Offset: 0x0000000000000014 117 - Offset: 0x000000000000001A 120 - Offset: 0x0000000000000020 123 - Offset: 0x0000000000000026 126 - Offset: 0x000000000000002C 129 - Offset: 0x0000000000000032 132 - Offset: 0x0000000000000038 [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Pointer.h | 68 unsigned Field = Offset + Off; in atField() 80 return Pointer(Pointee, 0, Offset == 0 ? Offset : PastEndMark); in narrow() 91 if (Offset != Base) in narrow() 97 if (Offset != Base) in narrow() 98 return Pointer(Pointee, Offset, Offset); in narrow() 121 if (Base != Offset) in expand() 160 assert(Offset != 0 && Offset != PastEndMark && "not an array element"); in getArray() 190 return Offset; in getOffset() 193 if (Offset != Base) { in getOffset() 253 return Offset; in getByteOffset() [all …]
|
| H A D | InterpFrame.h | 67 return localRef<T>(Offset); in getLocal() 72 localRef<T>(Offset) = Value; in setLocal() 76 Pointer getLocalPointer(unsigned Offset); 80 auto Pt = Params.find(Offset); in getParam() 82 return stackRef<T>(Offset); in getParam() 90 getParamPointer(Offset).deref<T>() = Value; in setParam() 94 Pointer getParamPointer(unsigned Offset); 120 template <typename T> T &localRef(unsigned Offset) { in localRef() argument 121 return *reinterpret_cast<T *>(Locals.get() + Offset); in localRef() 125 void *localBlock(unsigned Offset) { in localBlock() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | BinaryStreamRef.cpp | 24 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() argument 26 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 28 Error readLongestContiguousChunk(uint64_t Offset, in readLongestContiguousChunk() argument 47 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() argument 49 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 51 Error readLongestContiguousChunk(uint64_t Offset, in readLongestContiguousChunk() argument 58 return BBS.writeBytes(Offset, Data); in writeBytes() 71 : BinaryStreamRefBase(Stream, Offset, Length) {} in BinaryStreamRef() 81 if (auto EC = checkOffsetForRead(Offset, Size)) in readBytes() 88 if (auto EC = checkOffsetForRead(Offset, 1)) in readLongestContiguousChunk() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/X86/ |
| H A D | ms-x86-intrinsics.c | 11 char test__readfsbyte(unsigned long Offset) { in test__readfsbyte() argument 12 return __readfsbyte(++Offset); in test__readfsbyte() 20 short test__readfsword(unsigned long Offset) { in test__readfsword() argument 21 return __readfsword(++Offset); in test__readfsword() 29 long test__readfsdword(unsigned long Offset) { in test__readfsdword() argument 30 return __readfsdword(++Offset); in test__readfsdword() 39 return __readfsqword(++Offset); in test__readfsqword() 69 return __readgsbyte(++Offset); in test__readgsbyte() 79 return __readgsword(++Offset); in test__readgsword() 89 return __readgsdword(++Offset); in test__readgsdword() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldELFMips.cpp | 78 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 82 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 86 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 90 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 94 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 98 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS32Relocation() 119 << " Offset: " << format("%llx" PRIx64, Offset) in evaluateMIPS64Relocation() 269 Section, Offset, Value, Type, Addend, SymOffset, SectionID); in resolveMIPSN32Relocation() 304 uint64_t Offset, in resolveMIPSO32Relocation() argument 307 uint8_t *TargetPtr = Section.getAddressWithOffset(Offset); in resolveMIPSO32Relocation() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPrologEpilogPass.cpp | 76 auto Offset = in runOnMachineFunction() local 116 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 125 Offset = alignTo(Offset, Alignment); in AdjustStackOffset() 134 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 135 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 158 int64_t Offset = LocalAreaOffset; in calculateFrameObjectOffsets() local 177 if (FixedOff > Offset) Offset = FixedOff; in calculateFrameObjectOffsets() 194 Offset = alignTo(Offset, Alignment); in calculateFrameObjectOffsets() 201 int64_t FIOffset = (StackGrowsDown ? -Offset : Offset) + Entry.second; in calculateFrameObjectOffsets() 207 Offset += MFI.getLocalFrameSize(); in calculateFrameObjectOffsets() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCRegisterInfo.cpp | 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() 78 .addImm(Offset); in replaceFrameIndex() 79 Offset = 0; in replaceFrameIndex() 95 .addImm(Offset) in replaceFrameIndex() 109 .addImm(Offset) in replaceFrameIndex() 118 .addImm(Offset); in replaceFrameIndex() 210 Offset = StackSize + Offset; in eliminateFrameIndex() 212 assert((Offset >= 0 && Offset < StackSize) && "SP Offset not in bounds."); in eliminateFrameIndex() [all …]
|
| /llvm-project-15.0.7/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 165 Buffer = makeArrayRef(Data).slice(Offset); in readLongestContiguousChunk() 181 if (Offset > getLength()) in writeBytes() 242 return Impl.readBytes(Offset, Size, Buffer); in readBytes() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 99 if (Offset == 0) in dump() 101 if (Offset > 0) in dump() 103 OS << Offset; in dump() 109 if (Offset >= 0) in dump() 111 OS << Offset; in dump() 119 OS << Offset; in dump() 141 return Offset == RHS.Offset && Dereference == RHS.Dereference; in operator ==() 143 return RegNum == RHS.RegNum && Offset == RHS.Offset && in operator ==() 148 return Offset == RHS.Offset; in operator ==() 554 if (!Offset) in parseRows() [all …]
|
| H A D | DWARFGdbIndex.cpp | 115 uint64_t Offset = 0; in parseImpl() local 118 Version = Data.getU32(&Offset); in parseImpl() 122 CuListOffset = Data.getU32(&Offset); in parseImpl() 123 TuListOffset = Data.getU32(&Offset); in parseImpl() 124 AddressAreaOffset = Data.getU32(&Offset); in parseImpl() 125 SymbolTableOffset = Data.getU32(&Offset); in parseImpl() 126 ConstantPoolOffset = Data.getU32(&Offset); in parseImpl() 128 if (Offset != CuListOffset) in parseImpl() 155 uint32_t CuIndex = Data.getU32(&Offset); in parseImpl() 186 uint32_t Num = Data.getU32(&Offset); in parseImpl() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/ |
| H A D | NativeSessionTest.cpp | 61 uint32_t Offset; in TEST() local 64 EXPECT_EQ(904U, Offset); in TEST() 68 EXPECT_EQ(0U, Offset); in TEST() 70 ASSERT_TRUE(S->addressForVA(4, Section, Offset)); in TEST() 72 EXPECT_EQ(4U, Offset); in TEST() 76 EXPECT_EQ(83616U, Offset); in TEST() 85 uint32_t Offset; in TEST() local 88 EXPECT_EQ(904U, Offset); in TEST() 92 EXPECT_EQ(0U, Offset); in TEST() 96 EXPECT_EQ(4U, Offset); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 134 if (!addRange(Offset, Offset + StoreSize, SI)) in addStore() 143 if (!addRange(Offset, Offset + StoreSize, MSI)) in addMemSet() 146 applyMemSet(IRB, Offset, Offset + StoreSize, in addMemSet() 158 for (int64_t Offset = Start - Start % 8; Offset < End; Offset += 8) { in applyMemSet() local 160 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() 196 for (int64_t Offset = Start - Start % 8; Offset < End; Offset += 8) { in applyStore() local 219 for (uint64_t Offset = 0; Offset < Size; Offset += 16) { in generate() local 247 LLVM_DEBUG(dbgs() << " [" << Offset << ", " << Offset + Size in emitZeroes() 250 if (Offset) in emitZeroes() 260 if (Offset) in emitUndef() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | Exceptions.cpp | 119 &Offset, LPStartEncoding, Offset + LSDASectionAddress)) in parseLSDA() 548 Offset, in fillCFIInfoFor() 593 Offset, in fillCFIInfoFor() 598 Offset, in fillCFIInfoFor() 757 uint32_t Offset = 12; in generateEHFrameHeader() local 762 Offset += 4; in generateEHFrameHeader() 766 Offset += 4; in generateEHFrameHeader() 781 Offset += 1; in parseCIE() 783 Data.getULEB128(&Offset); in parseCIE() 785 Data.getSLEB128(&Offset); in parseCIE() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVMergeBaseOffset.cpp | 51 int64_t Offset); 54 int64_t &Offset); 118 HiLUI.getOperand(1).setOffset(Offset); in foldOffset() 119 LoADDI.getOperand(2).setOffset(Offset); in foldOffset() 175 Offset += OffLo; in matchLargeOffset() 178 Offset = SignExtend64<32>(Offset); in matchLargeOffset() 180 if (!isInt<32>(Offset)) in matchLargeOffset() 244 Offset = (uint64_t)Offset << ShAmt; in matchShiftedOffset() 296 int64_t Offset; in detectAndFoldOffset() local 308 int64_t Offset; in detectAndFoldOffset() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | StringTable.h | 25 StringRef operator[](size_t Offset) const { return getString(Offset); } 26 StringRef getString(uint32_t Offset) const { in getString() 27 if (Offset < Data.size()) { in getString() 28 auto End = Data.find('\0', Offset); in getString() 29 return Data.substr(Offset, End - Offset); in getString() 38 uint32_t Offset = 0; variable 40 while (Offset < Size) { 41 StringRef Str = S.getString(Offset); 42 OS << HEX32(Offset) << ": \"" << Str << "\"\n"; 43 Offset += Str.size() + 1;
|