low.func.call
← low dialect
Direct call from one low function body to another same-target low function.
Operation contract
| Property |
Value |
| Semantic phase |
— |
| Traits |
UnknownEffects |
| Interfaces |
CallLike |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
operands |
register |
variadic |
— |
| Result |
results |
register |
variadic |
— |
| Attribute |
callee |
symbol (callable) |
required |
— |
| Attribute |
purity |
enum Purity |
optional |
— |
Examples
%result = low.func.call @extern_add(%lhs, %rhs) : (reg<amdgpu.vgpr x1>, reg<amdgpu.vgpr x1>) -> (reg<amdgpu.vgpr x1>)
%result = low.func.call pure @extern_add(%lhs) : (reg<vm.i32>) -> (reg<vm.i32>)