Best way to emit arguments to the entry BB?

I have an empty SIL function and I want to emit all arguments to the entry BB based on the SIL function type, without emitting any instructions. However, SILGenFunction::emitProlog could emit instructions.

Is there a method somewhere that does what ArgumentInitHelper does, and doesn’t emit any instructions?

I don’t work on SILGen much, but I doubt the people who do would object to you factoring that part out into a separate function. Just make sure you ask for review on such a PR.