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

References

include/llvm/Bitstream/BitstreamWriter.h
  368           emitBlob(Vals.slice(RecordIdx));
include/llvm/CodeGen/LiveRangeEdit.h
  176     return makeArrayRef(NewRegs).slice(FirstNew);
include/llvm/Support/BinaryByteStream.h
   53     Buffer = Data.slice(Offset);
  166     Buffer = makeArrayRef(Data).slice(Offset);
lib/Analysis/ConstantFolding.cpp
 1035                                           Ops.slice(1), GEP->isInBounds(),
lib/Analysis/InstructionSimplify.cpp
 3999   Type *LastType = GetElementPtrInst::getIndexedType(SrcTy, Ops.slice(1));
 4064       all_of(Ops.slice(1).drop_back(1),
 4094                                             Ops.slice(1));
lib/Analysis/PHITransAddr.cpp
  407         GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1),
lib/Analysis/ValueTracking.cpp
 3335   return InsertValueInst::Create(To, V, makeArrayRef(Idxs).slice(IdxSkip),
 3384     return FindInsertedValue(C, idx_range.slice(1), InsertBefore);
lib/Bitcode/Reader/BitcodeReader.cpp
  478   return {StringRef(Strtab.data() + Record[0], Record[1]), Record.slice(2)};
 5898           ArrayRef<uint64_t>(Record).slice(CallGraphEdgeStartIndex),
 5959           makeRefList(ArrayRef<uint64_t>(Record).slice(RefArrayStart));
 6042           ArrayRef<uint64_t>(Record).slice(CallGraphEdgeStartIndex),
 6100           makeRefList(ArrayRef<uint64_t>(Record).slice(RefArrayStart));
lib/Bitcode/Reader/MetadataLoader.cpp
  616         SubExpr = SubExpr.slice(HistoricSize);
  840                   *GO, ArrayRef<uint64_t>(Record).slice(1)))
 1907               *GO, ArrayRef<uint64_t>(Record).slice(1)))
lib/Bitcode/Writer/ValueEnumerator.h
  210     return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings);
  210     return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings);
lib/CodeGen/GlobalISel/CallLowering.cpp
  292       j += Handler.assignCustomValue(Args[i], makeArrayRef(ArgLocs).slice(j));
lib/CodeGen/MachineInstr.cpp
  442   for (const MachineInstr &MI : make_pointee_range(MIs.slice(1))) {
lib/CodeGen/RegAllocGreedy.cpp
 1347     auto NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo);
lib/DebugInfo/PDB/Native/Hash.cpp
   69   Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t));
lib/FuzzMutate/IRMutator.cpp
  117   auto InstsAfter = makeArrayRef(Insts).slice(IP);
  130   for (const auto &Pred : makeArrayRef(OpDesc->SourcePreds).slice(1))
lib/IR/ConstantFold.cpp
  905     return ConstantFoldExtractValueInstruction(C, Idxs.slice(1));
  929       C = ConstantFoldInsertValueInstruction(C, Val, Idxs.slice(1));
lib/IR/Constants.cpp
 1280         SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1),
 3022                                                Ops[0], Ops.slice(1));
 3024                                      Ops.slice(1));
lib/IR/ConstantsContext.h
  559           Ops[0], Ops.slice(1), Ty, SubclassOptionalData);
lib/IR/Function.cpp
  951   Infos = Infos.slice(1);
 1133   Infos = Infos.slice(1);
 1235         Infos = Infos.slice(1);
 1382   Infos = Infos.slice(1);
lib/IR/Verifier.cpp
 5089   for (auto *F : makeArrayRef(DeoptimizeDeclarations).slice(1)) {
lib/Linker/IRMover.cpp
  314                                       makeArrayRef(ElementTypes).slice(1),
lib/Support/GlobPattern.cpp
  162       Pats = Pats.slice(1);
  175     Pats = Pats.slice(1);
lib/Support/VirtualFileSystem.cpp
 1992     for (const auto &Entry : Entries.slice(1)) {
lib/TableGen/Record.cpp
  776       return ListInit::get(LHSl->getValues().slice(1), LHSl->getElementType());
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  237   Bytes = Bytes.slice(sizeof(T));
  398         Bytes = Bytes.slice(4 * NSAWords);
lib/Target/AMDGPU/SIFrameLowering.cpp
  300   AllSGPR128s = AllSGPR128s.slice(std::min(static_cast<unsigned>(AllSGPR128s.size()), NumPreloaded));
  342   AllSGPRs = AllSGPRs.slice(NumPreloaded);
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  185     Bytes = Bytes.slice(HEXAGON_INSTR_SIZE);
lib/Target/X86/X86ISelLowering.cpp
 3372     for (MCPhysReg Reg : ArgGPRs.slice(NumIntRegs)) {
 3380       for (MCPhysReg Reg : ArgXMMs.slice(NumXMMRegs)) {
 9983                              Ops.slice(NumOperands/2));
10072                              Ops.slice(NumOperands/2));
14521   ArrayRef<int> HiMask = Mask.slice(Mask.size() / 2);
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   86           CEOps.slice(1)));
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
   82       Table.ParseArgs(ArgsArr.slice(1), MissingIndex, MissingCount);
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  277       Table.ParseArgs(ArgsArr.slice(1), MissingIndex, MissingCount);
lib/Transforms/Coroutines/CoroInternal.h
  178       return STy->elements().slice(1);
  190     return FTy->params().slice(1);
