enum LLVM::Attribute

Defined in:

llvm/enums.cr

Enum Members

Alignment = 1_u64
AllocSize = 2_u64
AlwaysInline = 4_u64
ArgMemOnly = 8_u64
Builtin = 16_u64
ByVal = 32_u64
Cold = 64_u64
Convergent = 128_u64
Dereferenceable = 256_u64
DereferenceableOrNull = 512_u64
InAlloca = 1024_u64
InReg = 2048_u64
InaccessibleMemOnly = 4096_u64
InaccessibleMemOrArgMemOnly = 8192_u64
InlineHint = 16384_u64
JumpTable = 32768_u64
MinSize = 65536_u64
Naked = 131072_u64
Nest = 262144_u64
NoAlias = 524288_u64
NoBuiltin = 1048576_u64
NoCapture = 2097152_u64
NoDuplicate = 4194304_u64
NoFree = 8388608_u64
NoImplicitFloat = 16777216_u64
NoInline = 33554432_u64
NoRecurse = 67108864_u64
NoRedZone = 134217728_u64
NoReturn = 268435456_u64
NoSync = 536870912_u64
NoUnwind = 1073741824_u64
NonLazyBind = 2147483648_u64
NonNull = 4294967296_u64
OptimizeForSize = 8589934592_u64
OptimizeNone = 17179869184_u64
ReadNone = 34359738368_u64
ReadOnly = 68719476736_u64
Returned = 137438953472_u64
ImmArg = 274877906944_u64
ReturnsTwice = 549755813888_u64
SExt = 1099511627776_u64
SafeStack = 2199023255552_u64
SanitizeAddress = 4398046511104_u64
SanitizeMemory = 8796093022208_u64
SanitizeThread = 17592186044416_u64
StackAlignment = 35184372088832_u64
StackProtect = 70368744177664_u64
StackProtectReq = 140737488355328_u64
StackProtectStrong = 281474976710656_u64
StructRet = 562949953421312_u64
SwiftError = 1125899906842624_u64
SwiftSelf = 2251799813685248_u64
UWTable = 4503599627370496_u64
WillReturn = 9007199254740992_u64
WriteOnly = 18014398509481984_u64
ZExt = 36028797018963968_u64

Class Method Summary

Instance Method Summary

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) 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, new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(value : self)
new(pull : JSON::PullParser)
new
, parse(string : String) : self parse

Class methods inherited from struct Enum

each(& : self -> ) each, from_value?(value : Int) : self | Nil from_value?, names : Array(String) names, parse?(string : String) : self | Nil parse?, valid?(value : self) : Bool valid?, values : Array(self) values

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 : 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, root : String)
from_json(string_or_io)
from_json
, from_yaml(string_or_io : String | IO) from_yaml

Class Method Detail

def self.from_kind(kind) #

[View source]
def self.kind_for(member) #

[View source]
def self.requires_type?(kind) #

[View source]

Instance Method Detail

def alignment? #

[View source]
def alloc_size? #

[View source]
def always_inline? #

[View source]
def arg_mem_only? #

[View source]
def builtin? #

[View source]
def by_val? #

[View source]
def cold? #

[View source]
def convergent? #

[View source]
def dereferenceable? #

[View source]
def dereferenceable_or_null? #

[View source]
def each_kind(& : UInt32 -> ) #

[View source]
def imm_arg? #

[View source]
def in_alloca? #

[View source]
def in_reg? #

[View source]
def inaccessible_mem_only? #

[View source]
def inaccessible_mem_or_arg_mem_only? #

[View source]
def inline_hint? #

[View source]
def jump_table? #

[View source]
def min_size? #

[View source]
def naked? #

[View source]
def nest? #

[View source]
def no_alias? #

[View source]
def no_builtin? #

[View source]
def no_capture? #

[View source]
def no_duplicate? #

[View source]
def no_free? #

[View source]
def no_implicit_float? #

[View source]
def no_inline? #

[View source]
def no_recurse? #

[View source]
def no_red_zone? #

[View source]
def no_return? #

[View source]
def no_sync? #

[View source]
def no_unwind? #

[View source]
def non_lazy_bind? #

[View source]
def non_null? #

[View source]
def none? #

[View source]
def optimize_for_size? #

[View source]
def optimize_none? #

[View source]
def read_none? #

[View source]
def read_only? #

[View source]
def returned? #

[View source]
def returns_twice? #

[View source]
def s_ext? #

[View source]
def safe_stack? #

[View source]
def sanitize_address? #

[View source]
def sanitize_memory? #

[View source]
def sanitize_thread? #

[View source]
def stack_alignment? #

[View source]
def stack_protect? #

[View source]
def stack_protect_req? #

[View source]
def stack_protect_strong? #

[View source]
def struct_ret? #

[View source]
def swift_error? #

[View source]
def swift_self? #

[View source]
def uw_table? #

[View source]
def will_return? #

[View source]
def write_only? #

[View source]
def z_ext? #

[View source]