use more intuitive way to get ptr operand type in GEP