[−][src]Module rustc_codegen_llvm::attributes

Set and unset common attributes on LLVM values.

Enums

InlineAttr
InstructionSetAttr
OptimizeAttr

Functions

apply_target_cpu_attr
apply_tune_cpu_attr
default_optimisation_attrs
emit_uwtable

Tell LLVM to emit or not emit the information necessary to unwind the stack for the function.

from_fn_attrs

Composite function which sets LLVM attributes for function depending on its AST (#[attribute]) attributes.

inline

Mark LLVM function to use provided inline heuristic.

llvm_target_features
naked

Tell LLVM if this function should be 'naked', i.e., skip the epilogue and prologue.

non_lazy_bind

Sets the NonLazyBind LLVM attribute on a given function, assuming the codegen options allow skipping the PLT.

provide_both
sanitize

Apply LLVM sanitize attributes.

set_frame_pointer_elimination
set_instrument_function

Tell LLVM what instrument function to insert.

set_probestack
wasm_import_module