Skip to main content

morok_codegen/llvm/
mod.rs

1//! LLVM IR code generation.
2//!
3//! This module generates LLVM IR code from optimized UOp graphs.
4//!
5//! # Module Structure
6//!
7//! - `common/`: Shared utilities (types, ctx) for CPU and GPU
8//! - `cpu/`: CPU-specific rendering
9//! - `gpu/`: Future GPU-specific rendering (HIP, CUDA, Metal)
10//! - `text/`: Main entry point that orchestrates rendering
11
12pub mod common;
13pub mod cpu;
14pub mod gpu;
15pub mod text;
16
17pub use cpu::render_uop as cpu_render_uop;
18pub use text::LlvmTextRenderer;