Helper to iterate atomic ops within Compounds.