pub fn generate_bitcode(inputs: &CodegenInputs<'_>) -> CompileResult<Vec<u8>>Expand description
Generate pre-optimization LLVM bitcode from a collection of function CFGs.
Returns the LLVM bitcode bytes (the binary equivalent of .ll text) BEFORE
the optimizer pipeline runs. Used by ADR-0074’s bitcode cache: on miss,
generate + cache; on hit, skip this step and pass the cached bitcode to
compile_bitcode_to_object.
The output is a .bc blob — same format clang -emit-llvm -c produces.