enum
LLVM::AttributeKind
Overview
WARNING This enum is marked as unstable by LLVM. The following members are
valid for LLVM 22. Refer to src/llvm/enums/attribute_kind/llvm_*.cr to see
if a particular member was added or removed.
Defined in:
llvm/enums/attribute_kind.crllvm/enums/attribute_kind/llvm_22.cr
Enum Members
-
AllocAlign =
1_u32 -
AllocatedPointer =
2_u32 -
AlwaysInline =
3_u32 -
Builtin =
4_u32 -
Cold =
5_u32 -
Convergent =
6_u32 -
CoroDestroyOnlyWhenComplete =
7_u32 -
CoroElideSafe =
8_u32 -
DeadOnReturn =
9_u32 -
DeadOnUnwind =
10_u32 -
DisableSanitizerInstrumentation =
11_u32 -
FnRetThunkExtern =
12_u32 -
Hot =
13_u32 -
HybridPatchable =
14_u32 -
ImmArg =
15_u32 -
InReg =
16_u32 -
InlineHint =
17_u32 -
JumpTable =
18_u32 -
MinSize =
19_u32 -
MustProgress =
20_u32 -
Naked =
21_u32 -
Nest =
22_u32 -
NoAlias =
23_u32 -
NoBuiltin =
24_u32 -
NoCallback =
25_u32 -
NoCfCheck =
26_u32 -
NoCreateUndefOrPoison =
27_u32 -
NoDivergenceSource =
28_u32 -
NoDuplicate =
29_u32 -
NoExt =
30_u32 -
NoFree =
31_u32 -
NoImplicitFloat =
32_u32 -
NoInline =
33_u32 -
NoMerge =
34_u32 -
NoProfile =
35_u32 -
NoRecurse =
36_u32 -
NoRedZone =
37_u32 -
NoReturn =
38_u32 -
NoSanitizeBounds =
39_u32 -
NoSanitizeCoverage =
40_u32 -
NoSync =
41_u32 -
NoUndef =
42_u32 -
NoUnwind =
43_u32 -
NonLazyBind =
44_u32 -
NonNull =
45_u32 -
NullPointerIsValid =
46_u32 -
OptForFuzzing =
47_u32 -
OptimizeForDebugging =
48_u32 -
OptimizeForSize =
49_u32 -
OptimizeNone =
50_u32 -
PresplitCoroutine =
51_u32 -
ReadNone =
52_u32 -
ReadOnly =
53_u32 -
Returned =
54_u32 -
ReturnsTwice =
55_u32 -
SExt =
56_u32 -
SafeStack =
57_u32 -
SanitizeAddress =
58_u32 -
SanitizeAllocToken =
59_u32 -
SanitizeHWAddress =
60_u32 -
SanitizeMemTag =
61_u32 -
SanitizeMemory =
62_u32 -
SanitizeNumericalStability =
63_u32 -
SanitizeRealtime =
64_u32 -
SanitizeRealtimeBlocking =
65_u32 -
SanitizeThread =
66_u32 -
SanitizeType =
67_u32 -
ShadowCallStack =
68_u32 -
SkipProfile =
69_u32 -
Speculatable =
70_u32 -
SpeculativeLoadHardening =
71_u32 -
StackProtect =
72_u32 -
StackProtectReq =
73_u32 -
StackProtectStrong =
74_u32 -
StrictFP =
75_u32 -
SwiftAsync =
76_u32 -
SwiftError =
77_u32 -
SwiftSelf =
78_u32 -
WillReturn =
79_u32 -
Writable =
80_u32 -
WriteOnly =
81_u32 -
ZExt =
82_u32 -
ByRef =
83_u32 -
ByVal =
84_u32 -
ElementType =
85_u32 -
InAlloca =
86_u32 -
Preallocated =
87_u32 -
StructRet =
88_u32 -
Alignment =
89_u32 -
AllocKind =
90_u32 -
AllocSize =
91_u32 -
Captures =
92_u32 -
Dereferenceable =
93_u32 -
DereferenceableOrNull =
94_u32 -
Memory =
95_u32 -
NoFPClass =
96_u32 -
StackAlignment =
97_u32 -
UWTable =
98_u32 -
VScaleRange =
99_u32 -
Range =
100_u32 -
Initializes =
101_u32
Constructors
Class Method Summary
Instance Method Summary
-
#alignment?
Returns
trueif this enum value equalsAlignment -
#alloc_align?
Returns
trueif this enum value equalsAllocAlign -
#alloc_kind?
Returns
trueif this enum value equalsAllocKind -
#alloc_size?
Returns
trueif this enum value equalsAllocSize -
#allocated_pointer?
Returns
trueif this enum value equalsAllocatedPointer -
#always_inline?
Returns
trueif this enum value equalsAlwaysInline -
#builtin?
Returns
trueif this enum value equalsBuiltin -
#by_ref?
Returns
trueif this enum value equalsByRef -
#by_val?
Returns
trueif this enum value equalsByVal -
#captures?
Returns
trueif this enum value equalsCaptures -
#cold?
Returns
trueif this enum value equalsCold -
#convergent?
Returns
trueif this enum value equalsConvergent -
#coro_destroy_only_when_complete?
Returns
trueif this enum value equalsCoroDestroyOnlyWhenComplete -
#coro_elide_safe?
Returns
trueif this enum value equalsCoroElideSafe -
#dead_on_return?
Returns
trueif this enum value equalsDeadOnReturn -
#dead_on_unwind?
Returns
trueif this enum value equalsDeadOnUnwind -
#dereferenceable?
Returns
trueif this enum value equalsDereferenceable -
#dereferenceable_or_null?
Returns
trueif this enum value equalsDereferenceableOrNull -
#disable_sanitizer_instrumentation?
Returns
trueif this enum value equalsDisableSanitizerInstrumentation -
#element_type?
Returns
trueif this enum value equalsElementType -
#fn_ret_thunk_extern?
Returns
trueif this enum value equalsFnRetThunkExtern -
#hot?
Returns
trueif this enum value equalsHot -
#hybrid_patchable?
Returns
trueif this enum value equalsHybridPatchable -
#imm_arg?
Returns
trueif this enum value equalsImmArg -
#in_alloca?
Returns
trueif this enum value equalsInAlloca -
#in_reg?
Returns
trueif this enum value equalsInReg -
#initializes?
Returns
trueif this enum value equalsInitializes -
#inline_hint?
Returns
trueif this enum value equalsInlineHint -
#jump_table?
Returns
trueif this enum value equalsJumpTable -
#memory?
Returns
trueif this enum value equalsMemory -
#min_size?
Returns
trueif this enum value equalsMinSize -
#must_progress?
Returns
trueif this enum value equalsMustProgress -
#naked?
Returns
trueif this enum value equalsNaked -
#nest?
Returns
trueif this enum value equalsNest -
#no_alias?
Returns
trueif this enum value equalsNoAlias -
#no_builtin?
Returns
trueif this enum value equalsNoBuiltin -
#no_callback?
Returns
trueif this enum value equalsNoCallback -
#no_cf_check?
Returns
trueif this enum value equalsNoCfCheck -
#no_create_undef_or_poison?
Returns
trueif this enum value equalsNoCreateUndefOrPoison -
#no_divergence_source?
Returns
trueif this enum value equalsNoDivergenceSource -
#no_duplicate?
Returns
trueif this enum value equalsNoDuplicate -
#no_ext?
Returns
trueif this enum value equalsNoExt -
#no_fp_class?
Returns
trueif this enum value equalsNoFPClass -
#no_free?
Returns
trueif this enum value equalsNoFree -
#no_implicit_float?
Returns
trueif this enum value equalsNoImplicitFloat -
#no_inline?
Returns
trueif this enum value equalsNoInline -
#no_merge?
Returns
trueif this enum value equalsNoMerge -
#no_profile?
Returns
trueif this enum value equalsNoProfile -
#no_recurse?
Returns
trueif this enum value equalsNoRecurse -
#no_red_zone?
Returns
trueif this enum value equalsNoRedZone -
#no_return?
Returns
trueif this enum value equalsNoReturn -
#no_sanitize_bounds?
Returns
trueif this enum value equalsNoSanitizeBounds -
#no_sanitize_coverage?
Returns
trueif this enum value equalsNoSanitizeCoverage -
#no_sync?
Returns
trueif this enum value equalsNoSync -
#no_undef?
Returns
trueif this enum value equalsNoUndef -
#no_unwind?
Returns
trueif this enum value equalsNoUnwind -
#non_lazy_bind?
Returns
trueif this enum value equalsNonLazyBind -
#non_null?
Returns
trueif this enum value equalsNonNull -
#null_pointer_is_valid?
Returns
trueif this enum value equalsNullPointerIsValid -
#opt_for_fuzzing?
Returns
trueif this enum value equalsOptForFuzzing -
#optimize_for_debugging?
Returns
trueif this enum value equalsOptimizeForDebugging -
#optimize_for_size?
Returns
trueif this enum value equalsOptimizeForSize -
#optimize_none?
Returns
trueif this enum value equalsOptimizeNone -
#preallocated?
Returns
trueif this enum value equalsPreallocated -
#presplit_coroutine?
Returns
trueif this enum value equalsPresplitCoroutine -
#range?
Returns
trueif this enum value equalsRange -
#read_none?
Returns
trueif this enum value equalsReadNone -
#read_only?
Returns
trueif this enum value equalsReadOnly -
#returned?
Returns
trueif this enum value equalsReturned -
#returns_twice?
Returns
trueif this enum value equalsReturnsTwice -
#s_ext?
Returns
trueif this enum value equalsSExt -
#safe_stack?
Returns
trueif this enum value equalsSafeStack -
#sanitize_address?
Returns
trueif this enum value equalsSanitizeAddress -
#sanitize_alloc_token?
Returns
trueif this enum value equalsSanitizeAllocToken -
#sanitize_hw_address?
Returns
trueif this enum value equalsSanitizeHWAddress -
#sanitize_mem_tag?
Returns
trueif this enum value equalsSanitizeMemTag -
#sanitize_memory?
Returns
trueif this enum value equalsSanitizeMemory -
#sanitize_numerical_stability?
Returns
trueif this enum value equalsSanitizeNumericalStability -
#sanitize_realtime?
Returns
trueif this enum value equalsSanitizeRealtime -
#sanitize_realtime_blocking?
Returns
trueif this enum value equalsSanitizeRealtimeBlocking -
#sanitize_thread?
Returns
trueif this enum value equalsSanitizeThread -
#sanitize_type?
Returns
trueif this enum value equalsSanitizeType -
#shadow_call_stack?
Returns
trueif this enum value equalsShadowCallStack -
#skip_profile?
Returns
trueif this enum value equalsSkipProfile -
#speculatable?
Returns
trueif this enum value equalsSpeculatable -
#speculative_load_hardening?
Returns
trueif this enum value equalsSpeculativeLoadHardening -
#stack_alignment?
Returns
trueif this enum value equalsStackAlignment -
#stack_protect?
Returns
trueif this enum value equalsStackProtect -
#stack_protect_req?
Returns
trueif this enum value equalsStackProtectReq -
#stack_protect_strong?
Returns
trueif this enum value equalsStackProtectStrong -
#strict_fp?
Returns
trueif this enum value equalsStrictFP -
#struct_ret?
Returns
trueif this enum value equalsStructRet -
#swift_async?
Returns
trueif this enum value equalsSwiftAsync -
#swift_error?
Returns
trueif this enum value equalsSwiftError -
#swift_self?
Returns
trueif this enum value equalsSwiftSelf -
#uw_table?
Returns
trueif this enum value equalsUWTable -
#v_scale_range?
Returns
trueif this enum value equalsVScaleRange -
#value
Returns the underlying value held by the enum instance.
-
#will_return?
Returns
trueif this enum value equalsWillReturn -
#writable?
Returns
trueif this enum value equalsWritable -
#write_only?
Returns
trueif this enum value equalsWriteOnly -
#z_ext?
Returns
trueif this enum value equalsZExt
Instance methods inherited from struct Enum
&(other : self) : self
&,
+(other : Int) : self
+,
-(other : Int) : self
-,
<=>(other : self)
<=>,
==(other : self)==(other) ==, ^(other : self) : self ^, |(other : self) : self |, ~ : self ~, clone clone, each(& : self -> ) each, hash(hasher) hash, includes?(other : self) : Bool includes?, inspect(io : IO) : Nil inspect, to_f32 : Float32 to_f32, to_f32! : Float32 to_f32!, to_f64 : Float64 to_f64, to_f64! : Float64 to_f64!, to_i : Int32 to_i, to_i128 : Int128 to_i128, to_i128! : Int128 to_i128!, to_i16 : Int16 to_i16, to_i16! : Int16 to_i16!, to_i32 : Int32 to_i32, to_i32! : Int32 to_i32!, to_i64 : Int64 to_i64, to_i64! : Int64 to_i64!, to_i8 : Int8 to_i8, to_i8! : Int8 to_i8!, to_json(json : JSON::Builder) : Nil to_json, to_s(io : IO) : Nil
to_s : String to_s, to_u128 : UInt128 to_u128, to_u128! : UInt128 to_u128!, to_u16 : UInt16 to_u16, to_u16! : UInt16 to_u16!, to_u32 : UInt32 to_u32, to_u32! : UInt32 to_u32!, to_u64 : UInt64 to_u64, to_u64! : UInt64 to_u64!, to_u8 : UInt8 to_u8, to_u8! : UInt8 to_u8!, to_yaml(yaml : YAML::Nodes::Builder) to_yaml, value : Int value
Constructor methods inherited from struct Enum
from_value(value : Int) : self
from_value,
from_value?(value : Int) : self?
from_value?,
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(value : self)
new(pull : JSON::PullParser) : self new, parse(string : String) : self
parse(slice : Bytes) : self parse, parse?(string : String) : self?
parse?(slice : Bytes) : self? parse?
Class methods inherited from struct Enum
each(& : self -> )
each,
names : Array(String)
names,
valid?(value : self) : Bool
valid?,
values : Array(self)
values
Macros inherited from struct Enum
[](*values)
[],
flags(*values)
flags
Instance methods inherited from module Comparable(Enum)
<(other : T) : Bool
<,
<=(other : T)
<=,
<=>(other : T)
<=>,
==(other : T)
==,
>(other : T) : Bool
>,
>=(other : T)
>=,
clamp(min, max)clamp(range : Range) clamp
Instance methods inherited from struct Value
==(other : Log::Metadata::Value)==(other : JSON::Any)
==(other : YAML::Any)
==(other) ==, dup dup
Instance methods inherited from class Object
! : Bool
!,
!=(other)
!=,
!~(other)
!~,
==(other)
==,
===(other : JSON::Any)===(other : YAML::Any)
===(other) ===, =~(other) =~, as(type : Class) as, as?(type : Class) as?, class class, dup dup, hash(hasher)
hash hash, in?(collection : Object) : Bool
in?(*values : Object) : Bool in?, inspect(io : IO) : Nil
inspect : String inspect, is_a?(type : Class) : Bool is_a?, itself itself, nil? : Bool nil?, not_nil!(message)
not_nil! not_nil!, pretty_inspect(width = 79, newline = "\n", indent = 0) : String pretty_inspect, pretty_print(pp : PrettyPrint) : Nil pretty_print, responds_to?(name : Symbol) : Bool responds_to?, tap(&) tap, to_json(io : IO) : Nil
to_json : String to_json, to_pretty_json(indent : String = " ") : String
to_pretty_json(io : IO, indent : String = " ") : Nil to_pretty_json, to_s(io : IO) : Nil
to_s : String to_s, to_yaml(io : IO) : Nil
to_yaml : String to_yaml, try(&) try, unsafe_as(type : T.class) forall T unsafe_as
Class methods inherited from class Object
from_json(string_or_io : String | IO, root : String)from_json(string_or_io : String | IO) from_json, from_yaml(string_or_io : String | IO) from_yaml
Macros inherited from class Object
class_getter(*names, &block)
class_getter,
class_getter!(*names)
class_getter!,
class_getter?(*names, &block)
class_getter?,
class_property(*names, &block)
class_property,
class_property!(*names)
class_property!,
class_property?(*names, &block)
class_property?,
class_setter(*names)
class_setter,
def_clone
def_clone,
def_equals(*fields)
def_equals,
def_equals_and_hash(*fields)
def_equals_and_hash,
def_hash(*fields)
def_hash,
delegate(*methods, to object)
delegate,
forward_missing_to(delegate)
forward_missing_to,
getter(*names, &block)
getter,
getter!(*names)
getter!,
getter?(*names, &block)
getter?,
property(*names, &block)
property,
property!(*names)
property!,
property?(*names, &block)
property?,
setter(*names)
setter
Constructor Detail
Class Method Detail
Instance Method Detail
Returns true if this enum value equals CoroDestroyOnlyWhenComplete
Returns true if this enum value equals DisableSanitizerInstrumentation
Returns true if this enum value equals SanitizeNumericalStability