Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DCommandLine.cpp275 StringRef ArgName, StringRef Value, in CommaSeparateAndAddOccurrence() argument
285 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence()
297 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) in CommaSeparateAndAddOccurrence()
306 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument
337 return CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value); in ProvideOption()
343 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
354 if (CommaSeparateAndAddOccurrence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption()
832 StringRef ArgName = ""; in ParseCommandLineOptions() local
880 ArgName = argv[i]+1; in ParseCommandLineOptions()
882 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions()
[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/clang/utils/TableGen/
DClangAttrEmitter.cpp509 std::string Type, ArgName, ArgSizeName, RangeName; member in __anonf252f7a50111::VariadicArgument
513 : Argument(Arg, Attr), Type(T), ArgName(getLowerName().str() + "_"), in VariadicArgument()
514 ArgSizeName(ArgName + "Size"), RangeName(getLowerName()) {} in VariadicArgument()
525 << " return " << ArgName << "; }\n"; in writeAccessors()
527 << " return " << ArgName << " + " << ArgSizeName << "; }\n"; in writeAccessors()
535 OS << ArgName << ", " << ArgSizeName; in writeCloneArgs()
544 << " + " << ArgSizeName << ", " << ArgName << ");"; in writeCtorBody()
548 << ArgName << "(new (Ctx, 16) " << getType() << "[" in writeCtorInitializers()
552 OS << ArgSizeName << "(0), " << ArgName << "(nullptr)"; in writeCtorDefaultInitializers()
563 OS << " " << getType() << " *" << ArgName << ";"; in writeDeclarations()
[all …]
DNeonEmitter.cpp465 std::pair<Type, std::string> emitDagArg(Init *Arg, std::string ArgName);
1755 Intrinsic::DagEmitter::emitDagArg(Init *Arg, std::string ArgName) { in emitDagArg() argument
1756 if (ArgName.size()) { in emitDagArg()
1759 assert_with_loc(Intr.Variables.find(ArgName) != Intr.Variables.end(), in emitDagArg()
1761 Variable &V = Intr.Variables[ArgName]; in emitDagArg()
/external/llvm/include/llvm/Support/
DCommandLine.h169 virtual bool handleOccurrence(unsigned pos, StringRef ArgName,
273 bool addOccurrence(unsigned pos, StringRef ArgName,
277 bool error(const Twine &Message, StringRef ArgName = StringRef());
662 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) {
667 ArgVal = ArgName;
754 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val);
783 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val);
808 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val);
830 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val);
851 bool parse(Option &O, StringRef ArgName, StringRef Arg,
[all …]
/external/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()
108 if (ArgName.empty()) in CGIOperandList()
111 if (!OperandNames.insert(ArgName).second) in CGIOperandList()
115 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp3172 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local
3173 ArgTypes[i].getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthMsgSendStretCallExpr()
3174 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr()
3178 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local
3179 MsgExprs[i]->getType().getAsStringInternal(ArgName, in SynthMsgSendStretCallExpr()
3181 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr()
4313 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
4326 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4332 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4333 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
[all …]
DRewriteObjC.cpp3439 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
3452 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3458 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3459 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3468 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local
3474 ArgName = TypeString + ArgName; in SynthesizeBlockImpl()
3475 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
/external/llvm/lib/TableGen/
DRecord.cpp1096 std::string ArgName; in ForeachHelper() local
1098 ArgName = MHSd->getArgName(i); in ForeachHelper()
1108 args.push_back(std::make_pair(Arg, ArgName)); in ForeachHelper()
/external/clang/lib/Driver/
DTools.cpp117 const char *ArgName, in addDirectoryList() argument
125 StringRef Name(ArgName); in addDirectoryList()
137 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList()
139 CmdArgs.push_back(ArgName); in addDirectoryList()
144 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs.substr(0, Delim))); in addDirectoryList()
146 CmdArgs.push_back(ArgName); in addDirectoryList()
155 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList()
157 CmdArgs.push_back(ArgName); in addDirectoryList()
162 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs)); in addDirectoryList()
164 CmdArgs.push_back(ArgName); in addDirectoryList()
/external/llvm/docs/
DCommandLine.rst1635 bool parse(cl::Option &O, const char *ArgName, const std::string &ArgValue,
1655 bool FileSizeParser::parse(cl::Option &O, const char *ArgName,