Home
last modified time | relevance | path

Searched refs:getArgString (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm/lib/Option/
DOption.cpp111 Spelling = StringRef(Args.getArgString(Index), ArgSize); in accept()
119 if (ArgSize != strlen(Args.getArgString(Index))) in accept()
140 const char *Value = Args.getArgString(Index) + ArgSize; in accept()
145 const char *Str = Args.getArgString(Index) + ArgSize; in accept()
174 if (ArgSize != strlen(Args.getArgString(Index))) in accept()
179 Args.getArgString(Index - 1) == nullptr) in accept()
183 Index - 2, Args.getArgString(Index - 1)); in accept()
187 if (ArgSize != strlen(Args.getArgString(Index))) in accept()
195 Args.getArgString(Index - getNumArgs())); in accept()
197 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in accept()
[all …]
DArgList.cpp324 StringRef Cur = getArgString(Index); in GetOrMakeJoinedArgString()
375 return getArgString(MakeIndex(Str)); in MakeArgStringRef()
403 Index, BaseArgs.getArgString(Index), BaseArg)); in MakePositionalArg()
412 Index, BaseArgs.getArgString(Index + 1), BaseArg)); in MakeSeparateArg()
421 BaseArgs.getArgString(Index) + Opt.getName().size(), BaseArg)); in MakeJoinedArg()
DOptTable.cpp193 const char *Str = Args.getArgString(Index); in ParseOneArg()
261 if (Args.getArgString(Index) == nullptr) { in ParseArgs()
266 StringRef Str = Args.getArgString(Index); in ParseArgs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DOption.cpp111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize); in acceptInternal()
114 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
119 const char *Value = Args.getArgString(Index) + ArgSize; in acceptInternal()
124 const char *Str = Args.getArgString(Index) + ArgSize; in acceptInternal()
153 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
158 Args.getArgString(Index - 1) == nullptr) in acceptInternal()
161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
165 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
173 Args.getArgString(Index - getNumArgs())); in acceptInternal()
175 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in acceptInternal()
[all …]
DArgList.cpp177 StringRef Cur = getArgString(Index); in GetOrMakeJoinedArgString()
228 return getArgString(MakeIndex(Str)); in MakeArgStringRef()
254 Index, BaseArgs.getArgString(Index), BaseArg)); in MakePositionalArg()
263 Index, BaseArgs.getArgString(Index + 1), BaseArg)); in MakeSeparateArg()
272 BaseArgs.getArgString(Index) + Opt.getName().size(), BaseArg)); in MakeJoinedArg()
DOptTable.cpp337 const char *Str = Args.getArgString(Index); in ParseOneArg()
405 if (Args.getArgString(Index) == nullptr) { in ParseArgs()
410 StringRef Str = Args.getArgString(Index); in ParseArgs()
/external/llvm-project/llvm/lib/Option/
DOption.cpp114 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
119 const char *Value = Args.getArgString(Index) + ArgSize; in acceptInternal()
124 const char *Str = Args.getArgString(Index) + ArgSize; in acceptInternal()
153 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
158 Args.getArgString(Index - 1) == nullptr) in acceptInternal()
161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
165 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal()
173 Args.getArgString(Index - getNumArgs())); in acceptInternal()
175 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in acceptInternal()
181 if (ArgSize != strlen(Args.getArgString(Index))) { in acceptInternal()
[all …]
DArgList.cpp177 StringRef Cur = getArgString(Index); in GetOrMakeJoinedArgString()
228 return getArgString(MakeIndex(Str)); in MakeArgStringRef()
254 Index, BaseArgs.getArgString(Index), BaseArg)); in MakePositionalArg()
263 Index, BaseArgs.getArgString(Index + 1), BaseArg)); in MakeSeparateArg()
272 BaseArgs.getArgString(Index) + Opt.getName().size(), BaseArg)); in MakeJoinedArg()
DOptTable.cpp344 const char *CStr = Args.getArgString(Index); in parseOneArgGrouped()
363 if (Arg *A = Opt.accept(Args, StringRef(Args.getArgString(Index), ArgSize), in parseOneArgGrouped()
395 const char *Str = Args.getArgString(Index); in ParseOneArg()
434 if (Arg *A = Opt.accept(Args, StringRef(Args.getArgString(Index), ArgSize), in ParseOneArg()
464 if (Args.getArgString(Index) == nullptr) { in ParseArgs()
469 StringRef Str = Args.getArgString(Index); in ParseArgs()
508 ErrorFn((Twine(Args.getArgString(MAI)) + ": missing argument").str()); in parseArgs()
/external/llvm/include/llvm/Option/
DArgList.h221 virtual const char *getArgString(unsigned Index) const = 0;
353 const char *getArgString(unsigned Index) const override { in getArgString() function
387 const char *getArgString(unsigned Index) const override { in getArgString() function
388 return BaseArgs.getArgString(Index); in getArgString()
/external/llvm-project/llvm/include/llvm/Option/
DArgList.h269 virtual const char *getArgString(unsigned Index) const = 0;
411 const char *getArgString(unsigned Index) const override { in getArgString() function
449 const char *getArgString(unsigned Index) const override { in getArgString() function
450 return BaseArgs.getArgString(Index); in getArgString()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DArgList.h269 virtual const char *getArgString(unsigned Index) const = 0;
411 const char *getArgString(unsigned Index) const override { in getArgString() function
445 const char *getArgString(unsigned Index) const override { in getArgString() function
446 return BaseArgs.getArgString(Index); in getArgString()
/external/llvm-project/lld/Common/
DArgs.cpp42 StringRef spelling = args.getArgString(a->getIndex()); in getInteger()
/external/llvm-project/llvm/tools/opt-viewer/
Doptrecord.py152 def getArgString(self, mapping): member in Remark
212 values = [self.getArgString(mapping) for mapping in self.Args]
/external/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
DDlltoolDriver.cpp84 llvm::errs() << Args.getArgString(MissingIndex) << ": missing argument\n"; in dlltoolDriverMain()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-dlltool/
DDlltoolDriver.cpp84 llvm::errs() << Args.getArgString(MissingIndex) << ": missing argument\n"; in dlltoolDriverMain()
/external/llvm/lib/LibDriver/
DLibDriver.cpp116 << Args.getArgString(MissingIndex) << "\", expected " in libDriverMain()
/external/llvm-project/lld/MachO/
DDriverUtils.cpp85 error(Twine(args.getArgString(missingIndex)) + ": missing argument"); in parse()
/external/llvm-project/lld/ELF/
DDriverUtils.cpp134 error(Twine(args.getArgString(missingIndex)) + ": missing argument"); in parse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp280 << Args.getArgString(MissingIndex) << "\", expected " in libDriverMain()
/external/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp279 << Args.getArgString(MissingIndex) << "\", expected " in libDriverMain()
/external/llvm-project/lld/MinGW/
DDriver.cpp107 error(StringRef(args.getArgString(missingIndex)) + ": missing argument"); in parse()
/external/llvm-project/lld/COFF/
DDriverUtils.cpp851 fatal(Twine(args.getArgString(missingIndex)) + ": missing argument"); in parse()
899 fatal(Twine(result.args.getArgString(missingIndex)) + ": missing argument"); in parseDirectives()
/external/clang/tools/driver/
Dcc1as_main.cpp174 << Args.getArgString(MissingArgIndex) << MissingArgCount; in CreateFromArgs()
/external/llvm-project/clang/tools/driver/
Dcc1as_main.cpp190 << Args.getArgString(MissingArgIndex) << MissingArgCount; in CreateFromArgs()

12