Add helper methods to ApplySite
Add helper methods to ApplySite

A couple of methods related to the self parameter are useful for almost all apply sites. I'm going to use them e.g. in the devirtualizer.

khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift