Moved Ir traverse functions into IntClafer