[][src]Enum llvm_ir::function::FunctionAttribute

pub enum FunctionAttribute {
    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,
}

Variants

AlignStack(u64)
AllocSize

Fields of AllocSize

elt_size: u32num_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

Fields of StringAttribute

kind: Stringvalue: String
UnknownAttribute

Trait Implementations

impl Clone for FunctionAttribute[src]

impl Debug for FunctionAttribute[src]

impl Eq for FunctionAttribute[src]

impl PartialEq<FunctionAttribute> for FunctionAttribute[src]

impl StructuralEq for FunctionAttribute[src]

impl StructuralPartialEq for FunctionAttribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.