pub(crate) fn llfn_attrs_from_instance<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
llfn: &'ll Value,
instance: Instance<'tcx>,
)
Expand description
Helper for FnAbi::apply_attrs_llfn
:
Composite function which sets LLVM attributes for function depending on its AST (#[attribute]
)
attributes.