tvm_tirx.tirx.call_llvm_intrin

tvm_tirx.tirx.call_llvm_intrin#

tvm_tirx.tirx.call_llvm_intrin(name, *args, ty, loc=UNKNOWN_LOC)#

Build expression by calling a llvm intrinsic function

Parameters:
  • ty (str) – The data type of the result.

  • name (str) – The name of the llvm intrinsic function.

  • args (list) – Positional arguments.

  • loc (Location, optional) – The location of this operator in the source code.

Returns:

call (Expr) – The call expression.