gcc-8.3/gcc/pass_init_dump_file()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#r352e441]
#backlinks
*説明 [#z7e28cff]
-パス: [[gcc-8.3/gcc/passes.c]]
-FIXME: これは何?
--説明
**引数 [#q36ff3da]
-opt_pass *pass
--
--[[gcc-8.3/gcc/opt_pass]]
**返り値 [#x06a2b6a]
-bool
--
**参考 [#l2436a5d]
*実装 [#y655989f]
/* Initialize pass dump file. */
/* This is non-static so that the plugins can use it. */
bool
pass_init_dump_file (opt_pass *pass)
{
/* If a dump file name is present, open it if enabled....
if (pass->static_pass_number != -1)
{
timevar_push (TV_DUMP);
gcc::dump_manager *dumps = g->get_dumps ();
bool initializing_dump =
!dumps->dump_initialized_p (pass->static_pass_number);
-
--[[gcc-8.3/gcc/timevar_push()]]
--[[gcc-8.3/gcc/gcc/dump_manager]]
--[[gcc-8.3/gcc/gcc/dump_manager/dump_initialized_p()]]
release_dump_file_name ();
-
--[[gcc-8.3/gcc/release_dump_file_name()]]
dump_file_name = dumps->get_dump_file_name (pass->...
dumps->dump_start (pass->static_pass_number, &dump...
-
--[[gcc-8.3/gcc/gcc/dump_manager/get_dump_file_name()]]
--[[gcc-8.3/gcc/gcc/dump_manager/dump_start()]]
if (dump_file && current_function_decl && ! (dump_...
dump_function_header (dump_file, current_functio...
-
--[[gcc-8.3/gcc/dump_function_header()]]
if (initializing_dump
&& dump_file && (dump_flags & TDF_GRAPH)
&& cfun && (cfun->curr_properties & PROP_cfg))
{
clean_graph_dump_file (dump_file_name);
struct dump_file_info *dfi
= dumps->get_dump_file_info (pass->static_pass_numb...
dfi->graph_dump_initialized = true;
}
-
--[[gcc-8.3/gcc/clean_graph_dump_file()]]
--[[gcc-8.3/gcc/dump_file_info]]
--[[gcc-8.3/gcc/gcc/dump_manager/get_dump_file_info()]]
timevar_pop (TV_DUMP);
return initializing_dump;
-
--[[gcc-8.3/gcc/timevar_pop()]]
}
else
return false;
}
*コメント [#oe783f00]
終了行:
*参照元 [#r352e441]
#backlinks
*説明 [#z7e28cff]
-パス: [[gcc-8.3/gcc/passes.c]]
-FIXME: これは何?
--説明
**引数 [#q36ff3da]
-opt_pass *pass
--
--[[gcc-8.3/gcc/opt_pass]]
**返り値 [#x06a2b6a]
-bool
--
**参考 [#l2436a5d]
*実装 [#y655989f]
/* Initialize pass dump file. */
/* This is non-static so that the plugins can use it. */
bool
pass_init_dump_file (opt_pass *pass)
{
/* If a dump file name is present, open it if enabled....
if (pass->static_pass_number != -1)
{
timevar_push (TV_DUMP);
gcc::dump_manager *dumps = g->get_dumps ();
bool initializing_dump =
!dumps->dump_initialized_p (pass->static_pass_number);
-
--[[gcc-8.3/gcc/timevar_push()]]
--[[gcc-8.3/gcc/gcc/dump_manager]]
--[[gcc-8.3/gcc/gcc/dump_manager/dump_initialized_p()]]
release_dump_file_name ();
-
--[[gcc-8.3/gcc/release_dump_file_name()]]
dump_file_name = dumps->get_dump_file_name (pass->...
dumps->dump_start (pass->static_pass_number, &dump...
-
--[[gcc-8.3/gcc/gcc/dump_manager/get_dump_file_name()]]
--[[gcc-8.3/gcc/gcc/dump_manager/dump_start()]]
if (dump_file && current_function_decl && ! (dump_...
dump_function_header (dump_file, current_functio...
-
--[[gcc-8.3/gcc/dump_function_header()]]
if (initializing_dump
&& dump_file && (dump_flags & TDF_GRAPH)
&& cfun && (cfun->curr_properties & PROP_cfg))
{
clean_graph_dump_file (dump_file_name);
struct dump_file_info *dfi
= dumps->get_dump_file_info (pass->static_pass_numb...
dfi->graph_dump_initialized = true;
}
-
--[[gcc-8.3/gcc/clean_graph_dump_file()]]
--[[gcc-8.3/gcc/dump_file_info]]
--[[gcc-8.3/gcc/gcc/dump_manager/get_dump_file_info()]]
timevar_pop (TV_DUMP);
return initializing_dump;
-
--[[gcc-8.3/gcc/timevar_pop()]]
}
else
return false;
}
*コメント [#oe783f00]
ページ名: