| /NextBSD/contrib/llvm/tools/llvm-readobj/ |
| HD | ARMWinEHPrinter.cpp | 97 uint64_t Offset = 0) { in formatSymbol() argument 104 if (Offset) in formatSymbol() 105 OS << format("+0x%X (0x%" PRIX64 ")", Offset, Address); in formatSymbol() 215 uint64_t Offset) { in getRelocatedSymbol() argument 218 if (RelocationOffset == Offset) in getRelocatedSymbol() 224 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_0xxxxxxx() argument 226 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx() 228 OC[Offset], in opcode_0xxxxxxx() 231 ++Offset; in opcode_0xxxxxxx() 235 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_10Lxxxxx() argument [all …]
|
| HD | ARMAttributeParser.cpp | 74 uint32_t &Offset) { in ParseInteger() argument 76 uint64_t Value = decodeULEB128(Data + Offset, &Length); in ParseInteger() 77 Offset = Offset + Length; in ParseInteger() 82 uint32_t &Offset) { in ParseString() argument 83 const char *String = reinterpret_cast<const char*>(Data + Offset); in ParseString() 85 Offset = Offset + Length + 1; in ParseString() 90 uint32_t &Offset) { in IntegerAttribute() argument 92 ParseInteger(Data, Offset)); in IntegerAttribute() 96 uint32_t &Offset) { in StringAttribute() argument 103 SW.printString("Value", ParseString(Data, Offset)); in StringAttribute() [all …]
|
| HD | ARMAttributeParser.h | 29 uint64_t ParseInteger(const uint8_t *Data, uint32_t &Offset); 30 StringRef ParseString(const uint8_t *Data, uint32_t &Offset); 33 uint32_t &Offset); 35 uint32_t &Offset); 40 uint32_t &Offset); 42 uint32_t &Offset); 44 uint32_t &Offset); 46 uint32_t &Offset); 48 uint32_t &Offset); 50 uint32_t &Offset); [all …]
|
| HD | ARMWinEHPrinter.h | 35 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset, 37 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset, 39 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset, 41 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset, 43 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset, 45 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset, 47 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset, 49 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset, 51 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset, 53 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset, [all …]
|
| HD | Win64EHDumper.cpp | 116 const coff_section *Section, uint64_t Offset, in formatSymbol() argument 122 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol() 126 OS << format(" +0x%X (0x%" PRIX64 ")", Displacement, Offset); in formatSymbol() 128 OS << format(" (0x%" PRIX64 ")", Offset); in formatSymbol() 133 OS << format(" (0x%" PRIX64 ")", Offset); in formatSymbol() 139 uint64_t Offset, in resolveRelocation() argument 144 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation() 164 uint64_t Offset, in printRuntimeFunctionEntry() argument 167 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress)); in printRuntimeFunctionEntry() 169 formatSymbol(Ctx, Section, Offset + 4, RF.EndAddress)); in printRuntimeFunctionEntry() [all …]
|
| /NextBSD/sys/contrib/dev/acpica/common/ |
| HD | dmtbdump.c | 277 UINT32 Offset; in AcpiDmDumpRsdt() local 284 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpRsdt() 292 AcpiDmLineHeader2 (Offset, sizeof (UINT32), "ACPI Table Address", i); in AcpiDmDumpRsdt() 294 Offset += sizeof (UINT32); in AcpiDmDumpRsdt() 317 UINT32 Offset; in AcpiDmDumpXsdt() local 324 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpXsdt() 332 AcpiDmLineHeader2 (Offset, sizeof (UINT64), "ACPI Table Address", i); in AcpiDmDumpXsdt() 334 Offset += sizeof (UINT64); in AcpiDmDumpXsdt() 510 UINT32 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpAsf() local 524 SubTable = ACPI_ADD_PTR (ACPI_ASF_INFO, Table, Offset); in AcpiDmDumpAsf() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Rewrite/ |
| HD | RewriteRope.cpp | 106 RopePieceBTreeNode *split(unsigned Offset); 114 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 118 void erase(unsigned Offset, unsigned NumBytes); 207 RopePieceBTreeNode *split(unsigned Offset); 215 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 220 void erase(unsigned Offset, unsigned NumBytes); 234 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() argument 237 if (Offset == 0 || Offset == size()) { in split() 245 while (Offset >= PieceOffs+Pieces[i].size()) { in split() 252 if (PieceOffs == Offset) in split() [all …]
|
| /NextBSD/contrib/llvm/lib/DebugInfo/DWARF/ |
| HD | DWARFDebugLoc.cpp | 20 OS << format("0x%8.8x: ", L.Offset); in dump() 39 uint32_t Offset = 0; in parse() local 40 while (data.isValidOffset(Offset+AddressSize-1)) { in parse() 43 Loc.Offset = Offset; in parse() 48 RelocAddrMap::const_iterator AI = RelocMap.find(Offset); in parse() 50 E.Begin = data.getUnsigned(&Offset, AddressSize); in parse() 54 AI = RelocMap.find(Offset); in parse() 56 E.End = data.getUnsigned(&Offset, AddressSize); in parse() 66 unsigned Bytes = data.getU16(&Offset); in parse() 68 StringRef str = data.getData().substr(Offset, Bytes); in parse() [all …]
|
| HD | DWARFDebugFrame.cpp | 32 FrameEntry(FrameKind K, uint64_t Offset, uint64_t Length) in FrameEntry() argument 33 : Kind(K), Offset(Offset), Length(Length) {} in FrameEntry() 39 virtual uint64_t getOffset() const { return Offset; } in getOffset() 45 virtual void parseInstructions(DataExtractor Data, uint32_t *Offset, 58 uint64_t Offset; member in llvm::FrameEntry 100 void FrameEntry::parseInstructions(DataExtractor Data, uint32_t *Offset, in parseInstructions() argument 102 while (*Offset < EndOffset) { in parseInstructions() 103 uint8_t Opcode = Data.getU8(Offset); in parseInstructions() 118 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parseInstructions() 134 addInstruction(Opcode, Data.getAddress(Offset)); in parseInstructions() [all …]
|
| HD | DWARFAcceleratorTable.cpp | 18 uint32_t Offset = 0; in extract() local 24 Hdr.Magic = AccelSection.getU32(&Offset); in extract() 25 Hdr.Version = AccelSection.getU16(&Offset); in extract() 26 Hdr.HashFunction = AccelSection.getU16(&Offset); in extract() 27 Hdr.NumBuckets = AccelSection.getU32(&Offset); in extract() 28 Hdr.NumHashes = AccelSection.getU32(&Offset); in extract() 29 Hdr.HeaderDataLength = AccelSection.getU32(&Offset); in extract() 37 HdrData.DIEOffsetBase = AccelSection.getU32(&Offset); in extract() 38 uint32_t NumAtoms = AccelSection.getU32(&Offset); in extract() 41 uint16_t AtomType = AccelSection.getU16(&Offset); in extract() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXPrologEpilogPass.cpp | 85 bool StackGrowsDown, int64_t &Offset, in AdjustStackOffset() argument 89 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 98 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset() 101 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); in AdjustStackOffset() 102 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 104 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n"); in AdjustStackOffset() 105 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 106 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 129 int64_t Offset = LocalAreaOffset; in calculateFrameObjectOffsets() local 148 if (FixedOff > Offset) Offset = FixedOff; in calculateFrameObjectOffsets() [all …]
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RuntimeDyldELF.cpp | 225 uint64_t Offset, uint64_t Value, in resolveX86_64Relocation() argument 233 support::ulittle64_t::ref(Section.Address + Offset) = Value + Addend; in resolveX86_64Relocation() 235 << format("%p\n", Section.Address + Offset)); in resolveX86_64Relocation() 245 support::ulittle32_t::ref(Section.Address + Offset) = TruncatedAddr; in resolveX86_64Relocation() 247 << format("%p\n", Section.Address + Offset)); in resolveX86_64Relocation() 251 uint64_t FinalAddress = Section.LoadAddress + Offset; in resolveX86_64Relocation() 255 support::ulittle32_t::ref(Section.Address + Offset) = TruncOffset; in resolveX86_64Relocation() 259 uint64_t FinalAddress = Section.LoadAddress + Offset; in resolveX86_64Relocation() 261 support::ulittle64_t::ref(Section.Address + Offset) = RealOffset; in resolveX86_64Relocation() 268 uint64_t Offset, uint32_t Value, in resolveX86Relocation() argument [all …]
|
| HD | RuntimeDyldELF.h | 26 void resolveRelocation(const SectionEntry &Section, uint64_t Offset, 30 void resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset, 34 void resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, 37 void resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, 40 void resolveARMRelocation(const SectionEntry &Section, uint64_t Offset, 43 void resolveMIPSRelocation(const SectionEntry &Section, uint64_t Offset, 46 void resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset, 49 void resolveSystemZRelocation(const SectionEntry &Section, uint64_t Offset, 52 void resolveMIPS64Relocation(const SectionEntry &Section, uint64_t Offset, 57 uint64_t Offset, uint64_t Value, [all …]
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | LocalStackSlotAllocation.cpp | 55 FrameRef(MachineBasicBlock::iterator I, int64_t Offset, int Idx) : in FrameRef() argument 56 MI(I), LocalOffset(Offset), FrameIdx(Idx) {} in FrameRef() 70 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, 75 int64_t &Offset, unsigned &MaxAlign); 135 int FrameIdx, int64_t &Offset, in AdjustStackOffset() argument 140 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 149 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset() 151 int64_t LocalOffset = StackGrowsDown ? -Offset : Offset; in AdjustStackOffset() 160 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 170 bool StackGrowsDown, int64_t &Offset, in AssignProtectedObjSet() argument [all …]
|
| HD | PrologEpilogInserter.cpp | 364 MFI->CreateFixedSpillStackObject(RC->getSize(), FixedSlot->Offset); in assignCalleeSavedSpillSlots() 502 bool StackGrowsDown, int64_t &Offset, in AdjustStackOffset() argument 506 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 515 Offset = (Offset + Align - 1) / Align * Align; in AdjustStackOffset() 518 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); in AdjustStackOffset() 519 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 521 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n"); in AdjustStackOffset() 522 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 523 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 533 int64_t &Offset, unsigned &MaxAlign) { in AssignProtectedObjSet() argument [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Tooling/Core/ |
| HD | Replacement.h | 38 Range() : Offset(0), Length(0) {} in Range() 39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} in Range() argument 43 unsigned getOffset() const { return Offset; } in getOffset() 51 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length; in overlapsWith() 56 return RHS.Offset >= Offset && in contains() 57 (RHS.Offset + RHS.Length) <= (Offset + Length); in contains() 62 unsigned Offset; 81 Replacement(StringRef FilePath, unsigned Offset, unsigned Length,
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | MemoryBuffer.cpp | 102 uint64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize); 176 uint64_t Offset) { in getFileSlice() argument 177 return getFileAux(FilePath, -1, MapSize, Offset, false, false); in getFileSlice() 192 static uint64_t getLegalMapOffset(uint64_t Offset) { in getLegalMapOffset() argument 193 return Offset & ~(sys::fs::mapped_file_region::alignment() - 1); in getLegalMapOffset() 196 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) { in getLegalMapSize() argument 197 return Len + (Offset - getLegalMapOffset(Offset)); in getLegalMapSize() 200 const char *getStart(uint64_t Len, uint64_t Offset) { in getStart() argument 201 return MFR.const_data() + (Offset - getLegalMapOffset(Offset)); in getStart() 206 uint64_t Offset, std::error_code &EC) in MemoryBufferMMapFile() argument [all …]
|
| /NextBSD/contrib/llvm/lib/Target/XCore/ |
| HD | XCoreRegisterInfo.cpp | 64 unsigned Reg, unsigned FrameReg, int Offset ) { in InsertFPImmInst() argument 73 .addImm(Offset) in InsertFPImmInst() 80 .addImm(Offset) in InsertFPImmInst() 86 .addImm(Offset); in InsertFPImmInst() 96 int Offset, RegScavenger *RS ) { in InsertFPConstInst() argument 103 TII.loadImmediate(MBB, II, ScratchOffset, Offset); in InsertFPConstInst() 131 unsigned Reg, int Offset) { in InsertSPImmInst() argument 135 bool isU6 = isImmU6(Offset); in InsertSPImmInst() 142 .addImm(Offset) in InsertSPImmInst() 149 .addImm(Offset) in InsertSPImmInst() [all …]
|
| /NextBSD/sys/contrib/dev/acpica/compiler/ |
| HD | aslhex.c | 169 UINT32 Offset = 0; in HxDoHexOutputC() local 184 while (Offset < AmlFileSize) in HxDoHexOutputC() 204 if ((Offset + i + 1) < AmlFileSize) in HxDoHexOutputC() 224 FlPrintFile (ASL_FILE_HEX_OUTPUT, " /* %8.8X", Offset); in HxDoHexOutputC() 229 Offset += LineLength; in HxDoHexOutputC() 256 UINT32 Offset = 0; in HxDoHexOutputAsl() local 271 while (Offset < AmlFileSize) in HxDoHexOutputAsl() 291 if ((Offset + i + 1) < AmlFileSize) in HxDoHexOutputAsl() 311 FlPrintFile (ASL_FILE_HEX_OUTPUT, " /* %8.8X", Offset); in HxDoHexOutputAsl() 316 Offset += LineLength; in HxDoHexOutputAsl() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/MC/ |
| HD | MachineLocation.h | 29 int Offset; // Displacement if not register. variable 37 : IsRegister(false), Register(0), Offset(0) {} in MachineLocation() 40 : IsRegister(true), Register(R), Offset(0) {} in MachineLocation() 43 : IsRegister(false), Register(R), Offset(O) {} in MachineLocation() 47 Offset == Other.Offset; 55 int getOffset() const { return Offset; } in getOffset() 58 void setOffset(int O) { Offset = O; } in setOffset() 63 Offset = 0; in set() 69 Offset = O; in set()
|
| /NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| HD | StatepointLowering.h | 84 void reserveStackSlot(int Offset) { in reserveStackSlot() argument 85 assert(Offset >= 0 && Offset < (int)AllocatedStackSlots.size() && in reserveStackSlot() 87 assert(!AllocatedStackSlots[Offset] && "already reserved!"); in reserveStackSlot() 88 assert(NextSlotToAllocate <= (unsigned)Offset && "consistency!"); in reserveStackSlot() 89 AllocatedStackSlots[Offset] = true; in reserveStackSlot() 91 bool isStackSlotAllocated(int Offset) { in isStackSlotAllocated() argument 92 assert(Offset >= 0 && Offset < (int)AllocatedStackSlots.size() && in isStackSlotAllocated() 94 return AllocatedStackSlots[Offset]; in isStackSlotAllocated()
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | DwarfExpression.cpp | 35 void DwarfExpression::AddRegIndirect(int DwarfReg, int Offset, bool Deref) { in AddRegIndirect() argument 43 EmitSigned(Offset); in AddRegIndirect() 68 bool DwarfExpression::AddMachineRegIndirect(unsigned MachineReg, int Offset) { in AddMachineRegIndirect() argument 72 EmitSigned(Offset); in AddMachineRegIndirect() 80 AddRegIndirect(DwarfReg, Offset); in AddMachineRegIndirect() 138 unsigned Offset = TRI.getSubRegIdxOffset(Idx); in AddMachineRegPiece() local 144 Intersection.set(Offset, Offset + Size); in AddMachineRegPiece() 151 AddOpPiece(Size, Offset == CurPos ? 0 : Offset); in AddMachineRegPiece() 152 CurPos = Offset + Size; in AddMachineRegPiece() 155 Coverage.set(Offset, Offset + Size); in AddMachineRegPiece() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/Mips/ |
| HD | MipsSEISelDAGToDAG.h | 43 bool selectAddrFrameIndex(SDValue Addr, SDValue &Base, SDValue &Offset) const; 44 bool selectAddrFrameIndexOffset(SDValue Addr, SDValue &Base, SDValue &Offset, 48 SDValue &Offset) const override; 51 SDValue &Offset) const override; 54 SDValue &Offset) const override; 57 SDValue &Offset) const override; 60 SDValue &Offset) const; 63 SDValue &Offset) const; 66 SDValue &Offset) const; 69 SDValue &Offset) const; [all …]
|
| HD | MipsSEISelDAGToDAG.cpp | 280 SDValue &Offset) const { in selectAddrFrameIndex() 285 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex() 293 SDValue &Offset, in selectAddrFrameIndexOffset() argument 307 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), in selectAddrFrameIndexOffset() 318 SDValue &Offset) const { in selectAddrRegImm() 320 if (selectAddrFrameIndex(Addr, Base, Offset)) in selectAddrRegImm() 326 Offset = Addr.getOperand(1); in selectAddrRegImm() 337 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 16)) in selectAddrRegImm() 356 Offset = Opnd0; in selectAddrRegImm() 368 SDValue &Offset) const { in selectAddrRegReg() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| HD | RewriteRope.h | 70 const char &operator[](unsigned Offset) const { 71 return StrData->Data[Offset+StartOffs]; 73 char &operator[](unsigned Offset) { 74 return StrData->Data[Offset+StartOffs]; 153 void insert(unsigned Offset, const RopePiece &R); 155 void erase(unsigned Offset, unsigned NumBytes); 196 void insert(unsigned Offset, const char *Start, const char *End) { in insert() argument 197 assert(Offset <= size() && "Invalid position to insert!"); in insert() 199 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert() 202 void erase(unsigned Offset, unsigned NumBytes) { in erase() argument [all …]
|