| /llvm-project-15.0.7/flang/examples/FlangOmpReport/ |
| H A D | yaml_summarizer.py | 174 def output_result(yaml: YAML, result, output_file: Path): 183 if output_file: 184 with open(output_file, 'w+', encoding='utf-8') as file: 185 if output_file.suffix == ".yaml": 193 result_format: str, output_file: Path): 225 output_result(yaml, result, output_file) 265 output_file = Path(args.output).joinpath("summary.yaml") 267 output_file = Path(args.output) 269 output_file = None 271 return (search_directory, search_pattern, result_format, output_file) [all …]
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | reports.py | 18 def __init__(self, output_file): argument 19 self.output_file = output_file 68 with open(self.output_file, 'w') as file: 88 def __init__(self, output_file): argument 89 self.output_file = output_file 97 with open(self.output_file, 'w') as file: 195 def __init__(self, output_file): argument 196 self.output_file = output_file 237 with open(self.output_file, 'w') as file: 243 def __init__(self, output_file): argument [all …]
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llgdb-tests/ |
| H A D | test_debuginfo.pl | 29 my $output_file = "$output_dir/$input_filename.gdb.output"; 70 system("$my_debugger $debugger_options $debugger_script_file $executable_file > $output_file 2>&1"); 73 system("FileCheck", "-input-file", "$output_file", "$testcase_file"); 76 system("cat", "$output_file");
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | GCDAProfiling.c | 69 static FILE *output_file = NULL; variable 222 fseek(output_file, 0L, SEEK_END); in map_file() 223 file_size = ftell(output_file); in map_file() 338 output_file = fdopen(fd, mode); in llvm_gcda_start_file() 383 if (!output_file) return; in llvm_gcda_emit_function() 401 if (!output_file) return; in llvm_gcda_emit_arcs() 453 if (!output_file) return; in llvm_gcda_summary_info() 513 if (output_file) { in llvm_gcda_end_file() 523 fflush(output_file); in llvm_gcda_end_file() 525 fclose(output_file); in llvm_gcda_end_file() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/afl/ |
| H A D | afl_driver.cpp | 108 static FILE *output_file = stderr; variable 138 output_file = stderr_duplicate_stream; in maybe_duplicate_stderr() 155 int output_fileno = fileno(output_file); in dup_and_close_stderr() 171 vfprintf(output_file, Fmt, ap); in Printf() 173 fflush(output_file); in Printf()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleSaver.cpp | 45 static llvm::Error WriteBytesToDisk(FileSpec &output_file, in WriteBytesToDisk() argument 48 output_file.GetPath().c_str(), std::ios::out | std::ios::binary); in WriteBytesToDisk() 56 output_file.GetPath().c_str())); in WriteBytesToDisk() 117 FileSpec output_file = threads_dir; in BuildThreadsSection() local 118 output_file.AppendPathComponent(std::to_string(tid) + ".intelpt_trace"); in BuildThreadsSection() 119 json_thread.ipt_trace = GetRelativePath(directory, output_file); in BuildThreadsSection() 124 return WriteBytesToDisk(output_file, data); in BuildThreadsSection()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/IR/ |
| H A D | CMakeLists.txt | 2 function(add_linalg_ods_yaml_gen yaml_ast_file output_file) 4 set(GEN_ODS_FILE ${CMAKE_CURRENT_BINARY_DIR}/${output_file}.yamlgen.td) 5 set(GEN_CPP_FILE ${CMAKE_CURRENT_BINARY_DIR}/${output_file}.yamlgen.cpp.inc) 21 MLIR${output_file}YamlIncGen
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | linker-script-to-export-list.py | 6 output_file = open(sys.argv[2], 'w') variable 11 output_file.write(m.group(1) + "\n")
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | bugpoint_gisel_reducer.py | 137 output_file = 'bugpoint-reduced-simplified.bc' 139 log('$ {}/bin/llvm-dis -o - {}'.format(build_dir, output_file)) 142 '-pass-remarks-missed=gisel {}'.format(build_dir, output_file))
|
| H A D | DSAextract.py | 37 <output_file> [list of nodes to extract]')
|
| H A D | collect_and_build_with_pgo.py | 261 output_file): argument 270 cmd = [llvm_profdata, 'merge', '-output=' + output_file] + profiles
|
| /llvm-project-15.0.7/clang/utils/check_cfc/ |
| H A D | check_cfc.py | 172 def add_output_file(args, output_file): argument 174 return args + ['-o', output_file] 176 def set_output_file(args, output_file): argument 180 args = replace_output_file(args, output_file) 182 args = add_output_file(args, output_file)
|
| /llvm-project-15.0.7/lldb/test/API/commands/session/save/ |
| H A D | TestSessionSave.py | 60 output_file = tf.name 63 interpreter.HandleCommand('session save ' + output_file, res) 67 with open(output_file, "r") as file:
|
| /llvm-project-15.0.7/clang/lib/Tooling/DumpTool/ |
| H A D | generate_cxx_src_locs.py | 368 if not os.path.exists(options.output_file) or \ 369 not filecmp.cmp(options.empty_implementation, options.output_file): 370 shutil.copyfile(options.empty_implementation, options.output_file) 408 g.GenerateFiles(options.output_file)
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | CMakeLists.txt | 93 function (gen_rst_file_from_td output_file td_option source docs_target) 99 clang_tablegen(${output_file} ${td_option} SOURCE ${source} TARGET "gen-${output_file}") 100 add_dependencies(${docs_target} "gen-${output_file}")
|
| /llvm-project-15.0.7/flang/docs/ |
| H A D | CMakeLists.txt | 94 function (gen_rst_file_from_td output_file td_option source docs_target) 100 clang_tablegen(Source/${output_file} ${td_option} SOURCE ${source} TARGET "gen-${output_file}") 101 add_dependencies(${docs_target} "gen-${output_file}")
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/test_runner/ |
| H A D | process_control.py | 26 def __init__(self, process, event, output_file): argument 33 self.output_file = output_file 42 if self.output_file: 43 self.output_file.write(
|
| /llvm-project-15.0.7/lldb/test/API/python_api/process/io/ |
| H A D | TestProcessIO.py | 25 self.output_file = os.path.join( 121 self.output_file, self.local_output_file) 163 self.launch_info.AddOpenFileAction(1, self.output_file, False, True)
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark.cc | 462 std::ofstream output_file; in RunSpecifiedBenchmarks() local 481 output_file.open(fname); in RunSpecifiedBenchmarks() 482 if (!output_file.is_open()) { in RunSpecifiedBenchmarks() 491 file_reporter->SetOutputStream(&output_file); in RunSpecifiedBenchmarks() 492 file_reporter->SetErrorStream(&output_file); in RunSpecifiedBenchmarks()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | Editline.cpp | 931 PrintCompletion(FILE *output_file, in PrintCompletion() argument 935 fprintf(output_file, "\t%-*s", (int)max_len, c.GetCompletion().c_str()); in PrintCompletion() 937 fprintf(output_file, " -- %s", c.GetDescription().c_str()); in PrintCompletion() 938 fprintf(output_file, "\n"); in PrintCompletion() 943 DisplayCompletions(::EditLine *editline, FILE *output_file, in DisplayCompletions() argument 947 fprintf(output_file, "\n" ANSI_CLEAR_BELOW "Available completions:\n"); in DisplayCompletions() 959 PrintCompletion(output_file, results, max_len); in DisplayCompletions() 975 fprintf(output_file, "More (Y/n/a): "); in DisplayCompletions() 978 fprintf(output_file, "\n"); in DisplayCompletions() 1379 FILE *output_file, FILE *error_file, in Editline() argument [all …]
|
| /llvm-project-15.0.7/polly/lib/External/ppcg/ |
| H A D | cpu.c | 789 FILE *output_file; in generate_cpu() local 792 output_file = get_output_file(input, output); in generate_cpu() 793 if (!output_file) in generate_cpu() 796 r = ppcg_transform(ctx, input, output_file, options, in generate_cpu() 799 fclose(output_file); in generate_cpu()
|
| /llvm-project-15.0.7/lldb/unittests/Editline/ |
| H A D | EditlineTest.cpp | 208 FilePointer output_file(fdopen(_pty_primary_fd, "r")); in ConsumeAllOutput() local 211 while ((ch = fgetc(output_file)) != EOF) { in ConsumeAllOutput()
|
| /llvm-project-15.0.7/mlir/cmake/modules/ |
| H A D | AddMLIR.cmake | 190 function(add_mlir_doc doc_filename output_file output_directory command) 192 tablegen(MLIR ${output_file}.md ${command} ${ARGN}) 193 set(GEN_DOC_FILE ${MLIR_BINARY_DIR}/docs/${output_directory}${output_file}.md) 197 ${CMAKE_CURRENT_BINARY_DIR}/${output_file}.md 199 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${output_file}.md) 200 add_custom_target(${output_file}DocGen DEPENDS ${GEN_DOC_FILE}) 201 add_dependencies(mlir-doc ${output_file}DocGen)
|
| /llvm-project-15.0.7/third-party/benchmark/tools/ |
| H A D | compare.py | 23 output_file = find_benchmark_flag('--benchmark_out=', flags) 25 if in1_kind == IT_Executable and in2_kind == IT_Executable and output_file: 27 "benchmarks causing it to be overwritten") % output_file)
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | link-open-file.test | 55 elf = os.path.join(outdir, 'output_file.elf')
|