Generates all the ISLE source files used in Cranelift from the meta-language.
(isle_dir: &std::path::Path)
| 76 | |
| 77 | /// Generates all the ISLE source files used in Cranelift from the meta-language. |
| 78 | pub fn generate_isle(isle_dir: &std::path::Path) -> Result<(), error::Error> { |
| 79 | let shared_defs = shared::define(); |
| 80 | generate_isle_for_shared_defs(&shared_defs, isle_dir) |
| 81 | } |
| 82 | |
| 83 | fn generate_isle_for_shared_defs( |
| 84 | shared_defs: &Definitions, |