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

Declarations

include/llvm/Support/StringSaver.h
   29   StringRef save(StringRef S);

References

include/llvm/IR/ModuleSummaryIndex.h
 1109   StringRef saveString(StringRef String) { return Saver.save(String); }
include/llvm/Support/StringSaver.h
   28   StringRef save(const char *S) { return save(StringRef(S)); }
   30   StringRef save(const Twine &S) { return save(StringRef(S.str())); }
   31   StringRef save(const std::string &S) { return save(StringRef(S)); }
lib/Object/IRSymtab.cpp
  220   setStr(Sym.Name, Saver.save(StringRef(Name)));
  302     setStr(Uncommon().SectionName, Saver.save(Base->getSection()));
lib/Support/CommandLine.cpp
  853         NewArgv.push_back(Saver.save(StringRef(Token)).data());
  864     NewArgv.push_back(Saver.save(StringRef(Token)).data());
  947         NewArgv.push_back(Saver.save(StringRef(Token)).data());
  989     NewArgv.push_back(Saver.save(StringRef(Token)).data());
lib/Support/StringSaver.cpp
   24     *R.first = Strings.save(S); // safe replacement with equal value
lib/Support/Unix/Program.inc
  171     Result.push_back(Saver.save(S).data());
tools/clang/lib/AST/MicrosoftMangle.cpp
  846               TemplateArgStringStorage.save(TemplateMangling.str());
tools/clang/tools/extra/clangd/index/Serialization.cpp
  222     Table.Strings.push_back(Saver.save(R.consume(Len)));
tools/lld/COFF/Driver.cpp
  415       return saver.save(path.str());
  419         return saver.save(path.str());
tools/lld/COFF/DriverUtils.cpp
   50   explicit Executor(StringRef s) : prog(saver.save(s)) {}
   51   void add(StringRef s) { args.push_back(saver.save(s)); }
tools/lld/COFF/InputFiles.cpp
  838   StringRef name = saver.save(StringRef(buf + sizeof(*hdr)));
  906     comdat[i] = symtab->addComdat(this, saver.save(obj->getComdatTable()[i]));
  908     StringRef symName = saver.save(objSym.getName());
tools/lld/ELF/InputFiles.cpp
 1309     symtab->addSymbol(SharedSymbol{*this, saver.save(name), sym.getBinding(),
 1403   StringRef name = saver.save(objSym.getName());
 1511       symtab->addSymbol(LazyObject{*this, saver.save(sym.getName())});
tools/lld/ELF/ScriptParser.cpp
  283       driver->addFile(saver.save(path), /*withLOption=*/false);
tools/lld/ELF/SyntheticSections.cpp
  256   StringRef s = saver.save(config->dynamicLinker);
tools/lld/wasm/InputFiles.cpp
  519   StringRef name = saver.save(objSym.getName());
tools/llvm-objcopy/CopyConfig.cpp
  280               Saver.save(TrimmedLine), MS, ErrorCallback)))
  338     std::pair<StringRef, StringRef> Pair = Saver.save(TrimmedLine).split(' ');