Searched refs:PGOpt (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 633 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local 634 if (!PGOpt) in HandlePrefixedOrGroupedOption() 640 if (PGOpt->getFormattingFlag() == cl::Prefix) { in HandlePrefixedOrGroupedOption() 643 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption() 644 return PGOpt; in HandlePrefixedOrGroupedOption() 649 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption() 658 assert(PGOpt->getValueExpectedFlag() != cl::ValueRequired && in HandlePrefixedOrGroupedOption() 662 ProvideOption(PGOpt, OneArgName, StringRef(), 0, nullptr, Dummy); in HandlePrefixedOrGroupedOption() 665 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() 666 } while (PGOpt && Length != Arg.size()); in HandlePrefixedOrGroupedOption() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 657 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local 658 if (!PGOpt) in HandlePrefixedOrGroupedOption() 664 if (PGOpt->getFormattingFlag() == cl::Prefix) { in HandlePrefixedOrGroupedOption() 667 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption() 668 return PGOpt; in HandlePrefixedOrGroupedOption() 673 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption() 682 assert(PGOpt->getValueExpectedFlag() != cl::ValueRequired && in HandlePrefixedOrGroupedOption() 686 ProvideOption(PGOpt, OneArgName, StringRef(), 0, nullptr, Dummy); in HandlePrefixedOrGroupedOption() 689 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() 690 } while (PGOpt && Length != Arg.size()); in HandlePrefixedOrGroupedOption() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | CommandLine.cpp | 761 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local 762 if (!PGOpt) in HandlePrefixedOrGroupedOption() 769 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption() 773 if (MaybeValue.empty() || PGOpt->getFormattingFlag() == cl::AlwaysPrefix || in HandlePrefixedOrGroupedOption() 774 (PGOpt->getFormattingFlag() == cl::Prefix && MaybeValue[0] != '=')) { in HandlePrefixedOrGroupedOption() 776 return PGOpt; in HandlePrefixedOrGroupedOption() 781 return PGOpt; in HandlePrefixedOrGroupedOption() 785 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption() 788 if (PGOpt->getValueExpectedFlag() == cl::ValueRequired) { in HandlePrefixedOrGroupedOption() 789 ErrorParsing |= PGOpt->error("may not occur within a group!"); in HandlePrefixedOrGroupedOption() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | CommandLine.cpp | 757 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local 758 if (!PGOpt) in HandlePrefixedOrGroupedOption() 765 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption() 769 if (MaybeValue.empty() || PGOpt->getFormattingFlag() == cl::AlwaysPrefix || in HandlePrefixedOrGroupedOption() 770 (PGOpt->getFormattingFlag() == cl::Prefix && MaybeValue[0] != '=')) { in HandlePrefixedOrGroupedOption() 772 return PGOpt; in HandlePrefixedOrGroupedOption() 777 return PGOpt; in HandlePrefixedOrGroupedOption() 781 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption() 784 if (PGOpt->getValueExpectedFlag() == cl::ValueRequired) { in HandlePrefixedOrGroupedOption() 785 ErrorParsing |= PGOpt->error("may not occur within a group!"); in HandlePrefixedOrGroupedOption() [all …]
|