simplify getPtrUse