this way we have mir::ConstValue and ty::ValTree as reasonably parallel
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.