Transformer: visitAMDModules and extract dependencies.
Transform modules without dependencies.