123 template <
typename T>
125 return this->
fKind == (
int)T::kIRNodeKind;
132 template <
typename T>
135 return static_cast<const T&
>(*this);
138 template <
typename T>
141 return static_cast<T&
>(*this);
IRNode(const IRNode &)=delete
IRNode(Position position, int kind)
Position position() const
void setPosition(Position p)
IRNode & operator=(const IRNode &)=delete
virtual std::string description() const =0
@ kConstructorCompoundCast
@ kConstructorDiagonalMatrix
@ kConstructorMatrixResize