Lines Matching refs:PipelineText

214                                             StringRef &PipelineText,  in parseFunctionPassPipeline()  argument
219 if (PipelineText.startswith("function(")) { in parseFunctionPassPipeline()
223 PipelineText = PipelineText.substr(strlen("function(")); in parseFunctionPassPipeline()
224 if (!parseFunctionPassPipeline(NestedFPM, PipelineText, VerifyEachPass, in parseFunctionPassPipeline()
226 PipelineText.empty()) in parseFunctionPassPipeline()
228 assert(PipelineText[0] == ')'); in parseFunctionPassPipeline()
229 PipelineText = PipelineText.substr(1); in parseFunctionPassPipeline()
235 size_t End = PipelineText.find_first_of(",)"); in parseFunctionPassPipeline()
236 if (!parseFunctionPassName(FPM, PipelineText.substr(0, End))) in parseFunctionPassPipeline()
241 PipelineText = PipelineText.substr(End); in parseFunctionPassPipeline()
244 if (PipelineText.empty() || PipelineText[0] == ')') in parseFunctionPassPipeline()
247 assert(PipelineText[0] == ','); in parseFunctionPassPipeline()
248 PipelineText = PipelineText.substr(1); in parseFunctionPassPipeline()
253 StringRef &PipelineText, in parseCGSCCPassPipeline() argument
258 if (PipelineText.startswith("cgscc(")) { in parseCGSCCPassPipeline()
262 PipelineText = PipelineText.substr(strlen("cgscc(")); in parseCGSCCPassPipeline()
263 if (!parseCGSCCPassPipeline(NestedCGPM, PipelineText, VerifyEachPass, in parseCGSCCPassPipeline()
265 PipelineText.empty()) in parseCGSCCPassPipeline()
267 assert(PipelineText[0] == ')'); in parseCGSCCPassPipeline()
268 PipelineText = PipelineText.substr(1); in parseCGSCCPassPipeline()
272 } else if (PipelineText.startswith("function(")) { in parseCGSCCPassPipeline()
276 PipelineText = PipelineText.substr(strlen("function(")); in parseCGSCCPassPipeline()
277 if (!parseFunctionPassPipeline(NestedFPM, PipelineText, VerifyEachPass, in parseCGSCCPassPipeline()
279 PipelineText.empty()) in parseCGSCCPassPipeline()
281 assert(PipelineText[0] == ')'); in parseCGSCCPassPipeline()
282 PipelineText = PipelineText.substr(1); in parseCGSCCPassPipeline()
288 size_t End = PipelineText.find_first_of(",)"); in parseCGSCCPassPipeline()
289 if (!parseCGSCCPassName(CGPM, PipelineText.substr(0, End))) in parseCGSCCPassPipeline()
293 PipelineText = PipelineText.substr(End); in parseCGSCCPassPipeline()
296 if (PipelineText.empty() || PipelineText[0] == ')') in parseCGSCCPassPipeline()
299 assert(PipelineText[0] == ','); in parseCGSCCPassPipeline()
300 PipelineText = PipelineText.substr(1); in parseCGSCCPassPipeline()
305 StringRef &PipelineText, in parseModulePassPipeline() argument
310 if (PipelineText.startswith("module(")) { in parseModulePassPipeline()
314 PipelineText = PipelineText.substr(strlen("module(")); in parseModulePassPipeline()
315 if (!parseModulePassPipeline(NestedMPM, PipelineText, VerifyEachPass, in parseModulePassPipeline()
317 PipelineText.empty()) in parseModulePassPipeline()
319 assert(PipelineText[0] == ')'); in parseModulePassPipeline()
320 PipelineText = PipelineText.substr(1); in parseModulePassPipeline()
324 } else if (PipelineText.startswith("cgscc(")) { in parseModulePassPipeline()
328 PipelineText = PipelineText.substr(strlen("cgscc(")); in parseModulePassPipeline()
329 if (!parseCGSCCPassPipeline(NestedCGPM, PipelineText, VerifyEachPass, in parseModulePassPipeline()
331 PipelineText.empty()) in parseModulePassPipeline()
333 assert(PipelineText[0] == ')'); in parseModulePassPipeline()
334 PipelineText = PipelineText.substr(1); in parseModulePassPipeline()
339 } else if (PipelineText.startswith("function(")) { in parseModulePassPipeline()
343 PipelineText = PipelineText.substr(strlen("function(")); in parseModulePassPipeline()
344 if (!parseFunctionPassPipeline(NestedFPM, PipelineText, VerifyEachPass, in parseModulePassPipeline()
346 PipelineText.empty()) in parseModulePassPipeline()
348 assert(PipelineText[0] == ')'); in parseModulePassPipeline()
349 PipelineText = PipelineText.substr(1); in parseModulePassPipeline()
355 size_t End = PipelineText.find_first_of(",)"); in parseModulePassPipeline()
356 if (!parseModulePassName(MPM, PipelineText.substr(0, End))) in parseModulePassPipeline()
361 PipelineText = PipelineText.substr(End); in parseModulePassPipeline()
364 if (PipelineText.empty() || PipelineText[0] == ')') in parseModulePassPipeline()
367 assert(PipelineText[0] == ','); in parseModulePassPipeline()
368 PipelineText = PipelineText.substr(1); in parseModulePassPipeline()
376 StringRef PipelineText, bool VerifyEachPass, in parsePassPipeline() argument
381 if (parseModulePassPipeline(MPM, PipelineText, VerifyEachPass, DebugLogging)) in parsePassPipeline()
382 return PipelineText.empty(); in parsePassPipeline()
387 PipelineText.substr(0, PipelineText.find_first_of(",)")); in parsePassPipeline()
395 if (!parseCGSCCPassPipeline(CGPM, PipelineText, VerifyEachPass, in parsePassPipeline()
397 !PipelineText.empty()) in parsePassPipeline()
407 if (!parseFunctionPassPipeline(FPM, PipelineText, VerifyEachPass, in parsePassPipeline()
409 !PipelineText.empty()) in parsePassPipeline()