backends/dpdk/dpdkArch.cpp
void expressionUnrollSanityCheck(const IR::Expression *e) {
    if (!e->is<IR::Operation_Unary>() &&
            !e->is<IR::MethodCallExpression>() && !e->is<IR::Member>() &&
            !e->is<IR::PathExpression>() && !e->is<IR::Operation_Binary>() &&
            !e->is<IR::Constant>() && !e->is<IR::BoolLiteral>()) {
        std::cerr << e->node_type_name() << std::endl;
        BUG("Untraversed node");
    }
}
// This function is a sanity to check whether the component of a Expression
// falls into following classes, if not, it means we haven't implemented a
// handle for that class.
This function is a sanity to check whether the component of a Expression
falls into following classes, if not, it means we haven't implemented a
handle for that class.
This function is a sanity to check whether the component of a Expression falls into following classes if not it means we haven ' t implemented a handle for that class .
void expressionUnrollSanityCheck(const IR::Expression *e) {
    if (!e->is<IR::Operation_Unary>() &&
            !e->is<IR::MethodCallExpression>() && !e->is<IR::Member>() &&
            !e->is<IR::PathExpression>() && !e->is<IR::Operation_Binary>() &&
            !e->is<IR::Constant>() && !e->is<IR::BoolLiteral>()) {
        std::cerr << e->node_type_name() << std::endl;
        BUG("Untraversed node");
    }
}
void expressionUnrollSanityCheck ( const IR :: Expression * e ) { if ( ! e -> is < IR :: Operation_Unary > ( ) && ! e -> is < IR :: MethodCallExpression > ( ) && ! e -> is < IR :: Member > ( ) && ! e -> is < IR :: PathExpression > ( ) && ! e -> is < IR :: Operation_Binary > ( ) && ! e -> is < IR :: Constant > ( ) && ! e -> is < IR :: BoolLiteral > ( ) ) { std :: cerr << e -> node_type_name ( ) << std :: endl ; BUG ( " " ) ; } }
This function is a sanity to check whether the component of a Expression
falls into following classes, if not, it means we haven't implemented a
handle for that class.
This function is a sanity to check whether the component of a Expression falls into following classes if not it means we haven ' t implemented a handle for that class .