Home
last modified time | relevance | path

Searched refs:prefix_set (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/utils/
Dupdate_mir_test_checks.py274 def should_add_line_to_output(input_line, prefix_set): argument
277 if m and m.group(1) in prefix_set:
323 prefix_set = set([prefix for run in run_list for prefix in run.prefixes])
324 log('Rewriting FileCheck prefixes: {}'.format(prefix_set), args.verbose)
327 prefix_set.update(common_prefixes)
358 if should_add_line_to_output(input_line, prefix_set):
361 if should_add_line_to_output(input_line, prefix_set):
381 if should_add_line_to_output(input_line, prefix_set):
387 if should_add_line_to_output(input_line, prefix_set):
397 if should_add_line_to_output(input_line, prefix_set):
[all …]
Dupdate_test_checks.py123 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes])
124 common.debug('Rewriting FileCheck prefixes:', str(prefix_set))
140 common.dump_input_lines(output_lines, ti, prefix_set, ';')
160 if not m or m.group(1) not in prefix_set:
171 if common.should_add_line_to_output(input_line, prefix_set):
Dupdate_llc_test_checks.py124 prefix_set = set([prefix for p in run_list for prefix in p[0]])
125 common.debug('Rewriting FileCheck prefixes:', str(prefix_set))
141 common.dump_input_lines(output_lines, ti, prefix_set, ';')
159 if not m or m.group(1) not in prefix_set:
168 if common.should_add_line_to_output(input_line, prefix_set):
Dupdate_analyze_test_checks.py131 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes])
132 common.debug('Rewriting FileCheck prefixes:', str(prefix_set), file=sys.stderr)
142 if not m or m.group(1) not in prefix_set:
151 if common.should_add_line_to_output(input_line, prefix_set):
Dupdate_mca_test_checks.py436 prefix_set = set([prefix for prefixes, _ in prefix_list
455 if prefix not in prefix_set or prefix in not_prefix_set:
459 if common.should_add_line_to_output(input_line, prefix_set):
510 unused_prefixes = (prefix_set - not_prefix_set) - used_prefixes
Dupdate_cc_test_checks.py271 prefix_set = set([prefix for p in run_list for prefix in p[0]])
290 common.dump_input_lines(output_lines, ti, prefix_set, '//')
317 if m and m.group(1) in prefix_set:
/external/llvm/utils/
Dupdate_llc_test_checks.py123 def should_add_line_to_output(input_line, prefix_set): argument
132 if m and m.group(1) in prefix_set:
202 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes])
204 print >>sys.stderr, 'Rewriting FileCheck prefixes: %s' % (prefix_set,)
214 if not m or m.group(1) not in prefix_set:
223 if should_add_line_to_output(input_line, prefix_set) == True:
Dupdate_test_checks.py255 def should_add_line_to_output(input_line, prefix_set): argument
264 if m and m.group(1) in prefix_set:
340 prefix_set = set([prefix for prefixes, _ in prefix_list for prefix in prefixes])
342 print >>sys.stderr, 'Rewriting FileCheck prefixes: %s' % (prefix_set,)
352 if not m or m.group(1) not in prefix_set:
361 if should_add_line_to_output(input_line, prefix_set) == True:
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py115 def should_add_line_to_output(input_line, prefix_set): argument
124 if m and m.group(1) in prefix_set:
630 def dump_input_lines(output_lines, test_info, prefix_set, comment_string): argument
638 if m and m.group(1) in prefix_set: