Lines Matching +full:flang +full:- +full:build
3 The flang plugin ``flang-omp-report`` takes one Fortran
8 summary from all of the files generated by ``flang-omp-report``.
23 -d --directory Specify which directory to scan. Multiple directories can be searched by
26 -l --log Combine all yaml files into one log (instead of generating a summary)
28 -o --output Specify a directory in which to save the summary file
30 -r --recursive Recursively search directory for all yaml files
34 ``python3 yaml_summarizer.py -d ~/llvm-project/build/ -r``
36 ``python3 yaml_summarizer.py -d "~/llvm-project/build/;~/llvm-project/flang/test/Examples"``
38 ``python3 yaml_summarizer.py -l -o ~/examples/report.yaml``
40 Pseudo-examples:
48 - construct: someOMPconstruct
51 - clause: clauseOne
53 - clause: ClauseTwo
58 $ python3 yaml_summarizer.py -l file_1.yaml file_2.yaml
65 - construct: someOMPConstruct
68 - clause: clauseOne
86 search_pattern -- Search pattern for 'iglob' to use for finding '.yaml' files.
90 # @TODO: Currently *all* yaml files are read - regardless of whether they have
91 # been generated with 'flang-omp-report' or not. This might result in the script
107 data -- Data from yaml.load() for a yaml file. So the type can be 'Any'.
108 result -- Array to add the processed data to.
128 datum -- Data construct containing clauses to check.
129 construct -- Construct to add or increment clause count.
148 data -- Data from yaml.load() for a yaml file. So the type can be 'Any'.
149 result -- Dictionary to add the processed data to.
191 result -- Format result to output.
192 output_file -- File to output result to. If this is 'None' then result will be
196 with open(output_file, "w+", encoding="utf-8") as file:
213 search_directories -- List of directory paths to search for '.yaml' files in.
214 search_pattern -- String pattern formatted for use with glob.iglob to find all
216 result_format -- String representing output format. Current supported strings are: 'log'.
217 output_file -- Path to output file (If value is None, then default to outputting to 'stdout').
232 with open(file, "r", encoding="utf-8") as yaml_file:
246 "-d", "--directory", help="Specify a directory to scan", dest="dir", type=str
249 "-o",
250 "--output",
257 "-r",
258 "--recursive",
269 "-l",
270 "--log",