Enum llvm_ir::function::FunctionAttribute
source · [−]pub enum FunctionAttribute {
Show 49 variants
AlignStack(u64),
AllocSize {
elt_size: u32,
num_elts: Option<u32>,
},
AlwaysInline,
Builtin,
Cold,
Convergent,
InaccessibleMemOnly,
InaccessibleMemOrArgMemOnly,
InlineHint,
JumpTable,
MinimizeSize,
Naked,
NoBuiltin,
NoCFCheck,
NoDuplicate,
NoFree,
NoImplicitFloat,
NoInline,
NonLazyBind,
NoRedZone,
NoReturn,
NoRecurse,
WillReturn,
ReturnsTwice,
NoSync,
NoUnwind,
OptForFuzzing,
OptNone,
OptSize,
ReadNone,
ReadOnly,
WriteOnly,
ArgMemOnly,
SafeStack,
SanitizeAddress,
SanitizeMemory,
SanitizeThread,
SanitizeHWAddress,
SanitizeMemTag,
ShadowCallStack,
SpeculativeLoadHardening,
Speculatable,
StackProtect,
StackProtectReq,
StackProtectStrong,
StrictFP,
UWTable,
StringAttribute {
kind: String,
value: String,
},
UnknownAttribute,
}
Expand description
Variants
AlignStack(u64)
AllocSize
AlwaysInline
Builtin
Cold
Convergent
InaccessibleMemOnly
InaccessibleMemOrArgMemOnly
InlineHint
JumpTable
MinimizeSize
Naked
NoBuiltin
NoCFCheck
NoDuplicate
NoFree
NoImplicitFloat
NoInline
NonLazyBind
NoRedZone
NoReturn
NoRecurse
WillReturn
ReturnsTwice
NoSync
NoUnwind
OptForFuzzing
OptNone
OptSize
ReadNone
ReadOnly
WriteOnly
ArgMemOnly
SafeStack
SanitizeAddress
SanitizeMemory
SanitizeThread
SanitizeHWAddress
SanitizeMemTag
ShadowCallStack
SpeculativeLoadHardening
Speculatable
StackProtect
StackProtectReq
StackProtectStrong
StrictFP
UWTable
StringAttribute
UnknownAttribute
Trait Implementations
sourceimpl Clone for FunctionAttribute
impl Clone for FunctionAttribute
sourcefn clone(&self) -> FunctionAttribute
fn clone(&self) -> FunctionAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionAttribute
impl Debug for FunctionAttribute
sourceimpl PartialEq<FunctionAttribute> for FunctionAttribute
impl PartialEq<FunctionAttribute> for FunctionAttribute
sourcefn eq(&self, other: &FunctionAttribute) -> bool
fn eq(&self, other: &FunctionAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for FunctionAttribute
impl StructuralEq for FunctionAttribute
impl StructuralPartialEq for FunctionAttribute
Auto Trait Implementations
impl RefUnwindSafe for FunctionAttribute
impl Send for FunctionAttribute
impl Sync for FunctionAttribute
impl Unpin for FunctionAttribute
impl UnwindSafe for FunctionAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more