llvm_bitcode/
lib.rs

1//! LLVM Bitcode parser in Rust
2
3/// Bitcode definitions
4pub mod bitcode;
5mod bits;
6/// Bitstream definitions
7pub mod bitstream;
8/// Bitstream reader
9pub mod read;
10/// Bitstream visitor
11pub mod visitor;
12
13/// Definitions from `LLVMBitCodes.h`
14pub mod schema {
15    /// IDs of blocks and records inside the blocks
16    pub mod blocks;
17    /// Flags and values found in records
18    pub mod values;
19}
20
21pub use self::bitcode::Bitcode;
22pub use self::bits::Cursor;
23pub use self::read::BitStreamReader;
24pub use self::visitor::BitStreamVisitor;