Home
last modified time | relevance | path

Searched refs:PGOpt (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp379 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local
380 if (PGOpt == 0) return 0; in HandlePrefixedOrGroupedOption()
385 if (PGOpt->getFormattingFlag() == cl::Prefix) { in HandlePrefixedOrGroupedOption()
388 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption()
389 return PGOpt; in HandlePrefixedOrGroupedOption()
394 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption()
403 assert(PGOpt->getValueExpectedFlag() != cl::ValueRequired && in HandlePrefixedOrGroupedOption()
406 ErrorParsing |= ProvideOption(PGOpt, OneArgName, in HandlePrefixedOrGroupedOption()
410 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()
411 } while (PGOpt && Length != Arg.size()); in HandlePrefixedOrGroupedOption()
[all …]
/external/llvm/lib/Support/
DCommandLine.cpp633 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/
DCommandLine.cpp652 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local
653 if (!PGOpt) in HandlePrefixedOrGroupedOption()
659 if (PGOpt->getFormattingFlag() == cl::Prefix) { in HandlePrefixedOrGroupedOption()
662 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption()
663 return PGOpt; in HandlePrefixedOrGroupedOption()
668 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption()
677 assert(PGOpt->getValueExpectedFlag() != cl::ValueRequired && in HandlePrefixedOrGroupedOption()
681 ProvideOption(PGOpt, OneArgName, StringRef(), 0, nullptr, Dummy); in HandlePrefixedOrGroupedOption()
684 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()
685 } while (PGOpt && Length != Arg.size()); in HandlePrefixedOrGroupedOption()
[all …]