Twisted Alexander polynomials and representation shifts