Profile-guided edits