tvm
Loading...
Searching...
No Matches
Functions
tvm::prim::builtin Namespace Reference

Functions

const Opvscale ()
 Get the target's vscale value. It will be lowered to llvm.vscale intrinsic (https://llvm.org/docs/LangRef.html#llvm-vscale-intrinsic)
 
const Opshift_left ()
 Left shift.
 
const Opshift_right ()
 Right shift.
 
const Opbitwise_and ()
 Bitwise and operator.
 
const Opbitwise_or ()
 Bitwise or operator.
 
const Opbitwise_xor ()
 Bitwise xor operator.
 
const Opbitwise_not ()
 Bitwise not operator.
 
const Opif_then_else ()
 Same as select, used for unsafe memory access.
 
const Oplikely ()
 Marks a condition is likely going to happen.
 

Function Documentation

◆ bitwise_and()

const Op & tvm::prim::builtin::bitwise_and ( )

Bitwise and operator.

◆ bitwise_not()

const Op & tvm::prim::builtin::bitwise_not ( )

Bitwise not operator.

◆ bitwise_or()

const Op & tvm::prim::builtin::bitwise_or ( )

Bitwise or operator.

◆ bitwise_xor()

const Op & tvm::prim::builtin::bitwise_xor ( )

Bitwise xor operator.

◆ if_then_else()

const Op & tvm::prim::builtin::if_then_else ( )

Same as select, used for unsafe memory access.

Type tvm_if_then_else(cond, a, b) { return cond ? a : b; }

◆ likely()

const Op & tvm::prim::builtin::likely ( )

Marks a condition is likely going to happen.

◆ shift_left()

const Op & tvm::prim::builtin::shift_left ( )

Left shift.

◆ shift_right()

const Op & tvm::prim::builtin::shift_right ( )

Right shift.

◆ vscale()

const Op & tvm::prim::builtin::vscale ( )

Get the target's vscale value. It will be lowered to llvm.vscale intrinsic (https://llvm.org/docs/LangRef.html#llvm-vscale-intrinsic)