internal.types.int
class Int[N]
Extends
Int ยท View complete class API โ
Constructors
5
Properties
2
Methods
4
Special methods
42
__abs__(self)
declare 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
__lt__(self, other: Int[N])
%0 = icmp slt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__gt__(self, other: Int[N])
%0 = icmp sgt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__le__(self, other: Int[N])
%0 = icmp sle i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ge__(self, other: Int[N])
%0 = icmp sge i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__atomic_xchg__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw xchg ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_add__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw add ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_sub__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw sub ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_and__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw and ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_nand__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw nand ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_or__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw or ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_xor__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw xor ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_min__(d: Ptr[Int[N]], b: Int[N])
%tmp = atomicrmw min ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
class UInt[N]
Extends
UInt ยท View complete class API โ
Constructors
4
Properties
2
Methods
4
Special methods
42
__eq__(self, other: UInt[N])
%0 = icmp eq i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ne__(self, other: UInt[N])
%0 = icmp ne i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__lt__(self, other: UInt[N])
%0 = icmp ult i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__gt__(self, other: UInt[N])
%0 = icmp ugt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__le__(self, other: UInt[N])
%0 = icmp ule i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ge__(self, other: UInt[N])
%0 = icmp uge i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__atomic_xchg__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw xchg ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_add__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw add ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_sub__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw sub ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_and__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw and ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_nand__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw nand ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_or__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw or ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_xor__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw xor ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_min__(d: Ptr[UInt[N]], b: UInt[N])
%tmp = atomicrmw umin ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp