Int
class Int[N]
Fields
1
N
Literal[int]
Constructors
12
Properties
2
Methods
4
Special methods
53
__float__(self: Self, /) -> float
Added by
internal.types.int%0 = sitofp i{=N} %self to double
ret double %0
__bool__(self: Self, /) -> bool
Added by
internal.types.int%0 = icmp ne i{=N} %self, 0
%1 = zext i1 %0 to i8
ret i8 %1
__invert__(self: Self, /) -> Int[N]
Added by
internal.types.int%0 = xor i{=N} %self, -1
ret i{=N} %0
__abs__(self: Self, /) -> Int[N]
Added by
internal.types.intdeclare i{=N} @llvm.abs.i{=N}(i{=N}, i1)
%0 = call i{=N} @llvm.abs.i{=N}(i{=N} %self, i1 false)
ret i{=N} %0
__add__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = add i{=N} %self, %other
ret i{=N} %0
__add__(self: Self, b: float, /)
Added by
internal.ops__add__(self: Self, b: float128, /)
Added by
internal.ops__add__(self: Self, b: float32, /)
Added by
internal.ops__add__(self: Self, b: float16, /)
Added by
internal.ops__add__(self: Self, b: bfloat16, /)
Added by
internal.ops__add__(self: Self, b: Int, /)
Added by
internal.ops__add__(self: Self, b: UInt, /)
Added by
internal.ops__add__(self: Self, b: bool, /)
Added by
internal.ops__sub__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = sub i{=N} %self, %other
ret i{=N} %0
__sub__(self: Self, b: float, /)
Added by
internal.ops__sub__(self: Self, b: float128, /)
Added by
internal.ops__sub__(self: Self, b: float32, /)
Added by
internal.ops__sub__(self: Self, b: float16, /)
Added by
internal.ops__sub__(self: Self, b: bfloat16, /)
Added by
internal.ops__sub__(self: Self, b: Int, /)
Added by
internal.ops__sub__(self: Self, b: UInt, /)
Added by
internal.ops__sub__(self: Self, b: bool, /)
Added by
internal.ops__mul__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = mul i{=N} %self, %other
ret i{=N} %0
__mul__(self: Self, b: float, /)
Added by
internal.ops__mul__(self: Self, b: float128, /)
Added by
internal.ops__mul__(self: Self, b: float32, /)
Added by
internal.ops__mul__(self: Self, b: float16, /)
Added by
internal.ops__mul__(self: Self, b: bfloat16, /)
Added by
internal.ops__mul__(self: Self, b: Int, /)
Added by
internal.ops__mul__(self: Self, b: UInt, /)
Added by
internal.ops__mul__(self: Self, b: bool, /)
Added by
internal.ops__floordiv__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int__floordiv__(self: Self, b: float, /)
Added by
internal.ops__floordiv__(self: Self, b: float128, /)
Added by
internal.ops__floordiv__(self: Self, b: float32, /)
Added by
internal.ops__floordiv__(self: Self, b: float16, /)
Added by
internal.ops__floordiv__(self: Self, b: bfloat16, /)
Added by
internal.ops__floordiv__(self: Self, b: Int, /)
Added by
internal.ops__floordiv__(self: Self, b: UInt, /)
Added by
internal.ops__floordiv__(self: Self, b: bool, /)
Added by
internal.ops__truediv__(self: Self, other: Int[N], /) -> float
Added by
internal.types.int__truediv__(self: Self, b: float, /)
Added by
internal.ops__truediv__(self: Self, b: float128, /)
Added by
internal.ops__truediv__(self: Self, b: float32, /)
Added by
internal.ops__truediv__(self: Self, b: float16, /)
Added by
internal.ops__truediv__(self: Self, b: bfloat16, /)
Added by
internal.ops__truediv__(self: Self, b: Int, /)
Added by
internal.ops__truediv__(self: Self, b: UInt, /)
Added by
internal.ops__truediv__(self: Self, b: bool, /)
Added by
internal.ops__mod__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int__mod__(self: Self, b: float, /)
Added by
internal.ops__mod__(self: Self, b: float128, /)
Added by
internal.ops__mod__(self: Self, b: float32, /)
Added by
internal.ops__mod__(self: Self, b: float16, /)
Added by
internal.ops__mod__(self: Self, b: bfloat16, /)
Added by
internal.ops__mod__(self: Self, b: Int, /)
Added by
internal.ops__mod__(self: Self, b: UInt, /)
Added by
internal.ops__mod__(self: Self, b: bool, /)
Added by
internal.ops__divmod__(self: Self, other: Int[N], /) -> Tuple[(Int[N], Int[N])]
Added by
internal.types.int__divmod__(self: Self, b: float, /)
Added by
internal.ops__divmod__(self: Self, b: float128, /)
Added by
internal.ops__divmod__(self: Self, b: float32, /)
Added by
internal.ops__divmod__(self: Self, b: float16, /)
Added by
internal.ops__divmod__(self: Self, b: bfloat16, /)
Added by
internal.ops__divmod__(self: Self, b: Int, /)
Added by
internal.ops__divmod__(self: Self, b: UInt, /)
Added by
internal.ops__divmod__(self: Self, b: bool, /)
Added by
internal.ops__lshift__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int__lshift__(self: Self, other: int, /) -> Int[N]
Added by
internal.types.int__rshift__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int__rshift__(self: Self, other: int, /) -> Int[N]
Added by
internal.types.int__eq__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp eq i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__eq__(self: Self, b: float, /)
Added by
internal.ops__eq__(self: Self, b: float128, /)
Added by
internal.ops__eq__(self: Self, b: float32, /)
Added by
internal.ops__eq__(self: Self, b: float16, /)
Added by
internal.ops__eq__(self: Self, b: bfloat16, /)
Added by
internal.ops__eq__(self: Self, b: Int, /)
Added by
internal.ops__eq__(self: Self, b: UInt, /)
Added by
internal.ops__eq__(self: Self, b: bool, /)
Added by
internal.ops__ne__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp ne i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ne__(self: Self, b: float, /)
Added by
internal.ops__ne__(self: Self, b: float128, /)
Added by
internal.ops__ne__(self: Self, b: float32, /)
Added by
internal.ops__ne__(self: Self, b: float16, /)
Added by
internal.ops__ne__(self: Self, b: bfloat16, /)
Added by
internal.ops__ne__(self: Self, b: Int, /)
Added by
internal.ops__ne__(self: Self, b: UInt, /)
Added by
internal.ops__ne__(self: Self, b: bool, /)
Added by
internal.ops__lt__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp slt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__lt__(self: Self, b: float, /)
Added by
internal.ops__lt__(self: Self, b: float128, /)
Added by
internal.ops__lt__(self: Self, b: float32, /)
Added by
internal.ops__lt__(self: Self, b: float16, /)
Added by
internal.ops__lt__(self: Self, b: bfloat16, /)
Added by
internal.ops__lt__(self: Self, b: Int, /)
Added by
internal.ops__lt__(self: Self, b: UInt, /)
Added by
internal.ops__lt__(self: Self, b: bool, /)
Added by
internal.ops__gt__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp sgt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__gt__(self: Self, b: float, /)
Added by
internal.ops__gt__(self: Self, b: float128, /)
Added by
internal.ops__gt__(self: Self, b: float32, /)
Added by
internal.ops__gt__(self: Self, b: float16, /)
Added by
internal.ops__gt__(self: Self, b: bfloat16, /)
Added by
internal.ops__gt__(self: Self, b: Int, /)
Added by
internal.ops__gt__(self: Self, b: UInt, /)
Added by
internal.ops__gt__(self: Self, b: bool, /)
Added by
internal.ops__le__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp sle i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__le__(self: Self, b: float, /)
Added by
internal.ops__le__(self: Self, b: float128, /)
Added by
internal.ops__le__(self: Self, b: float32, /)
Added by
internal.ops__le__(self: Self, b: float16, /)
Added by
internal.ops__le__(self: Self, b: bfloat16, /)
Added by
internal.ops__le__(self: Self, b: Int, /)
Added by
internal.ops__le__(self: Self, b: UInt, /)
Added by
internal.ops__le__(self: Self, b: bool, /)
Added by
internal.ops__ge__(self: Self, other: Int[N], /) -> bool
Added by
internal.types.int%0 = icmp sge i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ge__(self: Self, b: float, /)
Added by
internal.ops__ge__(self: Self, b: float128, /)
Added by
internal.ops__ge__(self: Self, b: float32, /)
Added by
internal.ops__ge__(self: Self, b: float16, /)
Added by
internal.ops__ge__(self: Self, b: bfloat16, /)
Added by
internal.ops__ge__(self: Self, b: Int, /)
Added by
internal.ops__ge__(self: Self, b: UInt, /)
Added by
internal.ops__ge__(self: Self, b: bool, /)
Added by
internal.ops__and__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = and i{=N} %self, %other
ret i{=N} %0
__or__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = or i{=N} %self, %other
ret i{=N} %0
__xor__(self: Self, other: Int[N], /) -> Int[N]
Added by
internal.types.int%0 = xor i{=N} %self, %other
ret i{=N} %0
__pow__(self: Self, exp: Int[N], /) -> Int[N]
Added by
internal.types.int__pow__[exp: Literal[int]](self: Self, /)
Added by
internal.types.int__pow__(self: Self, b: float, /)
Added by
internal.ops__pow__(self: Self, b: float128, /)
Added by
internal.ops__pow__(self: Self, b: float32, /)
Added by
internal.ops__pow__(self: Self, b: float16, /)
Added by
internal.ops__pow__(self: Self, b: bfloat16, /)
Added by
internal.ops__pow__(self: Self, b: Int, /)
Added by
internal.ops__pow__(self: Self, b: UInt, /)
Added by
internal.ops__pow__(self: Self, b: bool, /)
Added by
internal.ops__atomic_xchg__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw xchg ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_add__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw add ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_sub__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw sub ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_and__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw and ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_nand__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw nand ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_or__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw or ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_xor__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw xor ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_min__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw min ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_max__(d: Ptr[Int[N]], b: Int[N]) -> Int[N]
Added by
internal.types.int%tmp = atomicrmw max ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp