Home
last modified time | relevance | path

Searched refs:ArgName (Results 1 – 25 of 39) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp233 StringRef ArgName, in CommaSeparateAndAddOccurence() argument
244 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurence()
256 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) in CommaSeparateAndAddOccurence()
265 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument
302 return CommaSeparateAndAddOccurence(Handler, i, ArgName, Value); in ProvideOption()
308 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
319 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
624 StringRef ArgName = ""; in ParseCommandLineOptions() local
673 ArgName = argv[i]+1; in ParseCommandLineOptions()
675 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions()
[all …]
/external/llvm/lib/Support/
DCommandLine.cpp494 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-7.0/llvm/lib/Support/
DCommandLine.cpp505 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument
515 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence()
526 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence()
532 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument
564 return CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value); in ProvideOption()
570 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
582 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
1182 StringRef ArgName = ""; in ParseCommandLineOptions() local
1219 ArgName = StringRef(argv[i] + 1); in ParseCommandLineOptions()
1221 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp514 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument
524 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence()
535 return Handler->addOccurrence(pos, ArgName, Value, MultiArg); in CommaSeparateAndAddOccurrence()
541 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument
573 return CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value); in ProvideOption()
579 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
591 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
1132 StringRef ArgName = ""; in ParseCommandLineOptions() local
1169 ArgName = StringRef(argv[i] + 1); in ParseCommandLineOptions()
1171 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions()
[all …]
/external/llvm/include/llvm/Support/
DCommandLine.h226 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-7.0/llvm/include/llvm/Support/
DCommandLine.h241 virtual bool handleOccurrence(unsigned pos, StringRef ArgName,
362 virtual bool addOccurrence(unsigned pos, StringRef ArgName, StringRef Value,
366 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()…
771 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) {
776 ArgVal = ArgName;
868 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val);
896 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val);
922 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val);
944 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val);
968 bool parse(Option &O, StringRef ArgName, StringRef Arg,
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCommandLine.h232 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/clang/utils/TableGen/
DClangAttrEmitter.cpp583 std::string Type, ArgName, ArgSizeName, RangeName; member in __anonf1952ce10211::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 …]
DNeonEmitter.cpp478 std::pair<Type, std::string> emitDagArg(Init *Arg, std::string ArgName);
1764 Intrinsic::DagEmitter::emitDagArg(Init *Arg, std::string ArgName) { in emitDagArg() argument
1765 if (ArgName.size()) { in emitDagArg()
1768 assert_with_loc(Intr.Variables.find(ArgName) != Intr.Variables.end(), in emitDagArg()
1770 Variable &V = Intr.Variables[ArgName]; in emitDagArg()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h160 virtual bool handleOccurrence(unsigned pos, StringRef ArgName,
254 bool addOccurrence(unsigned pos, StringRef ArgName,
258 bool error(const Twine &Message, StringRef ArgName = StringRef());
625 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) {
630 ArgVal = ArgName;
718 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val);
747 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val);
772 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val);
794 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val);
815 bool parse(Option &O, StringRef ArgName, StringRef Arg,
[all …]
/external/clang/include/clang/Frontend/
DCommandLineSourceLoc.h65 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/
DInstrProfiling.h105 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
/external/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLImageTypeLoweringPass.cpp294 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600OpenCLImageTypeLoweringPass.cpp311 auto ArgName = Arg.getName(); in addImplicitArgs() local
312 NewFArgIt->setName(ArgName); in addImplicitArgs()
315 (NewFArgIt++)->setName(Twine("__size_") + ArgName); in addImplicitArgs()
316 (NewFArgIt++)->setName(Twine("__format_") + ArgName); in addImplicitArgs()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp54 std::string ArgName; in CGIOperandList() local
57 ArgName = OutDI->getArgName(i); in CGIOperandList()
60 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList()
109 if (ArgName.empty()) in CGIOperandList()
112 if (!OperandNames.insert(ArgName).second) in CGIOperandList()
116 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenInstruction.cpp56 StringRef ArgName; in CGIOperandList() local
59 ArgName = OutDI->getArgNameStr(i); in CGIOperandList()
62 ArgName = InDI->getArgNameStr(i-NumDefs); in CGIOperandList()
115 if (ArgName.empty()) in CGIOperandList()
118 if (!OperandNames.insert(ArgName).second) in CGIOperandList()
122 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp56 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/swiftshader/third_party/subzero/pydir/
Dgen_arm32_reg_tables.py14 return (ArgName for ArgName in inspect.getargspec(Method).args
15 if ArgName != 'self')
/external/clang/lib/Edit/
DEditedSource.cpp33 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc() local
36 if (!ArgName.empty()) { in deconstructMacroArgLoc()
37 II = &IdentTable.get(ArgName); in deconstructMacroArgLoc()
/external/libcxx/utils/google-benchmark/test/
Dreporter_output_test.cc199 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
/external/google-benchmark/test/
Dreporter_output_test.cc199 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3115 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local
3116 ArgTypes[i].getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthMsgSendStretCallExpr()
3117 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr()
3121 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local
3122 MsgExprs[i]->getType().getAsStringInternal(ArgName, in SynthMsgSendStretCallExpr()
3124 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr()
4205 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
4218 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4224 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4225 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
[all …]
DRewriteObjC.cpp3406 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
3419 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3425 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3426 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3435 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
3441 ArgName = TypeString + ArgName; in SynthesizeBlockImpl()
3442 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_register.cc317 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName() function in benchmark::internal::Benchmark
/external/google-benchmark/src/
Dbenchmark_register.cc317 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName() function in benchmark::internal::Benchmark

12