Template Class PSelectExpr#

Inheritance Relationships#

Base Type#

Class Documentation#

template<typename TCond, typename TA, typename TB>
class PSelectExpr : public tvm::Pattern<PSelectExpr<TCond, TA, TB>>#

Pattern select expression.

Template Parameters:
  • TCond – The pattern type of the condition.

  • TA – The pattern type of the true operand.

  • TB – The pattern type of the false operand.

Public Functions

inline PSelectExpr(const TCond &condition, const TA &true_value, const TB &false_value)#
inline void InitMatch_() const#
inline bool Match_(const ffi::ObjectRef &node) const#
inline PrimExpr Eval() const#