[][src]Function cranelift_codegen::ir::get_libcall_funcref

pub fn get_libcall_funcref(
    libcall: LibCall,
    call_conv: CallConv,
    func: &mut Function,
    inst: Inst,
    isa: &dyn TargetIsa
) -> FuncRef

Get a function reference for libcall in func, following the signature for inst.

If there is an existing reference, use it, otherwise make a new one.