IR for function calls