calculate ArrayRef constants
MIPSTest should check compile success