Lines Matching refs:llvm_param
30 struct llvm_param llvm_param = { variable
50 llvm_param.clang_path = strdup(value); in perf_llvm_config()
52 llvm_param.clang_bpf_cmd_template = strdup(value); in perf_llvm_config()
54 llvm_param.clang_opt = strdup(value); in perf_llvm_config()
56 llvm_param.kbuild_dir = strdup(value); in perf_llvm_config()
58 llvm_param.kbuild_opts = strdup(value); in perf_llvm_config()
60 llvm_param.dump_obj = !!perf_config_bool(var, value); in perf_llvm_config()
62 llvm_param.opts = strdup(value); in perf_llvm_config()
67 llvm_param.user_set_param = true; in perf_llvm_config()
249 const char *test_dir = llvm_param.kbuild_dir; in detect_kbuild_dir()
348 if (llvm_param.kbuild_dir && !llvm_param.kbuild_dir[0]) { in llvm__get_kbuild_opts()
366 force_set_env("KBUILD_OPTS", llvm_param.kbuild_opts); in llvm__get_kbuild_opts()
457 const char *clang_opt = llvm_param.clang_opt; in llvm__compile_bpf()
462 const char *template = llvm_param.clang_bpf_cmd_template; in llvm__compile_bpf()
464 const char *opts = llvm_param.opts; in llvm__compile_bpf()
478 err = search_program_and_warn(llvm_param.clang_path, in llvm__compile_bpf()
509 err = search_program_and_warn(llvm_param.llc_path, "llc", llc_path); in llvm__compile_bpf()
588 return search_program_and_warn(llvm_param.clang_path, "clang", clang_path); in llvm__search_clang()