Prospects for searching axionlike particle dark matter with dipole, toroidal, and wiggler magnets