prefetch analysis for pointer chasing with cost estimation