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

References

include/llvm/DebugInfo/CodeView/CVRecord.h
   84     ArrayRef<uint8_t> Data = StreamBuffer.take_front(RealLen);
include/llvm/DebugInfo/CodeView/SymbolRecord.h
  322     Result.Bytes = Data.take_front(Data.size() - Next.size());
include/llvm/Support/BinaryItemStream.h
   51     Buffer = Traits::bytes(Item).take_front(Size);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1258     auto Merge = MIRBuilder.buildMerge(WideTy, Slicer.take_front(PartsPerGCD));
lib/CodeGen/VirtRegMap.cpp
  436         if (!anyRegsAlias(MIs[I], makeArrayRef(MIs).take_front(E), TRI)) {
lib/DebugInfo/CodeView/TypeHashing.cpp
   41   S.update(RecordData.take_front(sizeof(RecordPrefix)));
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
   28     Data = Data.take_front(DataLength - Offset);
lib/IR/Attributes.cpp
 1073     ArgAttrs = ArgAttrs.take_front(NumSets - 2);
lib/Support/NativeFormatting.cpp
   37   ThisGroup = Buffer.take_front(InitialDigits);
   44     ThisGroup = Buffer.take_front(3);
lib/Support/raw_ostream.cpp
  437     auto Line = Bytes.take_front(FB.NumPerLine);
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  536                                          Regs.take_front(PartsPerElt));
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  777     return ShuffleMask(Mask.take_front(H));
 1214   OpRef L = vmuxs(Bytes.take_front(S), OpRef::lo(Va), OpRef::lo(Vb), Results);
lib/Target/Hexagon/HexagonISelLowering.cpp
 2259                 : buildVector32(Elem.take_front(Num/2), dl, HalfTy, DAG);
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
 1035     SDValue V0 = buildHvxVectorReg(A.take_front(Size/2), dl, SingleTy, DAG);
 1106                              Ops.take_front(NumOp/2));
tools/clang/lib/CodeGen/CGExprConstant.cpp
  943           makeArrayRef(Elements).take_front(NonzeroLength));
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 5445           for (TemplateArgument Arg : TemplateArgs.getInnermost().take_front(
tools/clang/tools/libclang/CIndex.cpp
 7953                            .take_front(availability_size))) {
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  721                           SameRange(findExpanded("int a").take_front(0)))));
  730                           SameRange(findExpanded("int b").take_front(0)))));
tools/lld/ELF/Writer.cpp
 2669     ret.push_back(arr.take_front(chunkSize));
tools/lldb/source/Interpreter/OptionGroupFormat.cpp
   50       return result.take_front(3);
   52   return result.take_front(2);
tools/lldb/source/Interpreter/OptionValueBoolean.cpp
   83     entries = entries.take_front(2);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  453             mod_bytes.take_front(dmp_bytes.size()) == dmp_bytes;
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
  247               .take_front(size);
tools/llvm-objcopy/ELF/Object.cpp
  330     writeData(0, SegOffset, Data.take_front(DataSize));
tools/llvm-pdbutil/FormatUtil.cpp
   79     ThisGroup = Opts.take_front(GroupSize);
tools/llvm-pdbutil/TypeReferenceTracker.cpp
  113         RecData.drop_front(Ref.Offset).take_front(4 * Ref.Count);
tools/llvm-readobj/ELFDumper.cpp
 4394         getGNUProperty<ELFT>(Type, DataSize, Arr.take_front(PaddedSize)));
unittests/ADT/ArrayRefTest.cpp
  141   EXPECT_TRUE(AR1.take_front(2).equals(AR2));
  147   ArrayRef<int> Expected = AR1.take_front(3);
  158   ArrayRef<int> Expected = AR1.take_front(3);
unittests/Support/BinaryStreamTest.cpp
  343   EXPECT_EQ(RefData.take_front(2), Result);
  400   auto Test = makeArrayRef(InputData).take_front(4);
unittests/Support/raw_ostream_test.cpp
  224   EXPECT_EQ("61", formatted_bytes_str(B.take_front()));
  225   EXPECT_EQ("61626364 65", formatted_bytes_str(B.take_front(5)));
  228             formatted_bytes_str(B.take_front(16)));
  231             formatted_bytes_str(B.take_front(17)));
  234             formatted_bytes_str(B.take_front(6), None, 1));
  237             formatted_bytes_str(B.take_front(17), None, 7));
  240             formatted_bytes_str(B.take_front(17), None, 8));
  245             formatted_bytes_str(B.take_front(5), None, 16, 1));
  248             formatted_bytes_str(B.take_front(16), None, 16, 1));
  251             formatted_bytes_str(B.take_front(17), None, 16, 1));
  254             formatted_bytes_str(B.take_front(17), None, 7, 1));
  257             formatted_bytes_str(B.take_front(17), None, 8, 1));
  262   EXPECT_EQ("6162 6364 65", formatted_bytes_str(B.take_front(5), None, 16, 2));
  265             formatted_bytes_str(B.take_front(16), None, 16, 2));
  268             formatted_bytes_str(B.take_front(17), None, 16, 2));
  271             formatted_bytes_str(B.take_front(17), None, 7, 2));
  274             formatted_bytes_str(B.take_front(17), None, 8, 2));
  279   EXPECT_EQ("0000: 61", formatted_bytes_str(B.take_front(), 0x0));
  280   EXPECT_EQ("1000: 61", formatted_bytes_str(B.take_front(), 0x1000));
  282             formatted_bytes_str(B.take_front(2), 0x1000, 1));
  287             format_bytes_with_ascii_str(B.take_front(16)));
  290             format_bytes_with_ascii_str(B.take_front(16), None, 8));
  292             format_bytes_with_ascii_str(B.take_front(12), None, 8));
  304             format_bytes_with_ascii_str(B.take_front(16), 0));
  307             format_bytes_with_ascii_str(B.take_front(16), 0, 8));
  310             format_bytes_with_ascii_str(B.take_front(12), 0, 7));
  317             format_bytes_with_ascii_str(B.take_front(16), 0, 16, 2));
  320             format_bytes_with_ascii_str(B.take_front(16), 0, 8, 2));
  323             format_bytes_with_ascii_str(B.take_front(12), 0, 7, 2));
  330             format_bytes_with_ascii_str(B.take_front(16), 0, 16, 1));
  333             format_bytes_with_ascii_str(B.take_front(16), 0, 8, 1));
  336             format_bytes_with_ascii_str(B.take_front(12), 0, 7, 1));