12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849(**************************************************************************)(* *)(* SPDX-License-Identifier LGPL-2.1 *)(* Copyright (C) *)(* CEA (Commissariat à l'énergie atomique et aux énergies alternatives) *)(* *)(**************************************************************************)includePlugin.Register(structletname="pdg"letshortname="pdg"lethelp="Program Dependence Graph"end)letoutput=add_group"Output"moduleBuildAll=WithOutput(structletoption_name="-pdg"lethelp="build the dependence graph of each function"letoutput_by_default=falseend)moduleBuildFct=Kernel_function_set(structletoption_name="-fct-pdg"letarg_name=""lethelp="build the dependence graph for the specified function"end)let()=Parameter_customize.set_groupoutputmodulePrintBw=False(structletoption_name="-codpds"lethelp="force option -pdg-print to show the co-dependencies rather than the dependencies"end)let()=Parameter_customize.set_groupoutputmoduleDotBasename=Empty_string(structletoption_name="-pdg-dot"letarg_name="basename"lethelp="put the PDG of function <f> in basename.f.dot"end)