*This follows the exact same princial as PR 12083, but for the `PDFFunction` parsing instead.* Given that the IR format is completely unused now, all that the current code does is add a bunch of unnecessary indirection/overhead to the handling of PDF-functions.