lib/Transforms/IPO/WholeProgramDevirt.cpp
  180       Used.push_back(VTUsed.slice(Offset));
lib/Transforms/InstCombine/InstCombinePHI.cpp
  479                                 makeArrayRef(FixedOperands).slice(1));
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1279       ArrayRef<Value*> Idx = NewOps.slice(1);
lib/Transforms/InstCombine/InstructionCombining.cpp
 2248               GEP.getSourceElementType(), PtrOp, makeArrayRef(Ops).slice(1),
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  375     annotateValueSite(*M, *I, ICallProfDataRef.slice(NumPromoted), TotalCount,
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  363     annotateValueSite(*Func.getParent(), *MI, VDs.slice(Version),
lib/Transforms/Scalar/LoopDeletion.cpp
   61         all_of(makeArrayRef(ExitingBlocks).slice(1), [&](BasicBlock *BB) {
lib/Transforms/Utils/ValueMapper.cpp
  828                            makeArrayRef(AppendingInits).slice(PrefixSize));
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  597   return std::make_pair(Chain.slice(0, NumLeft), Chain.slice(NumLeft));
 1007            vectorizeStoreChain(Chain.slice(TargetVF), InstructionsProcessed);
 1156            vectorizeLoadChain(Chain.slice(TargetVF), InstructionsProcessed);
tools/clang/include/clang/AST/DeclBase.h
 1248     DeclContextLookupResult Sliced = Result.slice(N);
tools/clang/lib/AST/ExprConstant.cpp
 6914         Args = Args.slice(1);
tools/clang/lib/AST/OSLog.cpp
  191     VarArgs = Args.slice(1);
  197     VarArgs = Args.slice(2);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5541     Ops[1] = Builder.CreateCall(F, makeArrayRef(Ops).slice(1), NameHint);
 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/CGOpenMPRuntime.cpp
 8315       for (const MapData &L1 : makeArrayRef(DeclComponentLists).slice(Count)) {
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  251   auto elts = llvm::makeArrayRef(buffer).slice(Begin);
  264   auto elts = llvm::makeArrayRef(buffer).slice(Begin);
tools/clang/lib/Driver/Driver.cpp
  954   ParseDriverMode(ClangExecutable, ArgList.slice(1));
  961       ParseArgStrings(ArgList.slice(1), IsCLMode(), ContainsError));
tools/clang/lib/Driver/Job.cpp
  224     Args = ArrayRef<const char *>(ArgsRespFile).slice(1); // no executable name
tools/clang/lib/Sema/SemaDecl.cpp
12934       Group = Group.slice(1);
tools/clang/lib/Sema/SemaExpr.cpp
 5222       for (Expr *A : Args.slice(ArgIx)) {
 5231       for (Expr *A : Args.slice(ArgIx)) {
 5239     for (Expr *A : Args.slice(ArgIx))
tools/clang/lib/Sema/SemaInit.cpp
 6864     Args = Args.slice(1);
tools/clang/lib/Sema/SemaOverload.cpp
 6591         FunctionArgs = Args.slice(1);
 6615         FunctionArgs = Args.slice(1);
 7466                          Args[0]->Classify(Context), Args.slice(1),
12972           ArgsArray = ArgsArray.slice(1);
tools/clang/lib/Tooling/Tooling.cpp
  323       ArrayRef<const char *>(Argv).slice(1), MissingArgIndex, MissingArgCount);
tools/clang/tools/driver/driver.cpp
  276       argv.slice(1), MissingArgIndex, MissingArgCount);
  309     return cc1_main(argv.slice(2), argv[0], GetExecutablePathVP);
  311     return cc1as_main(argv.slice(2), argv[0], GetExecutablePathVP);
  313     return cc1gen_reproducer_main(argv.slice(2), argv[0], GetExecutablePathVP);
tools/lld/COFF/Chunks.cpp
  620   return data.slice(4);
tools/lld/COFF/Driver.cpp
 1102     if (llvm::libDriverMain(argsArr.slice(1)) != 0)
 1641                                    ArrayRef<StringRef>(searchPaths).slice(1)));
tools/lld/ELF/Arch/AMDGPU.cpp
   52   for (InputFile *f : makeArrayRef(objectFiles).slice(1)) {
tools/lld/ELF/Arch/MipsArchTree.cpp
  106   for (const FileFlags &f : files.slice(1)) {
  120   for (const FileFlags &f : files.slice(1))
  280   for (const FileFlags &f : files.slice(1)) {
tools/lld/ELF/Config.h
  317   return llvm::makeArrayRef(config->versionDefinitions).slice(2);
tools/lld/ELF/Driver.cpp
  422   opt::InputArgList args = parser.parse(argsArr.slice(1));
tools/lld/ELF/EhFrame.cpp
   60   return EhReader(s, s->data().slice(off)).readEhRecordSize();
   86   d = d.slice(1);
   93   d = d.slice(count);
  102   d = d.slice(s.size() + 1);
  114     d = d.slice(1);
  148   d = d.slice(size);
tools/lld/ELF/InputFiles.cpp
  379   return makeArrayRef(this->symbols).slice(this->firstGlobal);
  570       for (uint32_t secIndex : entries.slice(1)) {
  725       data = data.slice(nhdr->getSize());
  754       desc = desc.slice(size + 8); // +8 for Type and Size
  758     data = data.slice(nhdr->getSize());
 1244             .slice(firstGlobal);
tools/lld/ELF/InputFiles.h
  169     return getELFSyms<ELFT>().slice(firstGlobal);
tools/lld/ELF/InputSection.cpp
  221     rawData = rawData.slice(4);
  229     rawData = rawData.slice(8);
  255     rawData = rawData.slice(sizeof(*hdr));
  273   rawData = rawData.slice(sizeof(*hdr));
  394   for (uint32_t idx : from.slice(1))
tools/lld/ELF/SyntheticSections.cpp
  202       d = d.slice(opt->size);
 3479     for (InputFile *file : makeArrayRef(objectFiles).slice(1))
tools/lld/ELF/Writer.cpp
 1320   for (InputSection *isec : makeArrayRef(unorderedSections).slice(insPt))
tools/lld/MinGW/Driver.cpp
  166   opt::InputArgList args = parser.parse(argsArr.slice(1));
tools/lld/lib/Driver/DarwinLdDriver.cpp
  323       table.ParseArgs(args.slice(1), missingIndex, missingCount);
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  336       remainingInfos = remainingInfos.slice(entriesInPage);
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
   92   for (StringRef str : llvm::makeArrayRef(parts).slice(1)) {
tools/lld/wasm/Driver.cpp
  647   opt::InputArgList args = parser.parse(argsArr.slice(1));
tools/llvm-mc/Disassembler.cpp
   49     S = DisAsm.getInstruction(Inst, Size, Data.slice(Index), Index,
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  226                     llvm::toHex(BuildIdBytes.slice(1), /*LowerCase*/ true));
tools/llvm-objdump/MachODump.cpp
 7624           gotInst = ThumbDisAsm->getInstruction(Inst, Size, Bytes.slice(Index),
 7627           gotInst = DisAsm->getInstruction(Inst, Size, Bytes.slice(Index), PC,
 7698         if (DisAsm->getInstruction(Inst, InstSize, Bytes.slice(Index), PC,
tools/llvm-objdump/llvm-objdump.cpp
  793       Bytes = Bytes.slice(4);
 1089     Byte = Bytes.slice(Index)[0];
 1416             Inst, Size, Bytes.slice(Index), SectionAddr + Index, DebugOut,
tools/llvm-readobj/COFFDumper.cpp
  579   AuxData = AuxData.slice(AuxSymbolIdx * Obj->getSymbolTableEntrySize());
tools/llvm-readobj/ELFDumper.cpp
 2683     Sec = Sec.slice(O->size);
 2866     for (uint32_t Ndx : Data.slice(1)) {
 5174       W.printBinary("Unused", makeArrayRef(E->e_ident).slice(ELF::EI_PAD));
tools/sancov/sancov.cpp
  758       if (!DisAsm->getInstruction(Inst, Size, Bytes.slice(Index),
unittests/ADT/ArrayRefTest.cpp
   90   EXPECT_EQ(1U, AR.slice(AR.size() - 1).size());
unittests/ProfileData/CoverageMappingTest.cpp
   97     Functions = Functions.slice(1);
unittests/ProfileData/InstrProfTest.cpp
  354   annotateValueSite(*M, *Inst, makeArrayRef(VD0Sorted).slice(2), 10,
unittests/Support/BinaryStreamTest.cpp
  231       EXPECT_EQ(makeArrayRef(InputData).slice(2), Buffer);
  251       EXPECT_EQ(makeArrayRef(InputData).slice(3), Buffer);
utils/TableGen/CodeGenSchedule.cpp
   87     auto NonPseudos = Instructions.slice(NumGeneric + NumPseudos);