tvm_tirx.tirx.call_intrin#
- tvm_tirx.tirx.call_intrin(func_name, *args, ty, attrs=None, loc=UNKNOWN_LOC)#
Build expression by calling an intrinsic function.
Intrinsics can be overloaded with multiple data types via the intrinsic translation rule.
- Parameters:
ty (str or tvm_tirx.ir.Type) – The data type of the result.
func_name (str) – The intrinsic function name.
args (list) – Positional arguments.
attrs (Optional[tvm_tirx.ir.Attrs or Dict[str, Object]]) – Additional attributes for the call.
loc (Location, optional) – The location of this operator in the source code.
- Returns:
call (Expr) – The call expression.