rustc_codegen_llvm::attributes

Function default_optimisation_attrs

Source
pub(crate) fn default_optimisation_attrs<'ll>(
    cx: &CodegenCx<'ll, '_>,
) -> SmallVec<[&'ll Attribute; 2]>
Expand description

Get the default optimizations attrs for a function.