IR: Add assembly/bitcode support for function metadata attachments