tree: 1abd586a0dcc0e42f093d50a5ea76c8187778666 [path history] [tgz]
  1. isle_examples/
  2. src/
  3. tests/
  4. .cargo-checksum.json
  5. build.rs
  6. Cargo.toml
  7. README.md
vendor/cranelift-isle-0.111.0/README.md

ISLE: Instruction Selection / Lowering Expressions

ISLE is a domain specific language (DSL) for instruction selection and lowering clif instructions to vcode's MachInsts in Cranelift.

ISLE is a statically-typed term-rewriting language. You define rewriting rules that map input terms (clif instructions) into output terms (MachInsts). These rules get compiled down into Rust source test that uses a tree of match expressions that is as good or better than what you would have written by hand.