Add visibility to RegisterAllocator

Make register allocator available through
private export.