*参照元 [#o93a5c63] #backlinks *説明 [#ma402622] -パス: [[gcc-8.3/gcc/passes.c]] -FIXME: これは何? --説明 **引数 [#jfdd21e1] -void (*callback) (function *, void *data) -- --[[gcc-8.3/gcc/function]] -void *data -- **返り値 [#f2cd0370] -なし **参考 [#u04be5d9] *実装 [#r28c6dc9] /* If we are in IPA mode (i.e., current_function_decl is NULL), call function CALLBACK for every function in the call graph. Otherwise, call CALLBACK on the current function. */ static void do_per_function (void (*callback) (function *, void *data), void *data) { if (current_function_decl) callback (cfun, data); - --[[gcc-8.3/gcc/current_function_decl(global)]] else { struct cgraph_node *node; FOR_EACH_DEFINED_FUNCTION (node) if (node->analyzed && (gimple_has_body_p (node->decl) && !in_lto_p) && (!node->clone_of || node->decl != node->clone_of->decl)) callback (DECL_STRUCT_FUNCTION (node->decl), data); } - --[[gcc-8.3/gcc/cgraph_node]] --[[gcc-8.3/gcc/FOR_EACH_DEFINED_FUNCTION()]] --[[gcc-8.3/gcc/gimple_has_body_p()]] --[[gcc-8.3/gcc/in_lto_p]] --[[gcc-8.3/gcc/DECL_STRUCT_FUNCTION()]] } *コメント [#p521ff0a]