reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
19372       arg3 = (void*)bytearray.GetBytes().data();
19377       arg3 = (void*)bytes.GetBytes().data();
23084       arg2 = (void*)bytearray.GetBytes().data();
23089       arg2 = (void*)bytes.GetBytes().data();
25677       arg2 = (char*)bytearray.GetBytes().data();
25682       arg2 = (char*)bytes.GetBytes().data();
43723       arg2 = (char*)bytearray.GetBytes().data();
43728       arg2 = (char*)bytes.GetBytes().data();
45320       arg3 = (void*)bytearray.GetBytes().data();
45325       arg3 = (void*)bytes.GetBytes().data();
59177       arg3 = (void*)bytearray.GetBytes().data();
59182       arg3 = (void*)bytes.GetBytes().data();
59254       arg4 = (void*)bytearray.GetBytes().data();
59259       arg4 = (void*)bytes.GetBytes().data();
include/llvm/ADT/ArrayRef.h
  111       : Data(A.data()), Length(A.size()) {}
  180       return ArrayRef<T>(data()+N, M);
  328     T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
include/llvm/ADT/DenseMapInfo.h
  261     assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  261     assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  262     assert(Val.data() != getTombstoneKey().data() &&
  262     assert(Val.data() != getTombstoneKey().data() &&
  268     if (RHS.data() == getEmptyKey().data())
  268     if (RHS.data() == getEmptyKey().data())
  269       return LHS.data() == getEmptyKey().data();
  269       return LHS.data() == getEmptyKey().data();
  270     if (RHS.data() == getTombstoneKey().data())
  270     if (RHS.data() == getTombstoneKey().data())
  271       return LHS.data() == getTombstoneKey().data();
  271       return LHS.data() == getTombstoneKey().data();
include/llvm/BinaryFormat/MachO.def
   15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
   16 HANDLE_LOAD_COMMAND(LC_SYMTAB, 0x00000002u, symtab_command)
   18 HANDLE_LOAD_COMMAND(LC_SYMSEG, 0x00000003u, symseg_command)
   19 HANDLE_LOAD_COMMAND(LC_THREAD, 0x00000004u, thread_command)
   20 HANDLE_LOAD_COMMAND(LC_UNIXTHREAD, 0x00000005u, thread_command)
   22 HANDLE_LOAD_COMMAND(LC_LOADFVMLIB, 0x00000006u, fvmlib_command)
   24 HANDLE_LOAD_COMMAND(LC_IDFVMLIB, 0x00000007u, fvmlib_command)
   26 HANDLE_LOAD_COMMAND(LC_IDENT, 0x00000008u, ident_command)
   28 HANDLE_LOAD_COMMAND(LC_FVMFILE, 0x00000009u, fvmfile_command)
   30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
   31 HANDLE_LOAD_COMMAND(LC_DYSYMTAB, 0x0000000Bu, dysymtab_command)
   32 HANDLE_LOAD_COMMAND(LC_LOAD_DYLIB, 0x0000000Cu, dylib_command)
   33 HANDLE_LOAD_COMMAND(LC_ID_DYLIB, 0x0000000Du, dylib_command)
   34 HANDLE_LOAD_COMMAND(LC_LOAD_DYLINKER, 0x0000000Eu, dylinker_command)
   35 HANDLE_LOAD_COMMAND(LC_ID_DYLINKER, 0x0000000Fu, dylinker_command)
   37 HANDLE_LOAD_COMMAND(LC_PREBOUND_DYLIB, 0x00000010u, prebound_dylib_command)
   38 HANDLE_LOAD_COMMAND(LC_ROUTINES, 0x00000011u, routines_command)
   39 HANDLE_LOAD_COMMAND(LC_SUB_FRAMEWORK, 0x00000012u, sub_framework_command)
   40 HANDLE_LOAD_COMMAND(LC_SUB_UMBRELLA, 0x00000013u, sub_umbrella_command)
   41 HANDLE_LOAD_COMMAND(LC_SUB_CLIENT, 0x00000014u, sub_client_command)
   42 HANDLE_LOAD_COMMAND(LC_SUB_LIBRARY, 0x00000015u, sub_library_command)
   44 HANDLE_LOAD_COMMAND(LC_TWOLEVEL_HINTS, 0x00000016u, twolevel_hints_command)
   46 HANDLE_LOAD_COMMAND(LC_PREBIND_CKSUM, 0x00000017u, prebind_cksum_command)
   48 HANDLE_LOAD_COMMAND(LC_LOAD_WEAK_DYLIB, 0x80000018u, dylib_command)
   49 HANDLE_LOAD_COMMAND(LC_SEGMENT_64, 0x00000019u, segment_command_64)
   50 HANDLE_LOAD_COMMAND(LC_ROUTINES_64, 0x0000001Au, routines_command_64)
   51 HANDLE_LOAD_COMMAND(LC_UUID, 0x0000001Bu, uuid_command)
   52 HANDLE_LOAD_COMMAND(LC_RPATH, 0x8000001Cu, rpath_command)
   53 HANDLE_LOAD_COMMAND(LC_CODE_SIGNATURE, 0x0000001Du, linkedit_data_command)
   54 HANDLE_LOAD_COMMAND(LC_SEGMENT_SPLIT_INFO, 0x0000001Eu, linkedit_data_command)
   55 HANDLE_LOAD_COMMAND(LC_REEXPORT_DYLIB, 0x8000001Fu, dylib_command)
   56 HANDLE_LOAD_COMMAND(LC_LAZY_LOAD_DYLIB, 0x00000020u, dylib_command)
   57 HANDLE_LOAD_COMMAND(LC_ENCRYPTION_INFO, 0x00000021u, encryption_info_command)
   58 HANDLE_LOAD_COMMAND(LC_DYLD_INFO, 0x00000022u, dyld_info_command)
   59 HANDLE_LOAD_COMMAND(LC_DYLD_INFO_ONLY, 0x80000022u, dyld_info_command)
   60 HANDLE_LOAD_COMMAND(LC_LOAD_UPWARD_DYLIB, 0x80000023u, dylib_command)
   61 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_MACOSX, 0x00000024u, version_min_command)
   62 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_IPHONEOS, 0x00000025u, version_min_command)
   63 HANDLE_LOAD_COMMAND(LC_FUNCTION_STARTS, 0x00000026u, linkedit_data_command)
   64 HANDLE_LOAD_COMMAND(LC_DYLD_ENVIRONMENT, 0x00000027u, dylinker_command)
   65 HANDLE_LOAD_COMMAND(LC_MAIN, 0x80000028u, entry_point_command)
   66 HANDLE_LOAD_COMMAND(LC_DATA_IN_CODE, 0x00000029u, linkedit_data_command)
   67 HANDLE_LOAD_COMMAND(LC_SOURCE_VERSION, 0x0000002Au, source_version_command)
   68 HANDLE_LOAD_COMMAND(LC_DYLIB_CODE_SIGN_DRS, 0x0000002Bu, linkedit_data_command)
   69 HANDLE_LOAD_COMMAND(LC_ENCRYPTION_INFO_64, 0x0000002Cu,
   71 HANDLE_LOAD_COMMAND(LC_LINKER_OPTION, 0x0000002Du, linker_option_command)
   72 HANDLE_LOAD_COMMAND(LC_LINKER_OPTIMIZATION_HINT, 0x0000002Eu, linkedit_data_command)
   73 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_TVOS, 0x0000002Fu, version_min_command)
   74 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_WATCHOS, 0x00000030u, version_min_command)
   75 HANDLE_LOAD_COMMAND(LC_NOTE, 0x00000031u, note_command)
   76 HANDLE_LOAD_COMMAND(LC_BUILD_VERSION, 0x00000032u, build_version_command)
include/llvm/Bitstream/BitstreamReader.h
  152     return BitcodeBytes.data() + ByteNo;
  170     const uint8_t *NextCharPtr = BitcodeBytes.data() + NextChar;
include/llvm/DebugInfo/CodeView/CVRecord.h
   47         reinterpret_cast<const RecordPrefix *>(RecordData.data())->RecordKind));
   53     return StringRef(reinterpret_cast<const char *>(RecordData.data()),
   78         reinterpret_cast<const RecordPrefix *>(StreamBuffer.data());
include/llvm/DebugInfo/CodeView/TypeDeserializer.h
   57         reinterpret_cast<const RecordPrefix *>(Data.data());
include/llvm/DebugInfo/CodeView/TypeHashing.h
   83     ::memcpy(Hash.data(), H.data(), 8);
include/llvm/DebugInfo/GSYM/GsymReader.h
  146     return ArrayRef<T>(reinterpret_cast<const T *>(AddrOffsets.data()),
include/llvm/IR/Constants.h
  703     const char *Data = reinterpret_cast<const char *>(Elts.data());
 1159         Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()),
include/llvm/Object/Minidump.h
  121       return *reinterpret_cast<const minidump::MemoryInfo *>(Storage.data());
  193       return *reinterpret_cast<const T *>(Stream->data());
  210   return ArrayRef<T>(reinterpret_cast<const T *>(Slice->data()), Count);
include/llvm/Object/ObjectFile.h
  453   return StringRef(reinterpret_cast<const char *>(Res->data()), Res->size());
include/llvm/Object/StackMapParser.h
  345     return FunctionAccessor(StackMapSection.data() +
  357              FunctionAccessor(StackMapSection.data() +
  368     return ConstantAccessor(StackMapSection.data() +
  380              ConstantAccessor(StackMapSection.data() +
  392     return RecordAccessor(StackMapSection.data() + RecordOffset);
include/llvm/ProfileData/InstrProf.h
  797         const_cast<InstrProfValueSiteRecord *>(AR.data()), AR.size());
include/llvm/Support/BinaryByteStream.h
   62     const char *CharData = reinterpret_cast<const char *>(Data.data());
  120     ::memcpy(DataPtr + Offset, Buffer.data(), Buffer.size());
  189     ::memcpy(Data.data() + Offset, Buffer.data(), Buffer.size());
include/llvm/Support/BinaryStreamArray.h
  289     assert(isAddrAligned(Align::Of<T>(), Data.data()));
  290     return *reinterpret_cast<const T *>(Data.data());
include/llvm/Support/BinaryStreamReader.h
   84         Bytes.data(), Stream.getEndian());
  173     Dest = reinterpret_cast<const T *>(Buffer.data());
  201     assert(isAddrAligned(Align::Of<T>(), Bytes.data()) &&
  204     Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
include/llvm/Support/BinaryStreamWriter.h
  159         ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
include/llvm/Support/DataExtractor.h
   87       : Data(StringRef(reinterpret_cast<const char *>(Data.data()),
include/llvm/Support/ScopedPrinter.h
  282     auto V = makeArrayRef(reinterpret_cast<const uint8_t *>(Value.data()),
  292     auto V = makeArrayRef(reinterpret_cast<const uint8_t *>(Value.data()),
lib/Analysis/ConstantFolding.cpp
  871                 makeArrayRef((Value * const *)Ops.data() + 1, Ops.size() - 1)));
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  463   const unsigned char *BufPtr = (const unsigned char *)Bytes.data();
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 2145   DWARFDataExtractor Data(StringRef(DebugLocs.getBytes(Entry).data(),
lib/CodeGen/RegUsageInfoPropagate.cpp
   72         MO.setRegMask(RegMask.data());
lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
   81   memcpy(Stable, Record.data(), Record.size());
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  244     memcpy(Guid.Guid, GuidBytes.data(), GuidSize);
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
   73     ::memcpy(Copy, Bytes.data(), Bytes.size());
lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
   93                           ::memcpy(Data.data(), Record.data(), Record.size());
lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
   86   memcpy(Stable, Data.data(), Data.size());
lib/DebugInfo/CodeView/RecordSerialization.cpp
   28   return StringRef(reinterpret_cast<const char *>(LeafData.data()),
lib/DebugInfo/CodeView/TypeHashing.cpp
   54         reinterpret_cast<const TypeIndex *>(RefData.data()), Ref.Count);
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
   40   uint16_t N = support::endian::read16le(Data.data());
   64   const char *S = reinterpret_cast<const char *>(Data.data());
   84     uint16_t Attrs = support::endian::read16le(Content.data());
  147   uint16_t Attrs = support::endian::read16le(Data.drop_front(2).data());
  214         static_cast<TypeLeafKind>(support::endian::read16le(Content.data()));
  268   uint32_t Attrs = support::endian::read32le(Content.drop_front(4).data());
  291     Count = support::endian::read32le(Content.data());
  296     Count = support::endian::read16le(Content.data());
  319     Count = support::endian::read32le(Content.data());
  413     Count = *reinterpret_cast<const ulittle32_t *>(Content.data());
  495       reinterpret_cast<const RecordPrefix *>(RecordData.data());
  509       reinterpret_cast<const RecordPrefix *>(RecordData.data());
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  408   ::memcpy(Storage.data(), OriginalType.RecordData.data(),
lib/DebugInfo/DWARF/DWARFContext.cpp
 1042               decodeSLEB128(Location->data() + 1, nullptr, Location->end());
lib/DebugInfo/DWARF/DWARFDie.cpp
   87     DataExtractor Data(StringRef((const char *)Expr.data(), Expr.size()),
lib/DebugInfo/DWARF/DWARFFormValue.cpp
   96   V.data = D.data();
lib/DebugInfo/GSYM/FileWriter.cpp
   60   OS.write(reinterpret_cast<const char *>(Data.data()), Data.size());
lib/DebugInfo/MSF/MappedBlockStream.cpp
  192   Buffer = ArrayRef<uint8_t>(BlockData.data(), ByteSpan);
  235   Buffer = ArrayRef<uint8_t>(BlockData.data(), Size);
  259     const uint8_t *ChunkStart = BlockData.data() + OffsetInBlock;
  305       ::memcpy(Alloc.data() + DestOffset, Data.data() + SrcOffset, Length);
  403     const uint8_t *Chunk = Buffer.data() + BytesWritten;
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  271     ptrdiff_t Idx = std::distance(Records.data(), Sym.first);
lib/DebugInfo/PDB/Native/Hash.cpp
   62       reinterpret_cast<const ulittle32_t *>(Buffer.data()),
lib/DebugInfo/Symbolize/Symbolize.cpp
  284   return !memcmp(dbg_uuid.data(), bin_uuid.data(), dbg_uuid.size());
  284   return !memcmp(dbg_uuid.data(), bin_uuid.data(), dbg_uuid.size());
lib/IR/ConstantFold.cpp
 2171       PointeeTy, C, makeArrayRef((Value *const *)Idxs.data(), Idxs.size()));
lib/IR/Constants.cpp
 2563   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2569   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2575   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2597   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2602   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2607   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2612   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2617   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2622   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2634   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2640   const char *Data = reinterpret_cast<const char *>(Elts.data());
 2646   const char *Data = reinterpret_cast<const char *>(Elts.data());
lib/IR/Core.cpp
 2975     return EV->getIndices().data();
 2977     return IV->getIndices().data();
 2979     return CE->getIndices().data();
lib/IR/Function.cpp
  555   int Adjust = NameTable.data() - IntrinsicNameTable;
lib/IR/Type.cpp
  387   ContainedTys = Elements.copy(getContext().pImpl->Alloc).data();
lib/Object/COFFObjectFile.cpp
  515   PDBInfo = reinterpret_cast<const codeview::DebugInfo *>(InfoBytes.data());
  517   PDBFileName = StringRef(reinterpret_cast<const char *>(InfoBytes.data()),
 1743   ptrdiff_t TableOffset = TablePtr - BBS.data().data();
 1788   ptrdiff_t EntryOffset = EntryPtr - BBS.data().data();
 1840     return StringRef(reinterpret_cast<const char *>(Contents.data()) + Offset,
lib/Object/ELF.cpp
  537     if (!Dyn.data())
lib/Object/IRObjectFile.cpp
   56   Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data());
   62   Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data() +
lib/Object/MachOObjectFile.cpp
 1906   return parseSegmentOrSectionName(Raw.data());
 3425   assert(Opcodes.data() == Other.Opcodes.data() && "compare iterators of different files");
 3425   assert(Opcodes.data() == Other.Opcodes.data() && "compare iterators of different files");
 3988   assert(Opcodes.data() == Other.Opcodes.data() && "compare iterators of different files");
 3988   assert(Opcodes.data() == Other.Opcodes.data() && "compare iterators of different files");
 4150   return parseSegmentOrSectionName(Raw.data());
lib/Object/WasmObjectFile.cpp
  289   Ctx.Start = Sec.Content.data();
lib/ObjectYAML/ELFEmitter.cpp
  199   OS.write((const char *)A.data(), arrayDataSize(A));
lib/ObjectYAML/MinidumpEmitter.cpp
   53     return allocateBytes({reinterpret_cast<const uint8_t *>(Data.data()),
lib/ObjectYAML/YAML.cpp
   42     OS.write((const char *)Data.data(), Data.size());
   57     OS.write((const char *)Data.data(), Data.size());
lib/Support/APInt.cpp
   93   assert(bigVal.data() && "Null pointer detected!");
  102     memcpy(U.pVal, bigVal.data(), words * APINT_WORD_SIZE);
lib/Support/ARMAttributeParser.cpp
  704       support::endian::read32le(Section.data() + Offset) :
  705       support::endian::read32be(Section.data() + Offset);
  718     ParseSubsection(Section.data() + Offset, SectionLength);
lib/Support/CommandLine.cpp
 1063     Str = StringRef(BufRef.data() + 3, BufRef.size() - 3);
lib/Support/ConvertUTFWrapper.cpp
  138       llvm::ArrayRef<char>(reinterpret_cast<const char *>(Src.data()),
lib/Support/MD5.cpp
   85   ptr = Data.data();
  192   const uint8_t *Ptr = Data.data();
lib/Support/NativeFormatting.cpp
   38   S.write(ThisGroup.data(), ThisGroup.size());
   45     S.write(ThisGroup.data(), 3);
lib/Support/xxhash.cpp
  137   return xxHash64({(const char *)Data.data(), Data.size()});
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
  336       uint32_t Insn = support::endian::read32le(PltContents.data() + Byte);
  341          Insn = support::endian::read32le(PltContents.data() + Byte + Off);
  350           support::endian::read32le(PltContents.data() + Byte + Off);
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  236   const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data());
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  298   uint32_t Instruction = support::endian::read32le(Bytes.data());
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  333     Order.assign(Ord.data(), Ord.data()+Ord.size());
  333     Order.assign(Ord.data(), Ord.data()+Ord.size());
 1078         memcpy(NewMask.data(), SM.Mask.data(), sizeof(int)*VecLen);
lib/Target/Hexagon/HexagonISelLowering.cpp
 1935   unsigned F = llvm::find_if(AM, [](int M) { return M >= 0; }) - AM.data();
lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp
  238   uint64_t Insn = support::endian::read16le(Bytes.data());
  256     Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16;
  270     Insn |= (uint64_t)support::endian::read16le(Bytes.data() + Words * 2)
  294   uint64_t Insn = support::endian::read16le(Bytes.data());
  311     Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16;
  350   uint64_t Insn = support::endian::read16le(Bytes.data());
  377   uint64_t Insn = support::endian::read16le(Bytes.data());
lib/Target/Mips/MipsISelLowering.cpp
 4385         ABI.IsO32() ? IntArgRegs.data() : Mips64DPRegs;
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  336   uint32_t Inst = IsLittleEndian ? support::endian::read32le(Bytes.data())
  337                                  : support::endian::read32be(Bytes.data());
lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
  331     Insn = support::endian::read32le(Bytes.data());
  340     Insn = support::endian::read16le(Bytes.data());
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
   89   Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N,
   90                                Bytes.data() + Bytes.size(), &Error)
   91                : static_cast<int64_t>(decodeULEB128(Bytes.data() + Size, &N,
   92                                                     Bytes.data() + Bytes.size(),
  114       Bytes.data() + Size);
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  477       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
  484       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
  502       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
tools/clang/include/clang/AST/DeclBase.h
 1240   pointer data() const { return Single ? &Single : Result.data(); }
tools/clang/include/clang/AST/DeclTemplate.h
  257       : Arguments(Args.data()), NumArguments(Args.size()) {}
tools/clang/include/clang/AST/TemplateBase.h
  220     this->Args.Args = Args.data();
tools/clang/include/clang/AST/Type.h
 5506       memcpy(getProtocolStorage(), protocols.data(),
tools/clang/include/clang/Lex/Preprocessor.h
 1323     EnterTokenStream(Toks.data(), Toks.size(), DisableMacroExpansion, false,
tools/clang/lib/AST/APValue.cpp
  794   memcpy(LVal.getPath(), Path.data(), Path.size() * sizeof(LValuePathEntry));
  840   memcpy(MPD->getPath(), Path.data(), Path.size()*sizeof(const CXXRecordDecl*));
tools/clang/lib/AST/ASTImporter.cpp
  697   if (Error Err = ImportTemplateArguments(TemplArgs.data(), TemplArgs.size(),
 7044         E->getPartialArguments().data(),
tools/clang/lib/AST/Decl.cpp
 4488   this->Captures = Captures.copy(Context).data();
tools/clang/lib/AST/Expr.cpp
 4127   memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size());
tools/clang/lib/AST/ExprCXX.cpp
 1646       FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data());
tools/clang/lib/AST/ExprConstant.cpp
 9233       Result = APValue(V.data(), V.size());
tools/clang/lib/AST/ItaniumMangle.cpp
 4187                        CSE->getTemplateArguments().data(),
tools/clang/lib/AST/StmtCXX.cpp
  126             const_cast<Stmt **>(getParamMoves().data()));
tools/clang/lib/AST/Type.cpp
  681     memcpy(getTypeArgStorage(), typeArgs.data(),
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2346       const unsigned char *s = buffer.data();
tools/clang/lib/Sema/DelayedDiagnostic.cpp
   50   memcpy(DD.AvailabilityData.SelectorLocs, Locs.data(),
tools/clang/lib/Sema/SemaCodeComplete.cpp
 5036   if (Args.size() && !Args.data())
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4952       memcpy(baseOrMemberInitializers, Initializers.data(),
tools/clang/lib/Sema/SemaDeclObjC.cpp
  776       reinterpret_cast<ObjCTypeParamDecl * const *>(typeParamsIn.data()),
tools/clang/lib/Sema/SemaOpenMP.cpp
 4947       Context, BS, SL.get(), const_cast<Expr **>(Uniforms.data()),
 4948       Uniforms.size(), const_cast<Expr **>(Aligneds.data()), Aligneds.size(),
 4950       const_cast<Expr **>(Linears.data()), Linears.size(),
 4951       const_cast<unsigned *>(LinModifiers.data()), LinModifiers.size(),
tools/clang/lib/Sema/SemaTemplate.cpp
 1341       llvm::makeArrayRef(Params.data(), Params.size()),
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  241     Inst.TemplateArgs = TemplateArgs.data();
 2932   return Instantiator.TransformExprs(Exprs.data(), Exprs.size(),
tools/clang/lib/Sema/SemaType.cpp
 1106                         (ObjCProtocolDecl * const *)protocols.data(),
 1175       llvm::makeArrayRef((ObjCProtocolDecl * const *)Protocols.data(),
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  464     auto Range = std::equal_range(Idx.data(), Idx.data() + Idx.size(), Key,
  464     auto Range = std::equal_range(Idx.data(), Idx.data() + Idx.size(), Key,
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   92     bool Ok = llvm::cl::ParseCommandLineOptions(Argv.size(), Argv.data(),
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  676       Buffer.expansionStartingAt(Foo1.data()),
  682       Buffer.expansionStartingAt(Foo2.data()),
tools/dsymutil/DwarfLinker.cpp
 1198     DataExtractor Data(StringRef((const char *)Bytes.data(), Bytes.size()),
tools/lld/COFF/Chunks.cpp
  356     memcpy(buf, a.data(), a.size());
  611   uint32_t magic = support::endian::read32le(data.data());
tools/lld/COFF/Chunks.h
  259     relocsData = newRelocs.data();
tools/lld/COFF/DriverUtils.cpp
  818   SmallVector<const char *, 256> expandedArgv(argv.data(),
  819                                               argv.data() + argv.size());
tools/lld/COFF/InputFiles.cpp
  245     directives = StringRef((const char *)data.data(), data.size());
tools/lld/COFF/PDB.cpp
  294       reinterpret_cast<const object::debug_h_header *>(debugH.data());
  319   return {reinterpret_cast<const GloballyHashedType *>(debugH.data()), count};
  648       reinterpret_cast<const RecordPrefix *>(recordData.data());
  709   memcpy(newData.data(), sym.data().data(), sym.length());
  735       reinterpret_cast<const ScopeRecord *>(sym.content().data()));
  877               const_cast<uint8_t *>(sym.data().data()), sym.length());
  922           if (sym.data().data() == bulkSymbols.end()) {
  923             bulkSymbols = makeArrayRef(bulkSymbols.data(),
 1676       (const object::coff_section *)sectionTable.data(),
 1759         size_t offsetInDbgC = bytes.data() - dbgC->getContents().data();
 1759         size_t offsetInDbgC = bytes.data() - dbgC->getContents().data();
tools/lld/COFF/Writer.cpp
  472     if (originalRelocs.data() == curRelocs.data()) {
  472     if (originalRelocs.data() == curRelocs.data()) {
  478           const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size());
 1645         reinterpret_cast<const ulittle32_t *>(data.data()), data.size() / 4);
tools/lld/ELF/Driver.cpp
 1525   StringRef partName = reinterpret_cast<const char *>(s->data().data());
tools/lld/ELF/DriverUtils.cpp
  118   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
  118   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
tools/lld/ELF/EhFrame.cpp
   45           isec->getObjMsg((const uint8_t *)loc - isec->data().data()));
   67     failOn(d.data(), "CIE/FDE too small");
   72   uint64_t v = read32(d.data());
   74     failOn(d.data(), "CIE/FDE too large");
   77     failOn(d.data(), "CIE/FDE ends past the end of the section");
   84     failOn(d.data(), "unexpected end of CIE");
   92     failOn(d.data(), "CIE is too small");
  100     failOn(d.data(), "corrupted CIE (failed to read string)");
  111   const uint8_t *errPos = d.data();
  142     failOn(d.data() - 1, "DW_EH_PE_aligned encoding is not supported");
  145     failOn(d.data() - 1, "unknown FDE encoding");
  147     failOn(d.data() - 1, "corrupted CIE");
  159     failOn(d.data() - 1,
tools/lld/ELF/InputFiles.cpp
  360   elfSyms = reinterpret_cast<const void *>(eSyms.data());
  719     auto *nhdr = reinterpret_cast<const Elf_Nhdr *>(data.data());
  739       uint32_t type = read32le(desc.data());
  740       uint32_t size = read32le(desc.data() + 4);
  746         featuresSet |= read32le(desc.data() + 8);
tools/lld/ELF/InputSection.cpp
  228     uncompressedSize = read64be(rawData.data());
  247     auto *hdr = reinterpret_cast<const Chdr64 *>(rawData.data());
  265   auto *hdr = reinterpret_cast<const Chdr32 *>(rawData.data());
 1135   memcpy(buf + outSecOff, data().data(), data().size());
tools/lld/ELF/InputSection.h
  200     return llvm::makeArrayRef<T>((const T *)data().data(), s / sizeof(T));
  281     return {sec->data().data() + this->inputOff, size};
tools/lld/ELF/MarkLive.cpp
  144     if (endian::read32<ELFT::TargetEndianness>(piece.data().data() + 4) == 0) {
tools/lld/ELF/Relocations.cpp
  610   const uint8_t *buf = sec.data().data();
  638     const uint8_t *buf = sec.data().data();
tools/lld/ELF/SyntheticSections.cpp
  122     auto *s = reinterpret_cast<const Elf_Mips_ABIFlags *>(sec->data().data());
  193       auto *opt = reinterpret_cast<const Elf_Mips_Options *>(d.data());
  246     auto *r = reinterpret_cast<const Elf_Mips_RegInfo *>(sec->data().data());
  336   memcpy(hashBuf, buf.data(), hashSize);
  410     uint32_t id = read32(piece.data().data() + 4);
  449   memcpy(buf, d.data(), d.size());
 3323       memcpy(buf + offset, d->data().data(), d->data().size());
tools/lld/MinGW/Driver.cpp
  101   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
  101   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
tools/lld/lib/Core/SymbolTable.cpp
  241   return memcmp(lc.data(), rc.data(), lc.size()) == 0;
  241   return memcmp(lc.data(), rc.data(), lc.size()) == 0;
tools/lld/lib/ReaderWriter/MachO/ArchHandler.cpp
  146   uint32_t size = read32(atom->rawContent().data(), isBig);
  152   return read32(atom->rawContent().data() + idOffset, isBig) == 0;
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  423         read32(atom->rawContent().data() + 2 * sizeof(uint32_t), _isBig);
  425         read32(atom->rawContent().data() + 3 * sizeof(uint32_t), _isBig);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  828   StringRef SecData(reinterpret_cast<const char*>(S.content.data()),
 1078   const uint8_t *frameData = atom->rawContent().data();
 1250   const uint8_t *startFrameData = atom->rawContent().data();
 1375   uint32_t version = read32(content.data(), isBig);
 1382   uint32_t flags = read32(content.data() + 4, isBig);
tools/lld/wasm/Driver.cpp
  159   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
  159   SmallVector<const char *, 256> vec(argv.data(), argv.data() + argv.size());
tools/lld/wasm/InputChunks.cpp
   52     const uint8_t *loc = data().data() + offset;
   93   memcpy(buf + outputOffset, data().data(), data().size());
  233   const uint8_t *secStart = file->codeSection->Content.data();
  270   const uint8_t *secStart = file->codeSection->Content.data();
tools/lldb/source/API/SBModule.cpp
  164     uuid_bytes = module_sp->GetUUID().GetBytes().data();
tools/lldb/source/API/SBModuleSpec.cpp
  130   return m_opaque_up->GetUUID().GetBytes().data();
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  473   error = WriteMemory(addr, expected_trap->data(), expected_trap->size(),
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 3239   payload.PutBytesAsRawHex8(data.data(), data.size(),
 3253   payload.PutBytesAsRawHex8(data.data(), data.size(),
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  110          data.data(), std::min(data.size(), reg_byte_size));
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.cpp
   41       llvm::StringRef(reinterpret_cast<const char *>(data.data()), data.size());
   75           reinterpret_cast<const MinidumpMemoryDescriptor64 *>(data.data()),
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.h
   73   Object = reinterpret_cast<const T *>(Buffer.data());
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  321   std::memcpy(buf, mem.data(), mem.size());
  789         s.Printf("%s:\n%s\n\n", label.data(), bytes.data());
  799         DataExtractor data(bytes.data(), bytes.size(), eByteOrderLittle,
  833         DataExtractor data(bytes.data(), bytes.size(), eByteOrderLittle,
tools/lldb/source/Plugins/Process/minidump/ThreadMinidump.cpp
   92       DataExtractor data(m_gpregset_data.data(), m_gpregset_data.size(),
   99       DataExtractor data(m_gpregset_data.data(), m_gpregset_data.size(),
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
  263   const char *data = reinterpret_cast<const char *>(bytes.data());
  277     : PythonByteArray(bytes.data(), bytes.size()) {}
  309   const char *str = reinterpret_cast<const char *>(bytes.data());
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  467       row.GetCFAValue().SetIsDWARFExpression(saved.data(), saved.size());
  470       loc.SetIsDWARFExpression(saved.data(), saved.size());
  598     row_sp->GetCFAValue().SetIsDWARFExpression(saved.data(), saved.size());
  622     loc.SetIsDWARFExpression(saved.data(), saved.size());
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
  248   buffer->CopyData(bytes.data(), size);
tools/lldb/source/Symbol/UnwindPlan.cpp
   82     DataExtractor extractor(expr.data(), expr.size(), order_and_width->first,
tools/lldb/source/Target/Process.cpp
 2293     WriteMemory(Entry.Dest, Entry.Contents.data(), Entry.Contents.size(),
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
   28   DataExtractor extractor(expr.data(), expr.size(), lldb::eByteOrderLittle,
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
  239   EXPECT_EQ(0, ::memcmp(bytes.data(), test_bytes, bytes.size()));
tools/llvm-objcopy/COFF/Reader.cpp
  117       Sym.AuxFile = StringRef(reinterpret_cast<const char *>(AuxData.data()),
tools/llvm-objcopy/COFF/Writer.cpp
  240     memcpy(Ptr, Obj.DosStub.data(), Obj.DosStub.size());
tools/llvm-objcopy/ELF/Object.cpp
  404          std::equal(ZlibGnuMagic.begin(), ZlibGnuMagic.end(), Data.data());
  413           ? support::endian::read64be(Data.data() + ZlibGnuMagic.size())
  414           : reinterpret_cast<const Elf_Chdr_Impl<ELFT> *>(Data.data())->ch_size;
  417                  : reinterpret_cast<const Elf_Chdr_Impl<ELFT> *>(Data.data())
  430       reinterpret_cast<const char *>(Sec.OriginalData.data()) + DataOffset,
  508           StringRef(reinterpret_cast<const char *>(OriginalData.data()),
 1346       reinterpret_cast<const ELF::Elf32_Word *>(GroupSec->Contents.data());
 1373       if (ShndxData.data() == nullptr) {
 1791     std::memcpy(B, Seg.getContents().data(), Seg.FileSize);
tools/llvm-objcopy/MachO/MachOReader.cpp
   94           StringRef(reinterpret_cast<const char *>(E->data()), E->size());
tools/llvm-objcopy/MachO/MachOWriter.cpp
  196       memcpy(Begin, LC.Payload.data(), LC.Payload.size());
  313   memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size());
  325   memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size());
  337   memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size());
  349   memcpy(Out, O.LazyBinds.Opcodes.data(), O.LazyBinds.Opcodes.size());
  361   memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size());
  388   memcpy(Out, O.DataInCode.Data.data(), O.DataInCode.Data.size());
  400   memcpy(Out, O.FunctionStarts.Data.data(), O.FunctionStarts.Data.size());
tools/llvm-objdump/COFFDump.cpp
  469     RFStart = reinterpret_cast<const RuntimeFunction *>(Contents.data());
  594   auto *UI = reinterpret_cast<const Win64EH::UnwindInfo *>(XContents.data() +
tools/llvm-objdump/ELFDump.cpp
  256   const uint8_t *Buf = Contents.data();
  282   const uint8_t *Buf = Contents.data();
tools/llvm-objdump/MachODump.cpp
 7616         if (DumpAndSkipDataInCode(PC, Bytes.data() + Index, Dices, Size))
 7631             dumpBytes(makeArrayRef(Bytes.data() + Index, Size), outs());
 7655                              *(Bytes.data() + Index) & 0xff);
 7659             uint32_t opcode = (*(Bytes.data() + Index) & 0xff) |
 7660                               (*(Bytes.data() + Index + 1) & 0xff) << 8 |
 7661                               (*(Bytes.data() + Index + 2) & 0xff) << 16 |
 7662                               (*(Bytes.data() + Index + 3) & 0xff) << 24;
 7667             uint32_t opcode = (*(Bytes.data() + Index) & 0xff) |
 7668                               (*(Bytes.data() + Index + 1) & 0xff) << 8;
 7693         if (DumpAndSkipDataInCode(PC, Bytes.data() + Index, Dices, InstSize))
 7712             dumpBytes(makeArrayRef(Bytes.data() + Index, InstSize), outs());
 7721                              *(Bytes.data() + Index) & 0xff);
tools/llvm-objdump/llvm-objdump.cpp
  823                      support::endian::read32<support::little>(Bytes.data()));
  838                reinterpret_cast<const support::little32_t *>(Bytes.data()),
 1059                     support::endian::read32(Bytes.data() + Index, Endian), 10);
 1065                     support::endian::read16(Bytes.data() + Index, Endian), 6);
tools/llvm-pdbutil/TypeReferenceTracker.cpp
  115         reinterpret_cast<const TypeIndex *>(ByteSlice.data()),
tools/llvm-readobj/ARMEHABIPrinter.h
  464     *reinterpret_cast<const support::ulittle32_t *>(Contents->data() + TableEntryOffset);
  474       PrintOpcodes(Contents->data() + TableEntryOffset, 3, 1);
  479       PrintOpcodes(Contents->data() + TableEntryOffset, 2 + 4 * AdditionalWords,
  518     reinterpret_cast<const support::ulittle32_t *>(Contents->data());
  551       PrintOpcodes(Contents->data() + Entry * IndexTableEntrySize + 4, 3, 1);
tools/llvm-readobj/ARMWinEHPrinter.cpp
  790                                  Opcodes.data()[OI]);
  803             (this->*DecodeRing[DI].Routine)(Opcodes.data(), OI, 0, Prologue);
  820     reinterpret_cast<const ulittle32_t *>(Contents.data() + Offset);
 1067     reinterpret_cast<const ulittle32_t *>(Contents.data() + Offset);
tools/llvm-readobj/COFFDumper.cpp
  208     return Data.data() - SectionContents.bytes_begin();
  218     StringRef SBlock(reinterpret_cast<const char *>(Block.data()),
  580   Aux = reinterpret_cast<const T*>(AuxData.data());
tools/llvm-readobj/DwarfCFIEHPrinter.h
  191       StringRef(reinterpret_cast<const char *>(Contents.data()),
tools/llvm-readobj/ELFDumper.cpp
 2354     GotEntries = Entries(reinterpret_cast<const Entry *>(Content.data()),
 2412     GotEntries = Entries(reinterpret_cast<const Entry *>(Content.data()),
 2436     PltEntries = Entries(reinterpret_cast<const Entry *>(PltContent.data()),
 2494   int64_t Offset = std::distance(GotEntries.data(), E) * sizeof(Entry);
 2500   int64_t Offset = std::distance(GotEntries.data(), E) * sizeof(Entry);
 2507   int64_t Offset = std::distance(GotEntries.data(), E);
 2533   int64_t Offset = std::distance(PltEntries.data(), E) * sizeof(Entry);
 2540   int64_t Offset = std::distance(getPltEntries().data(), E);
 2651   auto *Reginfo = reinterpret_cast<const Elf_Mips_RegInfo<ELFT> *>(Sec.data());
 2673     auto *O = reinterpret_cast<const Elf_Mips_Options<ELFT> *>(Sec.data());
 3872       unwrapOrError(this->FileName, Obj->getSectionContents(Sec)).data();
 3919   const uint8_t *VerneedBuf = SecData.data();
 4271                     (uint64_t)(*(const typename ELFT::Addr *)Data.data()));
 4289     PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data());
 4312     PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data());
 4353     PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data());
 4380     uint32_t Type = *reinterpret_cast<const Elf_Word *>(Arr.data());
 4381     uint32_t DataSize = *reinterpret_cast<const Elf_Word *>(Arr.data() + 4);
 4441   return StringRef(reinterpret_cast<const char *>(Desc.data()), Desc.size());
 4487         std::string(reinterpret_cast<const char *>(Desc.data()), Desc.size())};
 4491         std::string(reinterpret_cast<const char *>(Desc.data()), Desc.size())};
 4507         StringRef(reinterpret_cast<const char *>(Desc.data()), Desc.size());
 5120   auto *Flags = reinterpret_cast<const Elf_Mips_ABIFlags<ELFT> *>(Sec.data());
 5424           StringRef(reinterpret_cast<const char *>(Data.data()), Data.size()));
 6100   auto *Flags = reinterpret_cast<const Elf_Mips_ABIFlags<ELFT> *>(Sec.data());
tools/llvm-readobj/Win64EHDumper.cpp
  302   const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset);
  326       reinterpret_cast<const RuntimeFunction *>(Contents.data());
tools/lto/lto.cpp
  659   return symbols.data();
tools/obj2yaml/coff2yaml.cpp
  301                 AuxData.data());
  310                 AuxData.data());
  319                 AuxData.data());
  323         Sym.File = StringRef(reinterpret_cast<const char *>(AuxData.data()),
  334                 AuxData.data());
  343                 AuxData.data());
tools/obj2yaml/elf2yaml.cpp
  134     unsigned Index = Sym - SymTable.data();
  707     const Elf_Nhdr *Header = reinterpret_cast<const Elf_Nhdr *>(Content.data());
  790   const uint8_t *Buf = Data.data();
  858   const uint8_t *Buf = Data.data();
  955       ContentOrErr.get().data());
unittests/ADT/ArrayRefTest.cpp
   60   EXPECT_NE(Array1.data(), Array1c.data());
   60   EXPECT_NE(Array1.data(), Array1c.data());
   62   EXPECT_NE(Array2.data(), Array2c.data());
   62   EXPECT_NE(Array2.data(), Array2c.data());
   75   EXPECT_NE(makeArrayRef(Array3Src).data(), Array3Copy.data());
   75   EXPECT_NE(makeArrayRef(Array3Src).data(), Array3Copy.data());
  140   ArrayRef<int> AR2(AR1.data(), 2);
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
   98           reinterpret_cast<const TypeIndex *>(Loc.data()), Ref.Count);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
  256   EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0);
  264   EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0);
  272   EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0);
  280   EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0);
  290     EXPECT_TRUE(memcmp(ExtractedBlockData.data(), Data16, 16) == 0);
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
   60     ::memcpy(&Data[Offset], SrcData.data(), SrcData.size());
unittests/Support/BinaryStreamTest.cpp
   74       ::memcpy(Ref.data(), SrcData.data(), SrcData.size());
   79     ::memcpy(Ref.data(), SrcData.data(), Ref.size());
   80     ::memcpy(&Data[0], SrcData.data() + Ref.size(), BytesLeft);
  140         ::memcpy(&BrokenInputData[PartitionIndex], Input.data(), RightBytes);
  142         ::memcpy(&BrokenInputData[0], Input.data() + RightBytes, LeftBytes);
  482           StringRef(reinterpret_cast<const char *>(Bytes.data()), Bytes.size());