New lightweight IR library with different implementation