Skip to contents

The table below shows all 99 primitives and which rules they implement. Note that a rule might be missing because it was just not added yet, or because it does not apply for a specific primitive.

Name StableHLO Quickr Reverse
abs
acos
acosh
add
and
argmax
argmin
asin
asinh
atan
atan2
atanh
bitcast_convert
broadcast_in_dim
cbrt
ceil
cholesky
clamp
concatenate
convert
cosh
cosine
cummax
cummin
cumprod
cumsum
digamma
divide
dot_general
dynamic_slice
dynamic_update_slice
eigh
equal
erf
erf_inv
erfc
exp
expm1
fill
floor
gather
greater
greater_equal
if
iota
is_finite
less
less_equal
lgamma
log
log1p
logistic
lu
maximum
minimum
mul
negate
not
not_equal
or
pad
polygamma
popcnt
power
print
qr
reduce
reduce_all
reduce_any
reduce_max
reduce_min
reduce_prod
reduce_sum
remainder
reshape
reverse
rng_bit_generator
round
rsqrt
scatter
select
shift_left
shift_right_arithmetic
shift_right_logical
sign
sine
sinh
sort
sqrt
static_slice
sub
svd
tan
tanh
top_k
transpose
triangular_solve
while
xor