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

References

include/llvm/Option/ArgList.h
  354     return MakeArgStringRef(Str.toStringRef(Buf));
include/llvm/Support/FileSystem.h
 1291         *State, path.toStringRef(path_storage), FollowSymlinks);
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 1312                     "_" + Twine(Btr.BitSize)).toStringRef(Str));
lib/DebugInfo/DWARF/DWARFContext.cpp
 1243               ? (DObj->getFileName() + ".dwp").toStringRef(DWPName)
lib/IR/AutoUpgrade.cpp
 4154   std::string Res = (Groups[1] + AddrSpaces + Groups[3]).toStringRef(Buf).str();
lib/IR/Mangler.cpp
   36   StringRef Name = GVName.toStringRef(TmpData);
lib/IR/Module.cpp
  252   StringRef NameRef = Name.toStringRef(NameData);
lib/IR/Value.cpp
  233   StringRef NameRef = NewName.toStringRef(NameData);
lib/MC/MCContext.cpp
  131   StringRef NameRef = Name.toStringRef(NameSV);
  266   StringRef NameRef = Name.toStringRef(NameSV);
lib/MC/MCDwarf.cpp
  582         std::make_pair((Directory + Twine('\0') + FileName).toStringRef(Buffer),
lib/MC/MCStreamer.cpp
  950   EmitRawTextImpl(T.toStringRef(Str));
lib/Object/RecordStreamer.cpp
  218             (Split.first + Separator + Split.second).toStringRef(NewName);
lib/Support/MemoryBuffer.cpp
   74   StringRef NameRef = Alloc.Name.toStringRef(NameBuf);
  146   StringRef NameRef = Filename.toStringRef(NameBuf);
  281   StringRef NameRef = BufferName.toStringRef(NameBuf);
lib/Support/Path.cpp
  425   if (!a.isTriviallyEmpty()) components.push_back(a.toStringRef(a_storage));
  426   if (!b.isTriviallyEmpty()) components.push_back(b.toStringRef(b_storage));
  427   if (!c.isTriviallyEmpty()) components.push_back(c.toStringRef(c_storage));
  428   if (!d.isTriviallyEmpty()) components.push_back(d.toStringRef(d_storage));
  484   StringRef ext = extension.toStringRef(ext_storage);
  609   StringRef p = path.toStringRef(path_storage);
  616   StringRef p = path.toStringRef(path_storage);
  623   StringRef p = path.toStringRef(path_storage);
  630   StringRef p = path.toStringRef(path_storage);
  637   StringRef p = path.toStringRef(path_storage);
  644   StringRef p = path.toStringRef(path_storage);
  651   StringRef p = path.toStringRef(path_storage);
  658   StringRef p = path.toStringRef(path_storage);
  665   StringRef p = path.toStringRef(path_storage);
  918   StringRef P = Path.toStringRef(PathStorage);
lib/Support/Twine.cpp
   29   return toStringRef(Vec).str();
lib/Transforms/Instrumentation/InstrProfiling.cpp
  684   if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix)))
lib/Transforms/Utils/MetaRenamer.cpp
  120           renamer.newName()).toStringRef(NameStorage));
tools/clang/lib/AST/TypePrinter.cpp
 1890   StringRef PH = PlaceHolder.toStringRef(PHBuf);
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  393   return ("(anonymous " + Node.getKindName() + ")").toStringRef(Scratch);
tools/clang/lib/CodeGen/CGDecl.cpp
 1329       StringRef NameRef = Name.toStringRef(Buffer);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2943         DeviceID, FileID, Twine(Buffer, "_ctor").toStringRef(Out), Line, Ctor,
 2981         DeviceID, FileID, Twine(Buffer, "_dtor").toStringRef(Out), Line, Dtor,
tools/clang/lib/Edit/EditedSource.cpp
   71   return copyString(twine.toStringRef(Data));
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  123     StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
  138   StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  347   StringRef Ref = String.toStringRef(Data);
tools/clang/lib/Sema/SemaExpr.cpp
12399         StringRef Qual = (MD->getParent()->getName() + "::").toStringRef(Str);
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  201   StringRef Filename = Path.toStringRef(OwnedFilename);
  261   StringRef Filename = Path.toStringRef(OwnedFilename);
tools/clang/tools/extra/clangd/CodeComplete.cpp
  190             (IndexResult->Scope + IndexResult->Name).toStringRef(Scratch),
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
   37       tooling::buildASTFromCodeWithArgs(Code.toStringRef(CodeStorage), Args);
tools/lld/ELF/InputFiles.cpp
 1308     name = (name + "@" + verName).toStringRef(versionedNameBuffer);
tools/lld/ELF/ScriptParser.cpp
  281     StringRef path = (config->sysroot + s).toStringRef(pathData);
tools/llvm-diff/DifferenceEngine.cpp
  725              .toStringRef(Tmp));
tools/llvm-objcopy/CopyConfig.cpp
  316         ("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data)));