pub fn build_eir(program: &Program) -> Result<EirProgram>
Build EIR from parsed frontend AST without lowering to RIR.