[LDC] Add parameters to library functions