One compilation-local provider assembly. Source queries are the pinned step.rs/call.rs/operand.rs/stack.rs/traits.rs query sites documented by the constituent adapters. Preparation is ordered state threading, not independent local ID allocation followed by merging. Every earlier view is rebound to the final tables; source failures remain failures, not execution-readiness claims.
- program : LoweredProgram
- lowering : Option (LowerContext.Bound self.program.input)
Prepared lowering indices certified for this provider's exact input. Publicly assembled providers may omit the cache; their accessor preserves the historical behavior by deriving from
program.input. - runtime : RuntimeMetadata
- primitiveQueries : Option (CompilerPrimitiveFacts.Bound self.runtime)
Direct source primitive references prepared for this exact runtime. Publicly assembled providers may omit it and retain the linear query path.
- sourceEquality : RuntimeMetadata.JsonReflexivity self.runtime.source.raw
Reflexive-comparison certificate created once by the shared call pipeline and retained for every provider check against this source document.
- lifecycle : CompilerLifecyclePipeline.Prepared
- functions : CompilerFunctionFacts.Prepared
- main : CompilerMain.Prepared
- intrinsics : CompilerIntrinsicFacts.Prepared
- constants : CompilerConstantQueries.Prepared
- constantBinding : CompilerConstantQueries.Binding self.constants self.runtime
Exact compatibility computed once from the values above. Keeping the indices dependent makes later record updates unable to reuse a stale result.
- namedConstants : CompilerNamedConstants.Prepared
- namedGlobals : CompilerNamedGlobals.Prepared
- externStatics : CompilerExternStatic.Prepared
- pointers : CompilerFunctionPointers.Prepared
- vtables : CompilerVTableMachine.Prepared
- namedAbi : CompilerNamedShimAbi.Prepared
- foreignSymbols : Except String CompilerForeignSymbolTables.Prepared
Immutable compiler export table. Errors remain stored so source consumers retain their original demand-local failure boundary.
- covarianceIndex : CompilerQueryIndices.Covariance self.program.input.raw
Source-ordered exact lookup index. Global row parse errors remain stored and are reported only when a non-reflexive covariance query is demanded.
- signatureAbiIndex : CompilerQueryIndices.SignatureAbi self.runtime self.program.input.raw
Parsed helper-signature keys and exact duplicate rows, retaining the first malformed source row for demand-time error ordering.
- initialArrays : Except String RuntimeArrayTypes.World
Initial persistent interner. Runtime execution must thread its updated World.
- tls : Except String (Array CompilerThreadLocal.Entry)
Instances For
Reuse lowering indices only when certified for this provider's own source document. This remains correct for manually assembled records whose nested fact context happens to refer to a different program.
Equations
- p.loweringContext = match p.lowering with | some prepared => prepared.value | none => Miri.Input.LowerContext.ofDocument p.program.input
Instances For
Demand one exact compiler primitive using the provider-owned cache when available; manual providers retain the original query path.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
All identity-appending adapters run on the immediately preceding program. Predicate tokens are established exactly once by CompilerCallPipeline's shared FactAdapters preparation, then consumed by vtable adapters without re-interning.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
The canonical predicate table belonging to all prepared vtable/cast facts.
Equations
Instances For
Resolve the exact compiler FnDef request at the current canonical source terminator. Original request identity is distinct from the resolved method/shim identity; trait methods may resolve to an implementation with a different DefId.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete ExternAbi keeps source ABI/unwind identity separate from FnAbi's canonical target convention. All full-callee hooks use the final shared tables. The explicit base config retains physical memory/host/platform capabilities.
Equations
- One or more equations did not get rendered due to their size.