Enum llvm_support::attribute::AttributeId [−][src]
#[non_exhaustive]
#[repr(u64)]
pub enum AttributeId {
Show 78 variants
Alignment,
AlwaysInline,
ByVal,
InlineHint,
InReg,
MinSize,
Naked,
Nest,
NoAlias,
NoBuiltin,
NoCapture,
NoDuplicate,
NoImplicitFloat,
NoInline,
NonLazyBind,
NoRedZone,
NoReturn,
NoUnwind,
OptimizeForSize,
ReadNone,
ReadOnly,
Returned,
ReturnsTwice,
SExt,
StackAlignment,
StackProtect,
StackProtectReq,
StackProtectStrong,
StructRet,
SanitizeAddress,
SanitizeThread,
SanitizeMemory,
UwTable,
ZExt,
Builtin,
Cold,
OptimizeNone,
InAlloca,
NonNull,
JumpTable,
Dereferenceable,
DereferenceableOrNull,
Convergent,
SafeStack,
ArgMemOnly,
SwiftSelf,
SwiftError,
NoRecurse,
InaccessiblememOnly,
InaccessiblememOrArgmemonly,
AllocSize,
WriteOnly,
Speculatable,
StrictFp,
SanitizeHwAddress,
NoCfCheck,
OptForFuzzing,
Shadowcallstack,
SpeculativeLoadHardening,
ImmArg,
WillReturn,
NoFree,
NoSync,
SanitizeMemtag,
Preallocated,
NoMerge,
NullPointerIsValid,
NoUndef,
ByRef,
MustProgress,
NoCallback,
Hot,
NoProfile,
VScaleRange,
SwiftAsync,
NoSanitizeCoverage,
ElementType,
DisableSanitizerInstrumentation,
}
Expand description
Represents the IDs of different specific attributes.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
align(<n>)
alwaysinline
byval
inlinehint
inreg
minsize
naked
nest
noalias
nobuiltin
nocapture
noduplicate
noimplicitfloat
noinline
nonlazybind
noredzone
noreturn
nounwind
optsize
readnone
readonly
returned
returns_twice
signext
alignstack(<n>)
ssp
sspreq
sspstrong
sret
sanitize_address
sanitize_thread
sanitize_memory
uwtable
zeroext
builtin
cold
optnone
inalloca
nonnull
jumptable
dereferenceable(<n>)
dereferenceable_or_null(<n>)
convergent
safestack
argmemonly
swiftself
swifterror
norecurse
inaccessiblememonly
inaccessiblememonly_or_argmemonly
allocsize(<EltSizeParam>[, <NumEltsParam>])
writeonly
speculatable
strictfp
sanitize_hwaddress
nocf_check
optforfuzzing
shadowcallstack
speculative_load_hardening
immarg
willreturn
nofree
nosync
sanitize_memtag
preallocated
no_merge
null_pointer_is_valid
noundef
byref
mustprogress
no_callback
hot
no_profile
vscale_range(<Min>[, <Max>])
swift_async
nosanitize_coverage
elementtype
disable_sanitizer_instrumentation
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AttributeId
impl Send for AttributeId
impl Sync for AttributeId
impl Unpin for AttributeId
impl UnwindSafe for AttributeId
Blanket Implementations
Mutably borrows from an owned value. Read more