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

Declarations

include/llvm/ADT/StringRef.h
  788     void split(SmallVectorImpl<StringRef> &A, char Separator, int MaxSplit = -1,

References

lib/CodeGen/TargetLoweringBase.cpp
 1880   Override.split(OverrideVector, ',');
 1940   Override.split(OverrideVector, ',');
lib/FuzzMutate/FuzzerCLI.cpp
   46   NameAndArgs.second.split(Opts, '-');
   83   NameAndArgs.second.split(Opts, '-');
lib/IR/AutoUpgrade.cpp
 4050     Section.split(Components, ',');
lib/MC/MCSectionMachO.cpp
  191   Spec.split(SplitSpec, ',');
  248   Attrs.split(SectionAttrs, '+', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
lib/MC/SubtargetFeature.cpp
   35   S.split(Tmp, ',', -1, false /* KeepEmpty */);
lib/Support/Debug.cpp
  106     StringRef(Val).split(dbgTypes, ',', -1, false);
lib/Support/GraphWriter.cpp
  118     Names.split(parts, '|');
lib/Support/Host.cpp
  296         Lines[I].drop_front(Pos + 1).split(CPUFeatures, ' ');
lib/Support/SpecialCaseList.cpp
  129   MB->getBuffer().split(Lines, '\n');
lib/Support/SymbolRemappingReader.cpp
   43     Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false);
lib/Support/Triple.cpp
  731   StringRef(Data).split(Components, '-', /*MaxSplit*/ 3);
  800   Str.split(Components, '-');
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
 2644   RegString.split(Fields, ':');
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 5129     ExtensionString.split(RequestedExtensions, '+');
 5217     ExtensionString.split(RequestedExtensions, '+');
lib/Target/ARM/ARMISelDAGToDAG.cpp
 4300   RegString.split(Fields, ':');
lib/Target/SystemZ/SystemZTargetMachine.cpp
   48   FS.split(Features, ',', -1, false /* KeepEmpty */);
lib/Transforms/IPO/BlockExtractor.cpp
  114   Buf->getBuffer().split(Lines, '\n', /*MaxSplit=*/-1,
  118     Line.split(LineSplit, ' ', /*MaxSplit=*/-1,
  125     LineSplit[1].split(BBNames, ';', /*MaxSplit=*/-1,
lib/Transforms/IPO/LowerTypeTests.cpp
 1315     TFAttr.getValueAsString().split(Features, ',');
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
   77     Buf.split(Lines, '\n');
   92     Buf.split(Lines, '\n');
tools/clang/lib/Basic/Targets/X86.cpp
 1584   WholeList.split(Features, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2163         Feature.split(OrFeatures, '|');
 2207     StringRef(FeatureList).split(ReqFeatures, ',');
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1456     StringRef(A->getValue()).split(BranchProtection, '+');
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2471             ConfLine.split(GentooScanPaths, ':', -1, /*AllowEmpty*/ false);
tools/clang/lib/Driver/ToolChains/MSVC.cpp
   99     llvm::StringRef(*PathEnv).split(PathEntries, llvm::sys::EnvPathSeparator);
tools/clang/lib/Frontend/CompilerInvocation.cpp
 1660   Arg.split(Args, ':', 5);
tools/clang/lib/Sema/SemaChecking.cpp
 2782       StringRef(FC->Str).split(CPUs, ',');
 2797     StringRef(FH->Str).split(HVXs, ',');
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7740   Name.split(SlotNames, ':');
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
   99   Code.substr(StartPos, EndPos - StartPos).split(Lines, '\n');
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
   92   Content.split(Lines, '\n', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  285         ChecksStr.split(Checks, ',', -1, false);
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
   25   StringRef(RawDisallowedSeedTypes).split(DisallowedSeedTypes, ',');
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp
   45   AllHeaderFileExtensions.split(Suffixes, delimiter);
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
   64   Output.split(Lines, '\n', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  142       llvm::StringRef(this->Scopes).split(Scopes, ',');
  298     llvm::StringRef(*Request).split(Args, '\0', /*MaxSplit=*/-1,
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  199     Query.split(QueryTokens, ' ', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/utils/TableGen/MveEmitter.cpp
 1108   StringRef(FullName).split(NameParts, '_');
tools/llc/llc.cpp
  171     StringRef(Val).split(PassNames, ',', -1, false);
tools/lld/COFF/Driver.cpp
  671         .split(types, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
 1183     StringRef(arg->getValue()).split(vec, ',');
 1370     StringRef(str).split(vec, ',');
tools/lld/COFF/PDB.cpp
 1382       a.split(s, '"');
tools/lld/Common/Args.cpp
   67   mb.getBuffer().split(arr, '\n');
tools/lld/ELF/Driver.cpp
  732     line.split(fields, ' ');
tools/lldb/source/Interpreter/OptionValueProperties.cpp
  201   name.split(components, '.');
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2987     raw_rs_info.split(info_lines, '\n');
 4154       llvm::StringRef(option_val).split(type_names, ',');
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2798   StringRef(packet.GetStringRef()).split(fields, ':', 4);
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.cpp
   45   result.proc_status.split(lines, '\n', 42);
tools/lldb/source/Symbol/PostfixExpression.cpp
   90   prog.split(exprs, '=');
tools/lldb/tools/lldb-test/lldb-test.cpp
  245   str.split(entries_str, ',', /*maxSplit*/-1, /*keepEmpty=*/false);
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  294   Elements["threads"][0].split(Threads, ',');
  295   Elements["thread-pcs"][0].split(Pcs, ',');
  339   str.split(elements, ';');
  355   str.split(elements, ';');
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
   71   File->getBuffer().split(Lines, '\n');
tools/llvm-cov/CodeCoverage.cpp
  500   DemanglerData.split(Symbols, '\n', /*MaxSplit=*/NumSymbols,
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
   49     StringRef(Counters).split(CounterNames, '+');
tools/llvm-exegesis/lib/SnippetFile.cpp
   51       CommentText.split(Parts, ' ', /*unlimited splits*/ -1,
tools/llvm-extract/llvm-extract.cpp
  270     BBInfo.second.split(BBNames, ';', /*MaxSplit=*/-1,
tools/llvm-objcopy/CopyConfig.cpp
  144   Old2New.second.split(NameAndFlags, ',');
  190   Section2Flags.second.split(SectionFlags, ',');
  273   BufOrErr.get()->getBuffer().split(Lines, '\n');
  331   BufOrErr.get()->getBuffer().split(Lines, '\n');
tools/llvm-objcopy/ELF/ELFConfig.cpp
   60   Value.split(Flags, ',');
tools/llvm-objcopy/ELF/Object.cpp
 1638   MemBuf->getBuffer().split(Lines, '\n');
tools/llvm-profdata/llvm-profdata.cpp
  437   Data.split(SymbolVec, '\n', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
  584   Data.split(Entries, '\n', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
unittests/ADT/StringRefTest.cpp
  271   StringRef("a,,b,c").split(parts, ',', 3, false);
  300   StringRef().split(parts, ',', 0, true);
  305   StringRef("").split(parts, ',', 0, true);
  309   StringRef("").split(parts, ',', 0, false);
  311   StringRef().split(parts, ',', 0, false);
  319   StringRef("a,,b,c,d").split(parts, ',', 3, true);