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

References

include/llvm/Bitstream/BitstreamWriter.h
  414       auto Count = static_cast<uint32_t>(makeArrayRef(Vals).size());
  423     EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
  431     EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None);
  442     EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None);
include/llvm/IR/Constants.h
  712     return ConstantDataArray::get(Context, makeArrayRef(Elts));
lib/Analysis/PHITransAddr.cpp
  407         GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1),
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1870     auto ReturnAndArgTypesRef = makeArrayRef(ReturnAndArgTypeIndices);
lib/CodeGen/AsmPrinter/DebugLocStream.h
  112     return makeArrayRef(Entries)
lib/CodeGen/CodeGenPrepare.cpp
 1009         Derived->getSourceElementType(), ActualRelocatedBase, makeArrayRef(OffsetV));
lib/CodeGen/MachineCombiner.cpp
  390   ArrayRef<const MCSchedClassDesc *> MSCInsArr = makeArrayRef(InsInstrsSC);
  391   ArrayRef<const MCSchedClassDesc *> MSCDelArr = makeArrayRef(DelInstrsSC);
lib/CodeGen/VirtRegMap.cpp
  436         if (!anyRegsAlias(MIs[I], makeArrayRef(MIs).take_front(E), TRI)) {
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
   69   for (auto X : makeArrayRef(Limits).drop_front()) {
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
  227   auto SO = makeArrayRef(SegmentOffsets);
lib/FuzzMutate/IRMutator.cpp
  116   auto InstsBefore = makeArrayRef(Insts).slice(0, IP);
  117   auto InstsAfter = makeArrayRef(Insts).slice(IP);
  130   for (const auto &Pred : makeArrayRef(OpDesc->SourcePreds).slice(1))
lib/IR/Verifier.cpp
 5089   for (auto *F : makeArrayRef(DeoptimizeDeclarations).slice(1)) {
lib/Linker/IRMover.cpp
  314                                       makeArrayRef(ElementTypes).slice(1),
lib/Target/ARM/ARMISelDAGToDAG.cpp
 2398   CurDAG->SelectNodeTo(N, Opcode, N->getVTList(), makeArrayRef(Ops));
 2423   CurDAG->SelectNodeTo(N, Opcode, N->getVTList(), makeArrayRef(Ops));
 2457   CurDAG->SelectNodeTo(N, Opcode, N->getVTList(), makeArrayRef(Ops));
lib/Target/X86/X86ISelLowering.cpp
33737     if (makeArrayRef(Mask).equals({2, 3, 0, 1})) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  479                                 makeArrayRef(FixedOperands).slice(1));
lib/Transforms/InstCombine/InstructionCombining.cpp
 2248               GEP.getSourceElementType(), PtrOp, makeArrayRef(Ops).slice(1),
lib/Transforms/Scalar/LoopSink.cpp
  224   for (BasicBlock *N : makeArrayRef(SortedBBsToSinkInto).drop_front(1)) {
lib/Transforms/Utils/ValueMapper.cpp
  828                            makeArrayRef(AppendingInits).slice(PrefixSize));
lib/Transforms/Vectorize/SLPVectorizer.cpp
  588     return makeArrayRef(I->getFirst());
tools/clang/lib/AST/ASTContext.cpp
  929       return llvm::makeArrayRef(*V);
tools/clang/lib/AST/ASTImporter.cpp
  804         llvm::makeArrayRef(ToPack).copy(Importer.getToContext()));
 7372       llvm::makeArrayRef(ToArgs), ToRParenLoc);
tools/clang/lib/AST/CommentParser.cpp
  482                                 S.copyArray(llvm::makeArrayRef(Attrs)),
  490                                 S.copyArray(llvm::makeArrayRef(Attrs)),
  509                                 S.copyArray(llvm::makeArrayRef(Attrs)),
  517                                 S.copyArray(llvm::makeArrayRef(Attrs)),
  656   return S.actOnParagraphComment(S.copyArray(llvm::makeArrayRef(Content)));
  695                                S.copyArray(llvm::makeArrayRef(Lines)));
  700                                S.copyArray(llvm::makeArrayRef(Lines)));
  776   return S.actOnFullComment(S.copyArray(llvm::makeArrayRef(Blocks)));
tools/clang/lib/AST/CommentSema.cpp
  320     Command->setPosition(copyArray(llvm::makeArrayRef(Position)));
tools/clang/lib/AST/Type.cpp
 1004             llvm::makeArrayRef(exceptionTypes).copy(Ctx);
 1301             llvm::makeArrayRef(exceptionTypes).copy(Ctx);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 6835     Function *F = CGM.getIntrinsic(IRIntr, makeArrayRef(Tys));
 6877     Function *F = CGM.getIntrinsic(IRIntr, makeArrayRef(Tys));
 9244     Ops[1] = Builder.CreateCall(F, makeArrayRef(Ops).slice(1), "vld2_lane");
 9259     Ops[1] = Builder.CreateCall(F, makeArrayRef(Ops).slice(1), "vld3_lane");
 9275     Ops[1] = Builder.CreateCall(F, makeArrayRef(Ops).slice(1), "vld4_lane");
tools/clang/lib/CodeGen/CGExprConstant.cpp
  525       CGM, makeArrayRef(Elems).slice(First, Length),
  526       makeArrayRef(Offsets).slice(First, Length), Offset, getSize(DesiredTy),
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8315       for (const MapData &L1 : makeArrayRef(DeclComponentLists).slice(Count)) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 3975   CGF.EmitCallArgs(Args, FPT, llvm::makeArrayRef(ArgVec), CD, IsCopy ? 1 : 0);
tools/clang/lib/CodeGen/TargetInfo.cpp
 8289       return llvm::makeArrayRef(Elems) == Ty->elements();
tools/clang/lib/Parse/ParsePragma.cpp
 2808   Info.Toks = llvm::makeArrayRef(ValueList).copy(PP.getPreprocessorAllocator());
 3265         llvm::makeArrayRef(AttributeTokens).copy(PP.getPreprocessorAllocator());
tools/clang/lib/Sema/SemaExprCXX.cpp
 2784         if (llvm::makeArrayRef(FuncParams) == Params) {
tools/clang/lib/Sema/SemaLookup.cpp
 4583         llvm::makeArrayRef(CurNameSpecifierIdentifiers),
 4584         llvm::makeArrayRef(NewNameSpecifierIdentifiers));
tools/clang/lib/Sema/SemaOverload.cpp
 6482             Result, Context, Function, llvm::makeArrayRef(ConvertedArgs)))
tools/clang/lib/Sema/TreeTransform.h
 5458       T->getParamTypes() != llvm::makeArrayRef(ParamTypes) || EPIChanged) {
tools/clang/lib/Serialization/ASTReader.cpp
 8357          llvm::makeArrayRef(PragmaPackStack).drop_front(DropFirst ? 1 : 0))
tools/clang/tools/libclang/CIndex.cpp
 7952        llvm::enumerate(llvm::makeArrayRef(AvailabilityAttrs)
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  210         findSubrange(llvm::makeArrayRef(QueryTokens), Tokens, TextMatches);
  216     if (findSubrange(llvm::makeArrayRef(QueryTokens),
tools/lld/COFF/DriverUtils.cpp
  823   args = table.ParseArgs(makeArrayRef(expandedArgv).drop_front(), missingIndex,
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
   92   for (StringRef str : llvm::makeArrayRef(parts).slice(1)) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  405   if (makeArrayRef(curr_break_op) != it->second.breakpoint_opcodes) {
  650     auto saved_opcodes = makeArrayRef(pair.second.saved_opcodes);
tools/llvm-objcopy/CopyConfig.cpp
  149         parseSectionFlagSet(makeArrayRef(NameAndFlags).drop_front());
tools/llvm-objcopy/llvm-objcopy.cpp
  334   auto Args = makeArrayRef(NewArgv).drop_front();
unittests/ADT/SmallVectorTest.cpp
  989   EXPECT_TRUE(makeArrayRef(V1).equals({0, 0}));
  991   EXPECT_TRUE(makeArrayRef(V1).equals({-1, -1}));
  994   EXPECT_TRUE(makeArrayRef(V2).equals({1, 2, 3, 4}));
  996   EXPECT_TRUE(makeArrayRef(V2).equals({4}));
  998   EXPECT_TRUE(makeArrayRef(V2).equals({4, 3, 2}));
 1000   EXPECT_TRUE(makeArrayRef(V2).equals({4, 5, 3, 2}));
utils/TableGen/CodeGenRegisters.h
  236       return makeArrayRef(RegUnitLaneMasks).slice(0, NativeRegUnits.count());