/freebsd/sys/contrib/device-tree/Bindings/gpu/host1x/ |
H A D | nvidia,tegra234-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra234-nvdec 32 clock-names: 34 - const: nvdec [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | Win64EHDumper.cpp | 1 //===- Win64EHDumper.cpp - Win64 EH Printer -------- 56 getUnwindCodeTypeName(uint8_t Code) getUnwindCodeTypeName() argument 144 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); getPreferredSymbol() local 160 formatSymbol(const Dumper::Context & Ctx,const coff_section * Section,uint64_t Offset,uint32_t Displacement,bool IsRangeEnd=false) formatSymbol() argument 164 raw_string_ostream OS(Buffer); formatSymbol() local 207 resolveRelocation(const Dumper::Context & Ctx,const coff_section * Section,uint64_t Offset,const coff_section * & ResolvedSection,uint64_t & ResolvedAddress) resolveRelocation() argument 243 printRuntimeFunctionEntry(const Context & Ctx,const coff_section * Section,uint64_t Offset,const RuntimeFunction & RF) printRuntimeFunctionEntry() argument 315 printUnwindInfo(const Context & Ctx,const coff_section * Section,off_t Offset,const UnwindInfo & UI) printUnwindInfo() argument 366 uint64_t Offset; printRuntimeFunction() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64ELFStreamer.cpp | 1 //===- lib/MC/AArch64ELFStreamer.cpp - ELF Object Output for AArch64 ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // regions of data and code. 13 //===----------------------------------------------------------------------===// 48 formatted_raw_ostream &OS; member in __anoneb8230060111::AArch64TargetAsmStreamer 53 OS << "\t.variant_pcs\t" << Symbol->getName() << "\n"; in emitDirectiveVariantPCS() 57 OS << "\t.seh_stackalloc\t" << Size << "\n"; in emitARM64WinCFIAllocStack() 59 void emitARM64WinCFISaveR19R20X(int Offset) override { in emitARM64WinCFISaveR19R20X() argument 60 OS << "\t.seh_save_r19r20_x\t" << Offset << "\n"; in emitARM64WinCFISaveR19R20X() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAsmStreamer.cpp | 1 //===- lib/MC/MCAsmStreamer.cpp - Text Assembly Output ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 48 formatted_raw_ostream &OS; member in __anon0673dc030111::MCAsmStreamer 63 void PrintQuotedString(StringRef Data, raw_ostream &OS) const; 69 raw_svector_ostream &OS) const; 74 MCAsmStreamer(MCContext &Context, std::unique_ptr<formatted_raw_ostream> os, in MCAsmStreamer() argument 77 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer() 81 (asmbackend) ? asmbackend->createObjectWriter(NullStream) in MCAsmStreamer() 85 if (Assembler->getBackendPtr()) in MCAsmStreamer() [all …]
|
H A D | WasmObjectWriter.cpp | 1 //===- lib/MC/WasmObjectWriter.cpp - Wasm File Writer ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 16 #include "llvm/Config/llvm-config.h" 65 uint64_t Offset; member 93 uint64_t Offset; // Where is the relocation. member 99 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() 102 : Offset(Offset), Symbol(Symbol), Addend(Addend), Type(Type), in WasmRelocationEntry() 108 Out << wasm::relocTypetoString(Type) << " Off=" << Offset in print() [all …]
|
H A D | MCCodeView.cpp | 1 //===- MCCodeView.h - Machine Code CodeView support -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 32 StrTabFragment->destroy(); in ~CodeViewContext() 38 unsigned Idx = FileNumber - 1; in isValidFileNumber() 44 bool CodeViewContext::addFile(MCStreamer &OS, unsigned FileNumber, in addFile() argument 51 unsigned Idx = FileNumber - 1; in addFile() 63 unsigned Offset = FilenameOffset.second; in addFile() local 66 OS.getContext().createTempSymbol("checksum_offset", false); in addFile() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDie.cpp | 1 //===- DWARFDie.cpp -------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 40 static void dumpApplePropertyAttribute(raw_ostream &OS, uint64_t Val) { in dumpApplePropertyAttribute() argument 41 OS << " ("; in dumpApplePropertyAttribute() 48 OS << PropName; in dumpApplePropertyAttribute() 50 OS << format("DW_APPLE_PROPERTY_0x%" PRIx64, Bit); in dumpApplePropertyAttribute() 53 OS << ", "; in dumpApplePropertyAttribute() 55 OS << ")"; in dumpApplePropertyAttribute() 58 static void dumpRanges(const DWARFObject &Obj, raw_ostream &OS, in dumpRanges() argument [all …]
|
H A D | DWARFAbbreviationDeclaration.cpp | 1 //===- DWARFAbbreviationDeclaration.cpp -----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 25 Code = 0; in clear() 40 const uint64_t Offset = *OffsetPtr; in extract() local 42 Code = Data.getULEB128(OffsetPtr, &Err); in extract() 46 if (Code == 0) in extract() 49 CodeByteSize = *OffsetPtr - Offset; in extract() 57 "abbreviation declaration requires a non-null tag"); in extract() 86 // Attribute and form pairs must either both be non-zero, in which case in extract() [all …]
|
H A D | DWARFDebugFrame.cpp | 1 //===- DWARFDebugFrame.h - Parsing of .debug_frame ------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 31 static void printRegister(raw_ostream &OS, DIDumpOptions DumpOpts, in printRegister() argument 36 OS << RegName; in printRegister() 40 OS << "reg" << RegNum; in printRegister() 53 UnwindLocation UnwindLocation::createIsCFAPlusOffset(int32_t Offset) { in createIsCFAPlusOffset() argument 54 return {CFAPlusOffset, InvalidRegisterNumber, Offset, std::nullopt, false}; in createIsCFAPlusOffset() 57 UnwindLocation UnwindLocation::createAtCFAPlusOffset(int32_t Offset) { in createAtCFAPlusOffset() argument 58 return {CFAPlusOffset, InvalidRegisterNumber, Offset, std::nullopt, true}; in createAtCFAPlusOffset() [all …]
|
H A D | DWARFDebugRnglists.cpp | 1 //===- DWARFDebugRnglists.cpp ---------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 Offset = *OffsetPtr; in extract() 22 SectionIndex = -1ULL; in extract() 71 " at offset 0x%" PRIx64, in extract() 72 uint32_t(Encoding), Offset); in extract() 79 "read past end of table when reading %s encoding at offset 0x%" PRIx64, in extract() 80 dwarf::RLEString(Encoding).data(), Offset); in extract() 107 BaseAddr = {RLE.Value0, -1ULL}; in getAbsoluteRanges() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | DWARFEmitter.cpp | 1 //===- DWARFEmitter - Convert YAML to DWARF binary data -------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// The DWARF component of yaml2obj. Provided as library code for tests. 12 //===----------------------------------------------------------------------===// 43 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument 46 OS.write(reinterpret_cast<char *>(&Integer), sizeof(T)); in writeInteger() 50 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument 52 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 54 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | os2 | 2 #------------------------------------------------------------------------------ 4 # os2: file(1) magic for OS/2 files 10 !:mime application/x-mswinurl 15 # OS/2 URL objects 18 #0 string http: OS/2 URL object text 20 #0 string mailto: OS/2 URL object text 22 #0 string news: OS/2 URL object text 24 #0 string ftp: OS/2 URL object text 26 #0 string file: OS/2 URL object text 29 # >>>>> OS/2 INF/HLP <<<<< (source: Daniel Dissett ddissett@netcom.com) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 1 //===- BitcodeAnalyzer.cpp - Internal BitcodeAnalyzer implementation ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 38 if (!Info->Name.empty()) in GetBlockName() 39 return Info->Name.c_str(); in GetBlockName() 87 /// Return a symbolic code name if known, otherwise return null. 112 for (const std::pair<unsigned, std::string> &RN : Info->RecordNames) in GetCodeName() 120 #define STRINGIFY_CODE(PREFIX, CODE) \ in GetCodeName() argument 121 case bitc::PREFIX##_##CODE: \ in GetCodeName() 122 return #CODE; in GetCodeName() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFStreamer.cpp | 1 //===- lib/MC/ARMELFStreamer.cpp - ELF Object Output for ARM --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // delimit regions of data and code. 13 //===----------------------------------------------------------------------===// 71 formatted_raw_ostream &OS; member in __anonf150d5940111::ARMTargetAsmStreamer 81 void emitSetFP(unsigned FpReg, unsigned SpReg, int64_t Offset = 0) override; 82 void emitMovSP(unsigned Reg, int64_t Offset = 0) override; 83 void emitPad(int64_t Offset) override; 86 void emitUnwindRaw(int64_t Offset, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFrameInfo.cpp | 1 //===-- MachineFrameInfo.cpp ---------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 22 #include "llvm/Config/llvm-config.h" 59 int Index = (int)Objects.size() - NumFixedObjects - 1; in CreateStackObject() 69 int Index = (int)Objects.size() - NumFixedObjects - 1; in CreateSpillStackObject() 80 return (int)Objects.size()-NumFixedObjects-1; in CreateVariableSizedObject() 86 // The alignment of the frame index can be determined from its offset from in CreateFixedObject() 87 // the incoming frame position. If the frame object is at offset 32 and in CreateFixedObject() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_direct.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 13 * When distributing Covered Code, include this CDDL HEADER in each 33 make_abd_for_dbuf(dmu_buf_impl_t *db, abd_t *data, uint64_t offset, in make_abd_for_dbuf() argument 36 size_t buf_size = db->db.db_size; in make_abd_for_dbuf() 40 ASSERT(MUTEX_HELD(&db->db_mtx)); in make_abd_for_dbuf() 42 if (offset > db->db.db_offset) { in make_abd_for_dbuf() 43 size_t pre_size = offset - db->db.db_offset; in make_abd_for_dbuf() 45 buf_size -= pre_size; in make_abd_for_dbuf() 48 buf_off = db->db.db_offset - offset; in make_abd_for_dbuf() 49 size -= buf_off; in make_abd_for_dbuf() [all …]
|
H A D | dmu_object.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 13 * When distributing Covered Code, include this CDDL HEADER in each 42 * of lock contention from this code path. 47 dmu_object_alloc_impl(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_impl() argument 53 (DMU_META_DNODE(os)->dn_indblkshift - SPA_BLKPTRSHIFT); in dmu_object_alloc_impl() 61 cpuobj = &os->os_obj_next_percpu[CPU_SEQID_UNSTABLE % in dmu_object_alloc_impl() 62 os->os_obj_next_percpu_len]; in dmu_object_alloc_impl() 72 * The "chunk" of dnodes that is assigned to a CPU-specific in dmu_object_alloc_impl() 103 (P2PHASE(object + dn_slots - 1, dnodes_per_chunk) < in dmu_object_alloc_impl() 106 mutex_enter(&os->os_obj_lock); in dmu_object_alloc_impl() [all …]
|
H A D | dmu.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 13 * When distributing Covered Code, include this CDDL HEADER in each 175 dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_noread_by_dnode() argument 181 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread_by_dnode() 182 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread_by_dnode() 184 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread_by_dnode() 191 *dbp = &db->db; in dmu_buf_hold_noread_by_dnode() 196 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_noread() argument 204 err = dnode_hold(os, object, FTAG, &dn); in dmu_buf_hold_noread() 207 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() [all …]
|
/freebsd/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_section.h | 2 * Copyright (c) 2013-2019, Intel Corporation 7 * * Redistributions of source code must retain the above copyright notice, 39 #include "intel-pt.h" 49 /* The offset into the file. */ 50 uint64_t offset; member 57 /* A pointer to OS-specific file status for detecting changes. 61 * is owned by the OS-specific mmap-based section implementation. 65 /* A pointer to implementation-specific mapping information - NULL if 98 /* A pointer to the unmap function - NULL if the section is currently 106 /* A pointer to the read function - NULL if the section is currently [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVLocation.cpp | 1 //===-- LVLocation.cpp ----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 23 void LVOperation::print(raw_ostream &OS, bool Full) const {} in print() argument 31 auto PrintRegisterInfo = [&](LVSmall Code) { in getOperandsDWARFInfo() argument 32 //----------------------------------------------------------------------- in getOperandsDWARFInfo() 34 //----------------------------------------------------------------------- in getOperandsDWARFInfo() 35 if (dwarf::DW_OP_lit0 <= Code && Code <= dwarf::DW_OP_lit31) { in getOperandsDWARFInfo() 36 Stream << format("lit%d", Code - dwarf::DW_OP_lit0); in getOperandsDWARFInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsTargetStreamer.cpp | 1 //===-- MipsTargetStreamer.cpp - Mips Target Streamer Methods -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 35 "mips-round-section-sizes", cl::init(false), 40 return STI->hasFeature(Mips::FeatureMicroMips); in isMicroMips() 44 return STI->hasFeature(Mips::FeatureMips32r6); in isMips32r6() 140 int Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitDirectiveCpRestore() argument 277 emitRRI(Mips::DSLL32, DstReg, SrcReg, ShiftAmount - 32, IDLoc, STI); in emitDSLL() 308 void MipsTargetStreamer::emitGPRestore(int Offset, SMLoc IDLoc, in emitGPRestore() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Signals.inc | 1 //===- Win32/Signals.cpp - Win32 Signals Implementation ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 44 // with -Wall, this will generate these warnings which should be ignored. So 48 #pragma GCC diagnostic ignored "-Wformat" 49 #pragma GCC diagnostic ignored "-Wformat-extra-args" 52 // MinGW.org does not have updated support for the 64-bit versions of the 74 DWORD64 Offset; 205 // The function to call if ctrl-c is pressed. [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_os.c | 1 /*- 8 * 1. Redistributions of source code must retain the above copyright notice, 34 * Implementation of common BSD OS abstraction functions 49 ocs_config_read32(ocs_os_handle_t os, uint32_t reg) in ocs_config_read32() argument 51 return pci_read_config(os->dev, reg, 4); in ocs_config_read32() 55 ocs_config_read16(ocs_os_handle_t os, uint32_t reg) in ocs_config_read16() argument 57 return pci_read_config(os->dev, reg, 2); in ocs_config_read16() 61 ocs_config_read8(ocs_os_handle_t os, uint32_t reg) in ocs_config_read8() argument 63 return pci_read_config(os->dev, reg, 1); in ocs_config_read8() 67 ocs_config_write8(ocs_os_handle_t os, uint32_t reg, uint8_t val) in ocs_config_write8() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/ |
H A D | ARCInstPrinter.cpp | 1 //===- ARCInstPrinter.cpp - ARC MCInst to assembly syntax -------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 #define DEBUG_TYPE "asm-printer" 32 LLVM_DEBUG(dbgs() << "Unknown condition code passed: " << cc << "\n"); in BadConditionCode() 33 return "{unknown-cc}"; in BadConditionCode() 96 void ARCInstPrinter::printRegName(raw_ostream &OS, MCRegister Reg) const { in printRegName() argument 97 OS << StringRef(getRegisterName(Reg)).lower(); in printRegName() 108 raw_ostream &OS) { in printExpr() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpFrame.cpp | 1 //===--- InterpFrame.cpp - Call Frame implementation for the VM -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 27 : Caller(Caller), S(S), Depth(Caller ? Caller->Depth + 1 : 0), Func(Func), in InterpFrame() 33 unsigned FrameSize = Func->getFrameSize(); in InterpFrame() 38 for (auto &Scope : Func->scopes()) { in InterpFrame() 41 new (localBlock(Local.Offset)) Block(S.Ctx.getEvalID(), Local.Desc); in InterpFrame() 42 B->invokeCtor(); in InterpFrame() 43 new (localInlineDesc(Local.Offset)) InlineDescriptor(Local.Desc); in InterpFrame() 50 : InterpFrame(S, Func, S.Current, RetPC, Func->getArgSize() + VarArgSize) { in InterpFrame() [all …]
|