Magnetic order in the different superconducting states of UPt3.