low.invoke
← low dialect
Invoke an explicitly selected translated low function from non-low IR.
Operation contract
| Property |
Value |
| Semantic phase |
executable |
| Traits |
UnknownEffects, NoAncestor(low.func.def), NoAncestor(low.kernel.def) |
| Interfaces |
CallLike |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
operands |
any |
variadic |
— |
| Result |
results |
any |
variadic |
— |
| Attribute |
callee |
symbol (callable) |
required |
— |
| Attribute |
purity |
enum Purity |
optional |
— |
Examples
%result = low.invoke @extern_add(%lhs, %rhs) : (i32, i32) -> (i32)
%result = low.invoke pure @extern_add(%lhs, %rhs) : (i32, i32) -> (i32)