Enum CallEffectKind#

Enum Documentation#

enum class tvm::CallEffectKind : int#

The effect type of the call.

Values:

enumerator kExprAnnotation#

Function corresponds to an annotation(e.g. likely) and can translate to identity.

enumerator kPure#

Pure function that do not interacts with any external state.

enumerator kReadState#

Function’s that may read from states(e.g. RAM).

enumerator kUpdateState#

Function that may read/write from states(e.g. RAM).

enumerator kOpaque#

Opaque function, cannot make any assumption.

enumerator kSpecialCallArg#

Special intrinsic to annotate call arguments info only valid as a direct argument to a call.

enumerator kEmbedInfo#

Embed opaque information in the Expr, cannot be codegen.

enumerator kControlJump#

Function that changes control flow.