Home
last modified time | relevance | path

Searched refs:ArgStr (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp122 if (O->ArgStr[0]) in GetOptionInfo()
123 OptionNames.push_back(O->ArgStr); in GetOptionInfo()
207 if (O->ArgStr[0]) in LookupNearestOption()
208 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
329 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, 0, Dummy); in ProvidePositionalOption()
592 } else if (UnboundedFound && !Opt->ArgStr[0]) { in ParseCommandLineOptions()
861 if (ArgName.data() == 0) ArgName = ArgStr; in error()
909 return std::strlen(ArgStr)+6; in getOptionWidth()
914 size_t L = std::strlen(ArgStr); in printOptionInfo()
915 outs() << " -" << ArgStr; in printOptionInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCommandLine.cpp151 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
152 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
202 OptionNames.push_back(O->ArgStr); in removeOption()
259 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
263 Sub.OptionsMap.erase(O->ArgStr); in updateArgStr()
367 ArgStr = S; in setArgStr()
481 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
592 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, nullptr, Dummy); in ProvidePositionalOption()
1155 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr in ParseCommandLineOptions()
1408 ArgName = ArgStr; in error()
[all …]
DDebugCounter.cpp30 outs() << " -" << ArgStr; in printOptionInfo()
33 Option::printHelpStr(HelpStr, GlobalWidth, ArgStr.size() + 6); in printOptionInfo()
/external/llvm/lib/Support/
DCommandLine.cpp147 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
148 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
198 OptionNames.push_back(O->ArgStr); in removeOption()
255 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
259 Sub.OptionsMap.erase(O->ArgStr); in updateArgStr()
356 ArgStr = S; in setArgStr()
470 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
582 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, nullptr, Dummy); in ProvidePositionalOption()
1083 << Opt->ArgStr << "' is all messed up!\n"; in ParseCommandLineOptions()
1334 ArgName = ArgStr; in error()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp161 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
162 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
212 OptionNames.push_back(O->ArgStr); in removeOption()
269 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
273 Sub.OptionsMap.erase(O->ArgStr); in updateArgStr()
376 ArgStr = S; in setArgStr()
490 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
601 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, nullptr, Dummy); in ProvidePositionalOption()
1105 << Opt->ArgStr << "' is all messed up!\n"; in ParseCommandLineOptions()
1357 ArgName = ArgStr; in error()
[all …]
/external/llvm/include/llvm/Support/
DOptions.h96 static void registerOption(const char *ArgStr, const char *Desc, in registerOption() argument
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
DCommandLine.h250 StringRef ArgStr; // The argument string itself (ex: "help", "o")
274 bool hasArgStr() const { return !ArgStr.empty(); } in hasArgStr()
306 AdditionalVals(0), ArgStr(""), HelpStr(""), ValueStr(""), in Option()
1632 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1636 return AliasFor->addOccurrence(pos, AliasFor->ArgStr, Value, MultiArg);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DOptions.h96 static void registerOption(StringRef ArgStr, StringRef Desc, in registerOption() argument
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
DCommandLine.h265 StringRef ArgStr; // The argument string itself (ex: "help", "o")
293 bool hasArgStr() const { return !ArgStr.empty(); } in hasArgStr()
1695 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1700 return AliasFor->addOccurrence(pos, AliasFor->ArgStr, Value, MultiArg);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h96 static void registerOption(StringRef ArgStr, StringRef Desc, in registerOption() argument
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
DCommandLine.h256 StringRef ArgStr; // The argument string itself (ex: "help", "o")
284 bool hasArgStr() const { return !ArgStr.empty(); } in hasArgStr()
1651 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1656 return AliasFor->addOccurrence(pos, AliasFor->ArgStr, Value, MultiArg);
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp35 std::string ArgStr; in TraverseTemplateArgumentLoc() local
36 llvm::raw_string_ostream Stream(ArgStr); in TraverseTemplateArgumentLoc()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h176 const char *ArgStr; // The argument string itself (ex: "help", "o")
201 bool hasArgStr() const { return ArgStr[0] != 0; } in hasArgStr()
206 void setArgStr(const char *S) { ArgStr = S; } in setArgStr()
227 ArgStr(""), HelpStr(""), ValueStr("") { in Option()
714 const char *ArgStr;
722 ArgStr = O.ArgStr;
1610 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCommandLineTest.cpp110 ASSERT_STREQ(ArgString, Retrieved->ArgStr.data()) in TEST()
740 if (O->ArgStr == "opt2") { in TEST()
/external/llvm/unittests/Support/
DCommandLineTest.cpp118 ASSERT_STREQ(ArgString, Retrieved->ArgStr.data()) in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp72 outs() << " -" << O.ArgStr; in printOptionInfo()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp681 StringRef ArgStr(arg); in ParseCodeGenArgs() local
682 Opts.CmdArgs.insert(Opts.CmdArgs.end(), ArgStr.begin(), ArgStr.end()); in ParseCodeGenArgs()
/external/llvm/utils/FileCheck/
DFileCheck.cpp890 std::string Prefix = (Twine("-") + ImplicitCheckNot.ArgStr + "='").str(); in ReadCheckFile()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/FileCheck/
DFileCheck.cpp923 std::string Prefix = (Twine("-") + ImplicitCheckNot.ArgStr + "='").str(); in ReadCheckFile()
/external/clang/lib/CodeGen/
DTargetInfo.cpp2139 std::string ArgStr = Quote ? "\"" : ""; in qualifyWindowsLibrary() local
2140 ArgStr += Lib; in qualifyWindowsLibrary()
2142 ArgStr += ".lib"; in qualifyWindowsLibrary()
2143 ArgStr += Quote ? "\"" : ""; in qualifyWindowsLibrary()
2144 return ArgStr; in qualifyWindowsLibrary()