convert getelementptr to instruction before processing