Backend¶
Per-architecture behaviour, kept out of the passes.
Passes never branch on BackendType. Everything architecture-specific — codegen
target, runtime API names, hazard workarounds, cross-core layout rules — is answered
by a BackendHandler obtained from the active PassContext. Adding an architecture
means adding a handler, not editing passes.
| Page | What it covers |
|---|---|
| BackendHandler: principled backend dispatch | The virtual interface, how passes query it, and what adding a new backend requires |
See Also¶
- Pass, PassContext, PassPipeline, and PassManager — where the handler comes from.
- PTO ISA reference — the hardware differences the handlers abstract over.