Home
last modified time | relevance | path

Searched refs:Saver (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp78 StringSaver Saver; member
85 : Symtab(Symtab), StrtabBuilder(StrtabBuilder), Saver(Alloc) {} in Builder()
208 setStr(Comdat.Name, Saver.save(Name)); in getComdatIndex()
253 setStr(Sym.Name, Saver.save(Name.str())); in addSymbol()
337 setStr(Uncommon().COFFWeakExternFallbackName, Saver.save(FallbackName)); in addSymbol()
342 setStr(Uncommon().SectionName, Saver.save(GO->getSection())); in addSymbol()
362 setStr(Hdr.COFFLinkerOpts, Saver.save(COFFLinkerOpts)); in build()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp805 void cl::TokenizeGNUCommandLine(StringRef Src, StringSaver &Saver, in TokenizeGNUCommandLine() argument
849 NewArgv.push_back(Saver.save(Token.str()).data()); in TokenizeGNUCommandLine()
863 NewArgv.push_back(Saver.save(Token.str()).data()); in TokenizeGNUCommandLine()
917 StringRef Src, StringSaver &Saver, function_ref<void(StringRef)> AddToken, in tokenizeWindowsCommandLineImpl() argument
957 AddToken(AlwaysCopy ? Saver.save(NormalChars) : NormalChars); in tokenizeWindowsCommandLineImpl()
983 AddToken(Saver.save(Token.str())); in tokenizeWindowsCommandLineImpl()
1022 AddToken(Saver.save(Token.str())); in tokenizeWindowsCommandLineImpl()
1025 void cl::TokenizeWindowsCommandLine(StringRef Src, StringSaver &Saver, in TokenizeWindowsCommandLine() argument
1033 tokenizeWindowsCommandLineImpl(Src, Saver, AddToken, in TokenizeWindowsCommandLine()
1037 void cl::TokenizeWindowsCommandLineNoCopy(StringRef Src, StringSaver &Saver, in TokenizeWindowsCommandLineNoCopy() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp74 StringSaver &Saver) { in getSearchPaths() argument
87 StringRef Env = Saver.save(*EnvOpt); in getSearchPaths()
312 StringSaver Saver(Alloc); in libDriverMain() local
316 cl::ExpandResponseFiles(Saver, cl::TokenizeWindowsCommandLine, NewArgs); in libDriverMain()
448 std::vector<StringRef> SearchPaths = getSearchPaths(&Args, Saver); in libDriverMain()
503 Member.MemberName = Saver.save(*PathOrErr); in libDriverMain()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Ddriver.cpp112 static void getCLEnvVarOptions(std::string &EnvValue, llvm::StringSaver &Saver, in getCLEnvVarOptions() argument
114 llvm::cl::TokenizeWindowsCommandLine(EnvValue, Saver, Opts); in getCLEnvVarOptions()
241 llvm::StringSaver Saver(A); in clang_main() local
278 getCLEnvVarOptions(*OptCL, Saver, PrependedOpts); in clang_main()
287 getCLEnvVarOptions(*Opt_CL_, Saver, AppendedOpts); in clang_main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp129 StringSaver Saver(A); in strings()
133 Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, in main()
136 StringSaver Saver(A); main() local
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp149 StringSaver Saver(A); in demangleLine()
152 opt::InputArgList Args = Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, in llvm_cxxfilt_main()
154 StringSaver Saver(A); llvm_cxxfilt_main() local
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp235 StringSaver Saver(A); in llvm_objcopy_main() local
236 cl::ExpandResponseFiles(Saver, in llvm_objcopy_main()
H A DObjcopyOptions.cpp351 StringSaver Saver(Alloc); in addSymbolsFromFile() local
364 Saver.save(TrimmedLine), MS, ErrorCallback))) in addSymbolsFromFile()
374 StringSaver Saver(Alloc); in addSymbolsToRenameFromFile() local
387 std::pair<StringRef, StringRef> Pair = Saver.save(TrimmedLine).split(' '); in addSymbolsToRenameFromFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp753 StringSaver Saver(Alloc); in addChildMember() local
757 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember()
763 NMOrErr->MemberName = Saver.save( in addChildMember()
789 StringSaver Saver(Alloc); in getArchiveMember() local
797 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(FileName)); in getArchiveMember()
801 NMOrErr->MemberName = Saver.save( in getArchiveMember()
1339 StringSaver Saver(Alloc); in ar_main() local
1341 cl::ExpandResponseFiles(Saver, getRspQuoting(ArrayRef(argv, argc)), Argv); in ar_main()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc153 StringSaver &Saver) {
197 Args.push_back(Saver.save(Dir.str()).data());
249 StringSaver Saver(Alloc);
250 cl::TokenizeWindowsCommandLineFull(Cmd, Saver, TmpArgs, /*MarkEOLs=*/false);
253 EC = WildcardExpand(Arg, Args, Saver);
269 Args[0] = Saver.save(Arg0).data();
/freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp381 StringSaver &Saver, in parseOptions() argument
390 Tbl.parseArgs(Argc, Argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { in parseOptions()
477 StringSaver Saver(A); in llvm_symbolizer_main() local
479 opt::InputArgList Args = parseOptions(argc, argv, IsAddr2Line, Saver, Tbl); in llvm_symbolizer_main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp124 llvm::StringSaver Saver{A}; in llvm_dwp_main() local
127 Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { in llvm_dwp_main()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h2080 void TokenizeGNUCommandLine(StringRef Source, StringSaver &Saver,
2098 void TokenizeWindowsCommandLine(StringRef Source, StringSaver &Saver,
2106 void TokenizeWindowsCommandLineNoCopy(StringRef Source, StringSaver &Saver,
2122 void TokenizeWindowsCommandLineFull(StringRef Source, StringSaver &Saver,
2128 using TokenizerCallback = void (*)(StringRef Source, StringSaver &Saver,
2141 void tokenizeConfigFile(StringRef Source, StringSaver &Saver,
2148 StringSaver Saver;
2241 bool ExpandResponseFiles(StringSaver &Saver, TokenizerCallback Tokenizer,
2249 StringSaver &Saver,
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc167 toNullTerminatedCStringArray(ArrayRef<StringRef> Strings, StringSaver &Saver) {
170 Result.push_back(Saver.save(S).data());
192 StringSaver Saver(Allocator);
196 ArgVector = toNullTerminatedCStringArray(Args, Saver);
199 EnvVector = toNullTerminatedCStringArray(*Env, Saver);
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp257 StringSaver Saver(A); in populateFromFile()
259 opt::InputArgList Args = Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, in populateFromFile()
264 StringSaver Saver(A); main() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp148 llvm::StringSaver Saver(Alloc); in unescapeCommandLine() local
150 llvm::cl::TokenizeWindowsCommandLine(EscapedCommandLine, Saver, T); in unescapeCommandLine()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp348 llvm::StringSaver Saver(Alloc); in main_gdbserver() local
351 Saver, [&](llvm::StringRef Msg) { in main_gdbserver()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp228 S = getContext().pImpl->Saver.save(S); in setPartition()
275 S = getContext().pImpl->Saver.save(S); in setSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h53 StringSaver Saver{Alloc};
63 StringSaver &getSaver() { return Saver; } in getSaver()
/freebsd/contrib/llvm-project/llvm/include/llvm/Option/
H A DOptTable.h324 StringSaver &Saver,
/freebsd/usr.sbin/bsdconfig/console/include/
H A Dmessages.subr187 msg_saver="Saver"
228 msg_system_console_screen_saver="System Console Screen Saver"
/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp573 OptSpecifier Unknown, StringSaver &Saver, in parseArgs() argument
578 cl::expandResponseFiles(Argc, Argv, EnvVar, Saver, NewArgv); in parseArgs()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp642 StringSaver Saver(A); in llvm_readobj_main() local
646 Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { in llvm_readobj_main()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1406 StringSaver Saver;
1441 UnifiedLTO(UnifiedLTO), Saver(Alloc), BlockCount(0) {}
1632 StringRef saveString(StringRef String) { return Saver.save(String); }
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp866 StringSaver Saver(A); in printBerkeleyTotals()
870 Tbl.parseArgs(argc, argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { in printBerkeleyTotals()
876 StringSaver Saver(A); llvm_size_main() local

12