MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / generate_isle

Function generate_isle

cranelift/codegen/meta/src/lib.rs:78–81  ·  view source on GitHub ↗

Generates all the ISLE source files used in Cranelift from the meta-language.

(isle_dir: &std::path::Path)

Source from the content-addressed store, hash-verified

76
77/// Generates all the ISLE source files used in Cranelift from the meta-language.
78pub 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
83fn generate_isle_for_shared_defs(
84 shared_defs: &Definitions,

Callers 4

isle_input_filesMethod · 0.50
get_isle_filesFunction · 0.50

Calls 2

defineFunction · 0.50

Tested by 1

get_isle_filesFunction · 0.40