/external/llvm-project/llvm/lib/Support/ |
D | CommandLine.cpp | 105 static size_t argPlusPrefixesSize(StringRef ArgName, size_t Pad = DefaultPad) { in argPlusPrefixesSize() argument 106 size_t Len = ArgName.size(); in argPlusPrefixesSize() 112 static SmallString<8> argPrefix(StringRef ArgName, size_t Pad = DefaultPad) { in argPrefix() argument 117 Prefix.append(ArgName.size() > 1 ? ArgPrefixLong : ArgPrefix); in argPrefix() 134 StringRef ArgName; member in __anon52a1001a0111::PrintArg 137 PrintArg(StringRef ArgName, size_t Pad = DefaultPad) : ArgName(ArgName), Pad(Pad) {} in PrintArg() argument 142 OS << argPrefix(Arg.ArgName, Arg.Pad) << Arg.ArgName; in operator <<() 626 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument 636 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence() 647 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | CommandLine.cpp | 105 static size_t argPlusPrefixesSize(StringRef ArgName, size_t Pad = DefaultPad) { in argPlusPrefixesSize() argument 106 size_t Len = ArgName.size(); in argPlusPrefixesSize() 112 static SmallString<8> argPrefix(StringRef ArgName, size_t Pad = DefaultPad) { in argPrefix() argument 117 Prefix.append(ArgName.size() > 1 ? ArgPrefixLong : ArgPrefix); in argPrefix() 134 StringRef ArgName; member in __anonbd45570e0111::PrintArg 137 PrintArg(StringRef ArgName, size_t Pad = DefaultPad) : ArgName(ArgName), Pad(Pad) {} in PrintArg() argument 142 OS << argPrefix(Arg.ArgName, Arg.Pad) << Arg.ArgName; in operator <<() 622 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument 632 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence() 643 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence() [all …]
|
/external/swiftshader/tests/SystemBenchmarks/ |
D | LRUCacheBenchmarks.cpp | 94 BENCHMARK_REGISTER_F(LRUCacheBenchmark, AddInt)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("c… 112 …(LRUCacheBenchmark, GetIntCacheHit)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("cache-size"); 129 …LRUCacheBenchmark, GetIntCacheMiss)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("cache-size"); 150 …acheBenchmark, AddRandomComplexKey)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("cache-size"); 180 …heBenchmark, GetComplexKeyCacheHit)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("cache-size"); 210 …eBenchmark, GetComplexKeyCacheMiss)->RangeMultiplier(8)->Range(1, 0x100000)->ArgName("cache-size");
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 494 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument 504 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence() 516 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence() 522 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument 554 return CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value); in ProvideOption() 560 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 572 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 1110 StringRef ArgName = ""; in ParseCommandLineOptions() local 1147 ArgName = argv[i] + 1; in ParseCommandLineOptions() 1149 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 519 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument 529 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence() 540 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence() 546 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument 578 return CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value); in ProvideOption() 584 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 596 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 1137 StringRef ArgName = ""; in ParseCommandLineOptions() local 1174 ArgName = StringRef(argv[i] + 1); in ParseCommandLineOptions() 1176 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions() [all …]
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 226 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 336 virtual bool addOccurrence(unsigned pos, StringRef ArgName, StringRef Value, 340 bool error(const Twine &Message, StringRef ArgName = StringRef()); 740 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 745 ArgVal = ArgName; 837 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 865 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 891 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 913 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val); 937 bool parse(Option &O, StringRef ArgName, StringRef Arg, [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CommandLine.h | 232 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 350 virtual bool addOccurrence(unsigned pos, StringRef ArgName, StringRef Value, 354 bool error(const Twine &Message, StringRef ArgName = StringRef()); 754 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 759 ArgVal = ArgName; 851 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 879 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 905 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 927 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val); 951 bool parse(Option &O, StringRef ArgName, StringRef Arg, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CommandLine.h | 261 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 387 virtual bool addOccurrence(unsigned pos, StringRef ArgName, StringRef Value, 391 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()… 833 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 838 ArgVal = ArgName; 927 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 954 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 980 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 1002 bool parse(Option &O, StringRef ArgName, StringRef Arg, long &Val); 1024 bool parse(Option &O, StringRef ArgName, StringRef Arg, long long &Val); [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | CommandLine.h | 253 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 379 virtual bool addOccurrence(unsigned pos, StringRef ArgName, StringRef Value, 383 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()… 824 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 829 ArgVal = ArgName; 918 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 945 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 971 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 993 bool parse(Option &O, StringRef ArgName, StringRef Arg, long &Val); 1015 bool parse(Option &O, StringRef ArgName, StringRef Arg, long long &Val); [all …]
|
/external/angle/third_party/abseil-cpp/absl/synchronization/ |
D | blocking_counter_benchmark.cc | 34 ->ArgName("iterations") 74 ->ArgName("threads")
|
/external/clang/include/clang/Frontend/ |
D | CommandLineSourceLoc.h | 65 inline bool parse(Option &O, StringRef ArgName, StringRef ArgValue, 71 parse(Option &O, StringRef ArgName, StringRef ArgValue, in parse() argument
|
/external/compiler-rt/lib/profile/ |
D | InstrProfiling.h | 105 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
|
/external/llvm-project/llvm/utils/TableGen/ |
D | GICombinerEmitter.cpp | 182 bool parseInstructionMatcher(const CodeGenTarget &Target, StringInit *ArgName, 187 StringInit *ArgName, const Init &Arg); 398 const CodeGenTarget &Target, StringInit *ArgName, const Init &Arg, in parseInstructionMatcher() argument 406 StringRef Name = ArgName ? ArgName->getValue() : ""; in parseInstructionMatcher() 453 StringInit *ArgName, in parseWipMatchOpcodeMatcher() argument 457 StringRef Name = ArgName ? ArgName->getValue() : ""; in parseWipMatchOpcodeMatcher() 464 return ArgName && X.getPatternSymbol() == ArgName->getValue(); in parseWipMatchOpcodeMatcher()
|
D | CodeGenInstruction.cpp | 62 StringRef ArgName; in CGIOperandList() local 65 ArgName = OutDI->getArgNameStr(i); in CGIOperandList() 68 ArgName = InDI->getArgNameStr(i-NumDefs); in CGIOperandList() 126 if (ArgName.empty()) in CGIOperandList() 130 if (!OperandNames.insert(std::string(ArgName)).second) in CGIOperandList() 137 Rec, std::string(ArgName), std::string(PrintMethod), in CGIOperandList()
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfiling.h | 131 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 583 std::string Type, ArgName, ArgSizeName, RangeName; member in __anon307181880211::VariadicArgument 594 ArgName(getLowerName().str() + "_"), ArgSizeName(ArgName + "Size"), in VariadicArgument() 598 const std::string &getArgName() const { return ArgName; } in getArgName() 609 << " return " << ArgName << "; }\n"; in writeAccessors() 611 << " return " << ArgName << " + " << ArgSizeName << "; }\n"; in writeAccessors() 620 OS << ArgName << ", " << ArgSizeName; in writeCloneArgs() 631 << " + " << ArgSizeName << ", " << ArgName << ");\n"; in writeCtorBody() 636 << ArgName << "(new (Ctx, 16) " << getType() << "[" in writeCtorInitializers() 641 OS << ArgSizeName << "(0), " << ArgName << "(nullptr)"; in writeCtorDefaultInitializers() 655 OS << " " << getType() << " *" << ArgName << ";"; in writeDeclarations() [all …]
|
/external/llvm-project/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 650 std::string Type, ArgName, ArgSizeName, RangeName; member in __anona61259f60211::VariadicArgument 665 ArgName(getLowerName().str() + "_"), ArgSizeName(ArgName + "Size"), in VariadicArgument() 669 const std::string &getArgName() const { return ArgName; } in getArgName() 680 << " return " << ArgName << "; }\n"; in writeAccessors() 682 << " return " << ArgName << " + " << ArgSizeName << "; }\n"; in writeAccessors() 691 OS << ArgName << ", " << ArgSizeName; in writeCloneArgs() 706 << ArgSizeName << ", " << ArgName << ");\n"; in writeCtorBody() 711 << ArgName << "(new (Ctx, 16) " << getType() << "[" in writeCtorInitializers() 716 OS << ArgSizeName << "(0), " << ArgName << "(nullptr)"; in writeCtorDefaultInitializers() 730 OS << " " << getType() << " *" << ArgName << ";"; in writeDeclarations() [all …]
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | CommandLineSourceLoc.h | 110 inline bool parse(Option &O, StringRef ArgName, StringRef ArgValue, 116 parse(Option &O, StringRef ArgName, StringRef ArgValue, in parse() argument
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 294 auto ArgName = Arg.getName(); in addImplicitArgs() local 295 NewFArgIt->setName(ArgName); in addImplicitArgs() 298 (NewFArgIt++)->setName(Twine("__size_") + ArgName); in addImplicitArgs() 299 (NewFArgIt++)->setName(Twine("__format_") + ArgName); in addImplicitArgs()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 310 auto ArgName = Arg.getName(); in addImplicitArgs() local 311 NewFArgIt->setName(ArgName); in addImplicitArgs() 314 (NewFArgIt++)->setName(Twine("__size_") + ArgName); in addImplicitArgs() 315 (NewFArgIt++)->setName(Twine("__format_") + ArgName); in addImplicitArgs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 310 auto ArgName = Arg.getName(); in addImplicitArgs() local 311 NewFArgIt->setName(ArgName); in addImplicitArgs() 314 (NewFArgIt++)->setName(Twine("__size_") + ArgName); in addImplicitArgs() 315 (NewFArgIt++)->setName(Twine("__format_") + ArgName); in addImplicitArgs()
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 56 std::string ArgName; in CGIOperandList() local 59 ArgName = OutDI->getArgName(i); in CGIOperandList() 62 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList() 114 if (ArgName.empty()) in CGIOperandList() 117 if (!OperandNames.insert(ArgName).second) in CGIOperandList() 121 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
|
/external/llvm-project/llvm/lib/TableGen/ |
D | DetailedRecordsBackend.cpp | 146 for (const Init *ArgName : Args) { in printTemplateArgs() local 147 const RecordVal *Value = Rec->getValue(ArgName); in printTemplateArgs()
|
/external/llvm-project/llvm/include/llvm/Remarks/ |
D | HotnessThresholdParser.h | 49 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, in parse() argument
|
/external/swiftshader/tests/ReactorBenchmarks/ |
D | ReactorBenchmarks.cpp | 70 BENCHMARK_REGISTER_F(Coroutines, Fibonacci)->RangeMultiplier(8)->Range(1, 0x1000000)->ArgName("iter…
|