pub fn apply<'c>(
context: &'c Context,
map_operands: &[Value<'c, '_>],
map: Attribute<'c>,
location: Location<'c>
-) -> AffineApplyOp<'c>
Expand description
Creates a new apply
operation. Affine apply operation.
Expand description
Creates a apply
operation. Affine apply operation.
pub fn delinearize_index<'c>(
context: &'c Context,
multi_index: &[Type<'c>],
linear_index: Value<'c, '_>,
basis: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineDelinearizeIndexOp<'c>
Expand description
Creates a new delinearize_index
operation. Delinearize an index.
Expand description
Creates a delinearize_index
operation. Delinearize an index.
pub fn for<'c>(
context: &'c Context,
results: &[Type<'c>],
region: Region<'c>,
location: Location<'c>
-) -> AffineForOp<'c>
Expand description
Creates a new for
operation. For operation.
Expand description
Creates a for
operation. For operation.
pub fn if<'c>(
context: &'c Context,
results: &[Type<'c>],
then_region: Region<'c>,
else_region: Region<'c>,
location: Location<'c>
-) -> AffineIfOp<'c>
Expand description
Creates a new if
operation. If-then-else operation.
Expand description
Creates a if
operation. If-then-else operation.
pub fn load<'c>(
context: &'c Context,
result: Type<'c>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineLoadOp<'c>
Expand description
Creates a new load
operation. Affine load operation.
Expand description
Creates a load
operation. Affine load operation.
pub fn max<'c>(
context: &'c Context,
operands: &[Value<'c, '_>],
map: Attribute<'c>,
location: Location<'c>
-) -> AffineMaxOp<'c>
Expand description
Creates a new max
operation. Max operation.
Expand description
Creates a max
operation. Max operation.
pub fn min<'c>(
context: &'c Context,
operands: &[Value<'c, '_>],
map: Attribute<'c>,
location: Location<'c>
-) -> AffineMinOp<'c>
Expand description
Creates a new min
operation. Min operation.
Expand description
Creates a min
operation. Min operation.
pub fn parallel<'c>(
context: &'c Context,
results: &[Type<'c>],
@@ -11,5 +11,5 @@
upper_bounds_groups: Attribute<'c>,
steps: ArrayAttribute<'c>,
location: Location<'c>
-) -> AffineParallelOp<'c>
Expand description
Creates a new parallel
operation. Multi-index parallel band operation.
Expand description
Creates a parallel
operation. Multi-index parallel band operation.
pub fn prefetch<'c>(
context: &'c Context,
memref: Value<'c, '_>,
@@ -7,5 +7,5 @@
locality_hint: IntegerAttribute<'c>,
is_data_cache: Attribute<'c>,
location: Location<'c>
-) -> AffinePrefetchOp<'c>
Expand description
Creates a new prefetch
operation. Affine prefetch operation.
Expand description
Creates a prefetch
operation. Affine prefetch operation.
pub fn store<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineStoreOp<'c>
Expand description
Creates a new store
operation. Affine store operation.
Expand description
Creates a store
operation. Affine store operation.
pub fn vector_load<'c>(
context: &'c Context,
result: Type<'c>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineVectorLoadOp<'c>
Expand description
Creates a new vector_load
operation. Affine vector load operation.
Expand description
Creates a vector_load
operation. Affine vector load operation.
pub fn vector_store<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineVectorStoreOp<'c>
Expand description
Creates a new vector_store
operation. Affine vector store operation.
Expand description
Creates a vector_store
operation. Affine vector store operation.
pub fn yield<'c>(
context: &'c Context,
operands: &[Value<'c, '_>],
location: Location<'c>
-) -> AffineYieldOp<'c>
Expand description
Creates a new yield
operation. Yield values to parent operation.
Expand description
Creates a yield
operation. Yield values to parent operation.
Expand description
affine
dialect.
Structs
apply
operation. Affine apply operation.- A builder for
apply
operation. Affine apply operation. delinearize_index
operation. Delinearize an index.- A builder for
delinearize_index
operation. Delinearize an index. for
operation. For operation.- A builder for
for
operation. For operation. if
operation. If-then-else operation.- A builder for
if
operation. If-then-else operation. load
operation. Affine load operation.- A builder for
load
operation. Affine load operation. max
operation. Max operation.- A builder for
max
operation. Max operation. min
operation. Min operation.- A builder for
min
operation. Min operation. parallel
operation. Multi-index parallel band operation.- A builder for
parallel
operation. Multi-index parallel band operation. prefetch
operation. Affine prefetch operation.- A builder for
prefetch
operation. Affine prefetch operation. store
operation. Affine store operation.- A builder for
store
operation. Affine store operation. vector_load
operation. Affine vector load operation.- A builder for
vector_load
operation. Affine vector load operation. vector_store
operation. Affine vector store operation.- A builder for
vector_store
operation. Affine vector store operation. yield
operation. Yield values to parent operation.- A builder for
yield
operation. Yield values to parent operation.
Functions
- Creates a new
apply
operation. Affine apply operation. - Creates a new
delinearize_index
operation. Delinearize an index. - Creates a new
for
operation. For operation. - Creates a new
if
operation. If-then-else operation. - Creates a new
load
operation. Affine load operation. - Creates a new
max
operation. Max operation. - Creates a new
min
operation. Min operation. - Creates a new
parallel
operation. Multi-index parallel band operation. - Creates a new
prefetch
operation. Affine prefetch operation. - Creates a new
store
operation. Affine store operation. - Creates a new
vector_load
operation. Affine vector load operation. - Creates a new
vector_store
operation. Affine vector store operation. - Creates a new
yield
operation. Yield values to parent operation.
Structs
apply
operation. Affine apply operation.- A builder for
apply
operation. Affine apply operation. delinearize_index
operation. Delinearize an index.- A builder for
delinearize_index
operation. Delinearize an index. for
operation. For operation.- A builder for
for
operation. For operation. if
operation. If-then-else operation.- A builder for
if
operation. If-then-else operation. load
operation. Affine load operation.- A builder for
load
operation. Affine load operation. max
operation. Max operation.- A builder for
max
operation. Max operation. min
operation. Min operation.- A builder for
min
operation. Min operation. parallel
operation. Multi-index parallel band operation.- A builder for
parallel
operation. Multi-index parallel band operation. prefetch
operation. Affine prefetch operation.- A builder for
prefetch
operation. Affine prefetch operation. store
operation. Affine store operation.- A builder for
store
operation. Affine store operation. vector_load
operation. Affine vector load operation.- A builder for
vector_load
operation. Affine vector load operation. vector_store
operation. Affine vector store operation.- A builder for
vector_store
operation. Affine vector store operation. yield
operation. Yield values to parent operation.- A builder for
yield
operation. Yield values to parent operation.
Functions
- Creates a
apply
operation. Affine apply operation. - Creates a
delinearize_index
operation. Delinearize an index. - Creates a
for
operation. For operation. - Creates a
if
operation. If-then-else operation. - Creates a
load
operation. Affine load operation. - Creates a
max
operation. Max operation. - Creates a
min
operation. Min operation. - Creates a
parallel
operation. Multi-index parallel band operation. - Creates a
prefetch
operation. Affine prefetch operation. - Creates a
store
operation. Affine store operation. - Creates a
vector_load
operation. Affine vector load operation. - Creates a
vector_store
operation. Affine vector store operation. - Creates a
yield
operation. Yield values to parent operation.
pub fn lds_barrier<'c>(
context: &'c Context,
location: Location<'c>
-) -> LDSBarrierOp<'c>
Expand description
Creates a new lds_barrier
operation. Barrier that includes a wait for LDS memory operations..
Expand description
Creates a lds_barrier
operation. Barrier that includes a wait for LDS memory operations..
pub fn mfma<'c>(
context: &'c Context,
dest_d: Type<'c>,
@@ -10,5 +10,5 @@
k: IntegerAttribute<'c>,
blocks: IntegerAttribute<'c>,
location: Location<'c>
-) -> MFMAOp<'c>
Expand description
Creates a new mfma
operation. MLIR wrapper for CDNA mfma instructions.
Expand description
Creates a mfma
operation. MLIR wrapper for CDNA mfma instructions.
pub fn raw_buffer_atomic_cmpswap<'c>(
context: &'c Context,
value: Type<'c>,
@@ -7,5 +7,5 @@
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferAtomicCmpswapOp<'c>
Expand description
Creates a new raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap.
Expand description
Creates a raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap.
pub fn raw_buffer_atomic_fadd<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferAtomicFaddOp<'c>
Expand description
Creates a new raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only).
Expand description
Creates a raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only).
pub fn raw_buffer_atomic_fmax<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferAtomicFmaxOp<'c>
Expand description
Creates a new raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9).
Expand description
Creates a raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9).
pub fn raw_buffer_atomic_smax<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferAtomicSmaxOp<'c>
Expand description
Creates a new raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max.
Expand description
Creates a raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max.
pub fn raw_buffer_atomic_umin<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferAtomicUminOp<'c>
Expand description
Creates a new raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min.
Expand description
Creates a raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min.
pub fn raw_buffer_load<'c>(
context: &'c Context,
value: Type<'c>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferLoadOp<'c>
Expand description
Creates a new raw_buffer_load
operation. Raw Buffer load, exposing GCN features.
Expand description
Creates a raw_buffer_load
operation. Raw Buffer load, exposing GCN features.
pub fn raw_buffer_store<'c>(
context: &'c Context,
value: Value<'c, '_>,
memref: Value<'c, '_>,
indices: &[Value<'c, '_>],
location: Location<'c>
-) -> RawBufferStoreOp<'c>
Expand description
Creates a new raw_buffer_store
operation. Raw Buffer Store, exposing GCN features.
Expand description
Creates a raw_buffer_store
operation. Raw Buffer Store, exposing GCN features.
pub fn wmma<'c>(
context: &'c Context,
dest_d: Type<'c>,
@@ -6,5 +6,5 @@
source_b: Value<'c, '_>,
dest_c: Value<'c, '_>,
location: Location<'c>
-) -> WMMAOp<'c>
Expand description
Creates a new wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
Expand description
Creates a wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
gpu
and vector
, when generating LLVM IR
that will eventually be executed on AMD hardware.
-Structs
lds_barrier
operation. Barrier that includes a wait for LDS memory operations..- A builder for
lds_barrier
operation. Barrier that includes a wait for LDS memory operations.. mfma
operation. MLIR wrapper for CDNA mfma instructions.- A builder for
mfma
operation. MLIR wrapper for CDNA mfma instructions. raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap.- A builder for
raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap. raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only).- A builder for
raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only). raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9).- A builder for
raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9). raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max.- A builder for
raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max. raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min.- A builder for
raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min. raw_buffer_load
operation. Raw Buffer load, exposing GCN features.- A builder for
raw_buffer_load
operation. Raw Buffer load, exposing GCN features. raw_buffer_store
operation. Raw Buffer Store, exposing GCN features.- A builder for
raw_buffer_store
operation. Raw Buffer Store, exposing GCN features. wmma
operation. MLIR wrapper for RDNA3 wmma instructions.- A builder for
wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
Functions
- Creates a new
lds_barrier
operation. Barrier that includes a wait for LDS memory operations.. - Creates a new
mfma
operation. MLIR wrapper for CDNA mfma instructions. - Creates a new
raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap. - Creates a new
raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only). - Creates a new
raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9). - Creates a new
raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max. - Creates a new
raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min. - Creates a new
raw_buffer_load
operation. Raw Buffer load, exposing GCN features. - Creates a new
raw_buffer_store
operation. Raw Buffer Store, exposing GCN features. - Creates a new
wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
Structs
lds_barrier
operation. Barrier that includes a wait for LDS memory operations..- A builder for
lds_barrier
operation. Barrier that includes a wait for LDS memory operations.. mfma
operation. MLIR wrapper for CDNA mfma instructions.- A builder for
mfma
operation. MLIR wrapper for CDNA mfma instructions. raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap.- A builder for
raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap. raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only).- A builder for
raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only). raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9).- A builder for
raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9). raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max.- A builder for
raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max. raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min.- A builder for
raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min. raw_buffer_load
operation. Raw Buffer load, exposing GCN features.- A builder for
raw_buffer_load
operation. Raw Buffer load, exposing GCN features. raw_buffer_store
operation. Raw Buffer Store, exposing GCN features.- A builder for
raw_buffer_store
operation. Raw Buffer Store, exposing GCN features. wmma
operation. MLIR wrapper for RDNA3 wmma instructions.- A builder for
wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
Functions
- Creates a
lds_barrier
operation. Barrier that includes a wait for LDS memory operations.. - Creates a
mfma
operation. MLIR wrapper for CDNA mfma instructions. - Creates a
raw_buffer_atomic_cmpswap
operation. Raw Buffer Atomic compare-and-swap. - Creates a
raw_buffer_atomic_fadd
operation. Raw Buffer Floating-point Atomic Add (MI-* only). - Creates a
raw_buffer_atomic_fmax
operation. Raw Buffer Floating-point Atomic Max (non-GFX9). - Creates a
raw_buffer_atomic_smax
operation. Raw Buffer Signed Integer Atomic Max. - Creates a
raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min. - Creates a
raw_buffer_load
operation. Raw Buffer load, exposing GCN features. - Creates a
raw_buffer_store
operation. Raw Buffer Store, exposing GCN features. - Creates a
wmma
operation. MLIR wrapper for RDNA3 wmma instructions.
pub fn addf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> AddFOp<'c>
Expand description
Creates a new addf
operation. Floating point addition operation.
Expand description
Creates a addf
operation. Floating point addition operation.
pub fn addi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> AddIOp<'c>
Expand description
Creates a new addi
operation. Integer addition operation.
Expand description
Creates a addi
operation. Integer addition operation.
pub fn addui_extended<'c>(
context: &'c Context,
sum: Type<'c>,
@@ -6,7 +6,7 @@
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> AddUIExtendedOp<'c>
Expand description
Creates a new Creates a addui_extended
operation.
+) -> AddUIExtendedOp<'c>Expand description
addui_extended
operation.
extended unsigned integer addition operation returning sum and overflow bit
.
pub fn andi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> AndIOp<'c>
Expand description
Creates a new andi
operation. Integer binary and.
Expand description
Creates a andi
operation. Integer binary and.
pub fn bitcast<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> BitcastOp<'c>
Expand description
Creates a new bitcast
operation. Bitcast between values of equal bit width.
Expand description
Creates a bitcast
operation. Bitcast between values of equal bit width.
pub fn ceildivsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> CeilDivSIOp<'c>
Expand description
Creates a new ceildivsi
operation. Signed ceil integer division operation.
Expand description
Creates a ceildivsi
operation. Signed ceil integer division operation.
pub fn ceildivui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> CeilDivUIOp<'c>
Expand description
Creates a new ceildivui
operation. Unsigned ceil integer division operation.
Expand description
Creates a ceildivui
operation. Unsigned ceil integer division operation.
pub fn cmpf<'c>(
context: &'c Context,
result: Type<'c>,
@@ -6,5 +6,5 @@
rhs: Value<'c, '_>,
predicate: Attribute<'c>,
location: Location<'c>
-) -> CmpFOp<'c>
Expand description
Creates a new cmpf
operation. Floating-point comparison operation.
Expand description
Creates a cmpf
operation. Floating-point comparison operation.
pub fn cmpi<'c>(
context: &'c Context,
result: Type<'c>,
@@ -6,5 +6,5 @@
rhs: Value<'c, '_>,
predicate: Attribute<'c>,
location: Location<'c>
-) -> CmpIOp<'c>
Expand description
Creates a new cmpi
operation. Integer comparison operation.
Expand description
Creates a cmpi
operation. Integer comparison operation.
pub fn constant<'c>(
context: &'c Context,
result: Type<'c>,
value: Attribute<'c>,
location: Location<'c>
-) -> ConstantOp<'c>
Expand description
Creates a new constant
operation. Integer or floating point constant.
Expand description
Creates a constant
operation. Integer or floating point constant.
pub fn divf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> DivFOp<'c>
Expand description
Creates a new divf
operation. Floating point division operation.
Expand description
Creates a divf
operation. Floating point division operation.
pub fn divsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> DivSIOp<'c>
Expand description
Creates a new divsi
operation. Signed integer division operation.
Expand description
Creates a divsi
operation. Signed integer division operation.
pub fn divui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> DivUIOp<'c>
Expand description
Creates a new divui
operation. Unsigned integer division operation.
Expand description
Creates a divui
operation. Unsigned integer division operation.
pub fn extf<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> ExtFOp<'c>
Expand description
Creates a new extf
operation. Cast from floating-point to wider floating-point.
Expand description
Creates a extf
operation. Cast from floating-point to wider floating-point.
pub fn extsi<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> ExtSIOp<'c>
Expand description
Creates a new extsi
operation. Integer sign extension operation.
Expand description
Creates a extsi
operation. Integer sign extension operation.
pub fn extui<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> ExtUIOp<'c>
Expand description
Creates a new extui
operation. Integer zero extension operation.
Expand description
Creates a extui
operation. Integer zero extension operation.
pub fn floordivsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> FloorDivSIOp<'c>
Expand description
Creates a new floordivsi
operation. Signed floor integer division operation.
Expand description
Creates a floordivsi
operation. Signed floor integer division operation.
pub fn fptosi<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> FPToSIOp<'c>
Expand description
Creates a new fptosi
operation. Cast from floating-point type to integer type.
Expand description
Creates a fptosi
operation. Cast from floating-point type to integer type.
pub fn fptoui<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> FPToUIOp<'c>
Expand description
Creates a new fptoui
operation. Cast from floating-point type to integer type.
Expand description
Creates a fptoui
operation. Cast from floating-point type to integer type.
pub fn index_cast<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> IndexCastOp<'c>
Expand description
Creates a new index_cast
operation. Cast between index and integer types.
Expand description
Creates a index_cast
operation. Cast between index and integer types.
pub fn index_castui<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> IndexCastUIOp<'c>
Expand description
Creates a new index_castui
operation. Unsigned cast between index and integer types.
Expand description
Creates a index_castui
operation. Unsigned cast between index and integer types.
pub fn maxf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MaxFOp<'c>
Expand description
Creates a new maxf
operation. Floating-point maximum operation.
Expand description
Creates a maxf
operation. Floating-point maximum operation.
pub fn maxsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MaxSIOp<'c>
Expand description
Creates a new maxsi
operation. Signed integer maximum operation.
Expand description
Creates a maxsi
operation. Signed integer maximum operation.
pub fn maxui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MaxUIOp<'c>
Expand description
Creates a new maxui
operation. Unsigned integer maximum operation.
Expand description
Creates a maxui
operation. Unsigned integer maximum operation.
pub fn minf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MinFOp<'c>
Expand description
Creates a new minf
operation. Floating-point minimum operation.
Expand description
Creates a minf
operation. Floating-point minimum operation.
pub fn minsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MinSIOp<'c>
Expand description
Creates a new minsi
operation. Signed integer minimum operation.
Expand description
Creates a minsi
operation. Signed integer minimum operation.
pub fn minui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MinUIOp<'c>
Expand description
Creates a new minui
operation. Unsigned integer minimum operation.
Expand description
Creates a minui
operation. Unsigned integer minimum operation.
pub fn mulf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MulFOp<'c>
Expand description
Creates a new mulf
operation. Floating point multiplication operation.
Expand description
Creates a mulf
operation. Floating point multiplication operation.
pub fn muli<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MulIOp<'c>
Expand description
Creates a new muli
operation. Integer multiplication operation.
Expand description
Creates a muli
operation. Integer multiplication operation.
pub fn mulsi_extended<'c>(
context: &'c Context,
low: Type<'c>,
@@ -6,7 +6,7 @@
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MulSIExtendedOp<'c>
Expand description
Creates a new Creates a mulsi_extended
operation.
+) -> MulSIExtendedOp<'c>Expand description
mulsi_extended
operation.
extended signed integer multiplication operation
.
pub fn mului_extended<'c>(
context: &'c Context,
low: Type<'c>,
@@ -6,7 +6,7 @@
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> MulUIExtendedOp<'c>
Expand description
Creates a new Creates a mului_extended
operation.
+) -> MulUIExtendedOp<'c>Expand description
mului_extended
operation.
extended unsigned integer multiplication operation
.
pub fn negf<'c>(
context: &'c Context,
operand: Value<'c, '_>,
location: Location<'c>
-) -> NegFOp<'c>
Expand description
Creates a new negf
operation. Floating point negation.
Expand description
Creates a negf
operation. Floating point negation.
pub fn ori<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> OrIOp<'c>
Expand description
Creates a new ori
operation. Integer binary or.
Expand description
Creates a ori
operation. Integer binary or.
pub fn remf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> RemFOp<'c>
Expand description
Creates a new remf
operation. Floating point division remainder operation.
Expand description
Creates a remf
operation. Floating point division remainder operation.
pub fn remsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> RemSIOp<'c>
Expand description
Creates a new remsi
operation. Signed integer division remainder operation.
Expand description
Creates a remsi
operation. Signed integer division remainder operation.
pub fn remui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> RemUIOp<'c>
Expand description
Creates a new remui
operation. Unsigned integer division remainder operation.
Expand description
Creates a remui
operation. Unsigned integer division remainder operation.
pub fn select<'c>(
context: &'c Context,
result: Type<'c>,
@@ -6,5 +6,5 @@
true_value: Value<'c, '_>,
false_value: Value<'c, '_>,
location: Location<'c>
-) -> SelectOp<'c>
Expand description
Creates a new select
operation. Select operation.
Expand description
Creates a select
operation. Select operation.
pub fn shli<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> ShLIOp<'c>
Expand description
Creates a new shli
operation. Integer left-shift.
Expand description
Creates a shli
operation. Integer left-shift.
pub fn shrsi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> ShRSIOp<'c>
Expand description
Creates a new shrsi
operation. Signed integer right-shift.
Expand description
Creates a shrsi
operation. Signed integer right-shift.
pub fn shrui<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> ShRUIOp<'c>
Expand description
Creates a new shrui
operation. Unsigned integer right-shift.
Expand description
Creates a shrui
operation. Unsigned integer right-shift.
pub fn sitofp<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> SIToFPOp<'c>
Expand description
Creates a new sitofp
operation. Cast from integer type to floating-point.
Expand description
Creates a sitofp
operation. Cast from integer type to floating-point.
pub fn subf<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> SubFOp<'c>
Expand description
Creates a new subf
operation. Floating point subtraction operation.
Expand description
Creates a subf
operation. Floating point subtraction operation.
pub fn subi<'c>(
context: &'c Context,
lhs: Value<'c, '_>,
rhs: Value<'c, '_>,
location: Location<'c>
-) -> SubIOp<'c>
Expand description
Creates a new subi
operation. Integer subtraction operation.
Expand description
Creates a subi
operation. Integer subtraction operation.
pub fn truncf<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> TruncFOp<'c>
Expand description
Creates a new truncf
operation. Cast from floating-point to narrower floating-point.
Expand description
Creates a truncf
operation. Cast from floating-point to narrower floating-point.
pub fn trunci<'c>(
context: &'c Context,
out: Type<'c>,
in: Value<'c, '_>,
location: Location<'c>
-) -> TruncIOp<'c>
Expand description
Creates a new trunci
operation. Integer truncation operation.
Expand description
Creates a trunci
operation. Integer truncation operation.