| /src/external/apache2/llvm/dist/clang/tools/libclang/ |
| CXStoredDiagnostic.cpp | 54 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); 55 if (!Option.empty()) { 57 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); 58 return cxstring::createDup((Twine("-W") + Option).str());
|
| /src/external/apache2/llvm/dist/llvm/lib/Option/ |
| Option.cpp | 1 //===- Option.cpp - Abstract Driver Options -------------------------------===// 12 #include "llvm/Option/Arg.h" 13 #include "llvm/Option/ArgList.h" 14 #include "llvm/Option/Option.h" 15 #include "llvm/Option/OptTable.h" 26 Option::Option(const OptTable::Info *info, const OptTable *owner) 28 // Multi-level aliases are not supported. This just simplifies option 37 "Cannot provide alias args to a flag option.") [all...] |
| OptTable.cpp | 1 //===- OptTable.cpp - Option Table Implementation -------------------------===// 9 #include "llvm/Option/OptTable.h" 13 #include "llvm/Option/Arg.h" 14 #include "llvm/Option/ArgList.h" 15 #include "llvm/Option/OptSpecifier.h" 16 #include "llvm/Option/Option.h" 82 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && 84 return B.Kind == Option::JoinedClass [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| CheckerRegistryData.cpp | 54 for (const CmdLineOption &Option : CmdLineOptions) { 56 Option.dumpToStream(Out); 74 for (const CmdLineOption &Option : CmdLineOptions) { 76 Option.dumpToStream(Out); 107 // If the package doesn't exist, assume the option refers to a single 129 // Find the maximum option length. 180 Out << "OVERVIEW: Clang Static Analyzer Checker and Package Option List\n\n"; 191 for (const CmdLineOption &Option : Checker.CmdLineOptions) { 192 OptionMap.insert({Checker.FullName, Option}); 197 for (const CmdLineOption &Option : Package.CmdLineOptions) [all...] |
| /src/external/apache2/llvm/dist/clang/docs/tools/ |
| dump_format_style.py | 34 class Option(object): 162 option = Option(str(field_name), str(field_type), comment) variable in class:read_options.State 163 options.append(option) 211 for option in options: 212 if not option.type in ['bool', 'unsigned', 'int', 'std::string', 216 if option.type in enums: 217 option.enum = enums[option.type] 218 elif option.type in nested_structs [all...] |
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangOptionDocEmitter.cpp | 27 Record *Option; 43 // Build the tree of groups. The root in the tree is the fake option group 50 for (Record *R : Records.getAllDerivedDefinitions("Option")) 77 for (Record *R : Records.getAllDerivedDefinitions("Option")) { 152 // Get the number of arguments expected for an option, or -1 if any number of 154 unsigned getNumArgsForKind(Record *OptionKind, const Record *Option) { 160 .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs")) 196 bool canSphinxCopeWithOption(const Record *Option) { 198 // such as /? by suppressing them from the option list. 199 for (char C : Option->getValueAsString("Name") [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| cvparser.c | 268 UINT8 Option; 276 Option = *(Address + 1); 282 if ((Option == FILENAME_COMMENT) || 283 (Option == PARENTFILENAME_COMMENT)) 638 * Increment past the comment option and point the 809 /* Not a valid comment option. Revert the AML */
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGLoopInfo.cpp | 611 LoopHintAttr::OptionType Option = LoopHintAttr::Unroll; 625 Option = LoopHintAttr::UnrollCount; 635 Option = LH->getOption(); 640 switch (Option) { 675 switch (Option) { 703 switch (Option) { 725 switch (Option) { 748 switch (Option) { 762 switch (Option) {
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaStmtAttr.cpp | 93 LoopHintAttr::OptionType Option; 96 auto SetHints = [&Option, &State](LoopHintAttr::OptionType O, 98 Option = O; 121 "Attribute must have valid option info."); 122 Option = llvm::StringSwitch<LoopHintAttr::OptionType>( 136 if (Option == LoopHintAttr::VectorizeWidth) { 145 } else if (Option == LoopHintAttr::InterleaveCount || 146 Option == LoopHintAttr::UnrollCount || 147 Option == LoopHintAttr::PipelineInitiationInterval) { 152 } else if (Option == LoopHintAttr::Vectorize | [all...] |
| /src/external/apache2/llvm/dist/clang/tools/driver/ |
| driver.cpp | 30 #include "llvm/Option/ArgList.h" 31 #include "llvm/Option/OptTable.h" 32 #include "llvm/Option/Option.h" 94 /// 'xOPTION': Removes all instances of the literal argument OPTION. 96 /// 'XOPTION': Removes all instances of the literal argument OPTION, 140 auto Option = Edit.substr(1); 142 if (Option == Args[i]) { 218 // them at index 0, as an option like '-cc1' must remain the first. 240 // The first instance of '#' should be replaced with '=' in each option [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Option/ |
| Option.h | 1 //===- Option.h - Abstract Driver Options -----------------------*- C++ -*-===// 14 #include "llvm/Option/OptSpecifier.h" 15 #include "llvm/Option/OptTable.h" 40 /// Option - Abstract representation for a single form of driver 43 /// An Option class represents a form of option that the driver 44 /// takes, for example how many arguments the option has and how 45 /// they can be provided. Individual option instances store 46 /// additional information about what group the option is a member 47 /// of (if any), if the option is an alias, and a number o [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| llvm-readobj.cpp | 737 cl::Option *Option = OptEntry.getValue(); 739 apply(Option, cl::Grouping);
|
| /src/external/bsd/jemalloc.old/dist/scripts/ |
| gen_travis.py | 63 class Option(object): 77 return Option(Option.Type.COMPILER, value) 81 return Option(Option.Type.COMPILER_FLAG, value) 85 return Option(Option.Type.CONFIGURE_FLAG, value) 89 return Option(Option.Type.MALLOC_CONF, value) 93 return Option(Option.Type.FEATURE, value [all...] |
| /src/external/bsd/jemalloc/dist/scripts/ |
| gen_gh_actions.py | 34 class Option(object): 48 return Option(Option.Type.COMPILER, value) 52 return Option(Option.Type.COMPILER_FLAG, value) 56 return Option(Option.Type.CONFIGURE_FLAG, value) 60 return Option(Option.Type.MALLOC_CONF, value) 64 return Option(Option.Type.FEATURE, value [all...] |
| gen_travis.py | 63 class Option(object): 77 return Option(Option.Type.COMPILER, value) 81 return Option(Option.Type.COMPILER_FLAG, value) 85 return Option(Option.Type.CONFIGURE_FLAG, value) 89 return Option(Option.Type.MALLOC_CONF, value) 93 return Option(Option.Type.FEATURE, value [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/TextAPI/ |
| TextStub.cpp | 242 enum Option { Clients, Libraries }; 351 struct MappingContextTraits<MetadataSection, MetadataSection::Option> { 353 MetadataSection::Option &OptionKind) { 356 case MetadataSection::Option::Clients: 359 case MetadataSection::Option::Libraries: 363 llvm_unreachable("unexpected option for metadata"); 1067 auto OptionKind = MetadataSection::Option::Clients; 1070 OptionKind = MetadataSection::Option::Libraries;
|
| /src/external/bsd/cron/dist/ |
| crontab.c | 58 static enum opt_t Option; 115 switch (Option) { 117 usage("unrecognized option"); 196 Option = opt_unknown; 202 usage("bad debug option"); 218 if (Option != opt_unknown) 220 Option = opt_list; 223 if (Option != opt_unknown) 225 Option = opt_delete; 228 if (Option != opt_unknown [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| Diagnostic.cpp | 312 StringRef Option = 314 if (!DiagName.empty() && DiagName != Option) 319 if (Option.empty()) 322 llvm::errs() << Option;
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| LoopVectorize.cpp | 206 // Option prefer-predicate-over-epilogue indicates that an epilogue is undesired, 212 enum Option { 219 static cl::opt<PreferPredicateTy::Option> PreferPredicateOverEpilogue( 2651 // If an override option has been passed in for interleaved accesses, use it. 9965 // If an override option has been passed in for interleaved accesses, use it.
|
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParsePragma.cpp | 717 case tok::OOS_DEFAULT: // FIXME: Add this cli option when it makes sense. 1088 Token Option; 1093 static std::string PragmaLoopHintString(Token PragmaName, Token Option) { 1112 // It is possible that the loop hint has no option identifier, such as 1114 IdentifierInfo *OptionInfo = Info->Option.is(tok::identifier) 1115 ? Info->Option.getIdentifierInfo() 1118 Actions.Context, Info->Option.getLocation(), OptionInfo); 1140 // If no option is specified the argument is assumed to be a constant expr. 1146 if (OptionInfo) { // Pragma Unroll does not specify an option. 1197 << PragmaLoopHintString(Info->PragmaName, Info->Option); [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| CommandLine.h | 52 /// cl Namespace - This namespace contains all of the command line option 58 // ParseCommandLineOptions - Command line option processing entry point. 96 // PrintOptionValues - Print option values. 97 // With -print-options print the difference between option values and defaults. 98 // With -print-all-options print all option values. 103 class Option; 105 /// Adds a new option for parsing and provides the option it refers to. 107 /// \param O pointer to the option 108 /// \param Name the string name for the option to handle during parsin [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| CommandLine.cpp | 82 void Option::anchor() {} 121 // Option predicates... 122 static inline bool isGrouping(const Option *O) { 125 static inline bool isPrefixedOrGrouping(const Option *O) { 159 SmallVector<Option*, 4> DefaultOptions; 161 // This collects the different option categories that have been registered. 178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { 182 errs() << ProgramName << ": CommandLine Error: Option '" << Name 198 void addLiteralOption(Option &Opt, StringRef Name) { 207 void addOption(Option *O, SubCommand *SC) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/ |
| HexagonAsmParser.cpp | 511 StringRef Option = Parser.getTok().getString(); 513 if (Option.compare_lower("endloop01") == 0) { 516 } else if (Option.compare_lower("endloop0") == 0) { 518 } else if (Option.compare_lower("endloop1") == 0) { 520 } else if (Option.compare_lower("mem_noshuf") == 0) { 525 } else if (Option.compare_lower("mem_no_order") == 0) { 528 return getParser().Error(IDLoc, llvm::Twine("'") + Option + 529 "' is not a valid bundle option");
|
| /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| Clang.cpp | 38 #include "llvm/Option/ArgList.h" 77 // the -dwarf-debug-flags option. 162 StringRef Option = A.getOption().getName(); 172 D.Diag(diag::err_drv_invalid_value) << Option << RefStep; 177 D.Diag(diag::err_drv_invalid_value) << Option << RefStep; 198 // No option is the same as "all". 248 // The input name did not match any known option string. 252 // The option was specified without a float or double suffix. 262 // Duplicate option specified. 267 // Mark the matched option as found. Do not allow duplicate specifiers [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
| AsmParser.cpp | 3530 // In case there is a -g option as well as debug info from directive .file, 3531 // we turn off the -g option, directly use the existing debug info instead. 4772 StringRef Option; 4775 "invalid option for '.bundle_lock' directive"; 4778 if (check(parseIdentifier(Option), Loc, kInvalidOptionError) || 4779 check(Option != "align_to_end", Loc, kInvalidOptionError) || parseEOL())
|