Add IR transformer, visitor and indexer