[−][src]Module rustc_middle::ty::query

Modules

keys

Defines the set of legal keys that can be used in queries.

on_disk_cache
plumbing

The implementation of the query system itself. This defines the macros that generate the actual methods on tcx which find and execute the provider, manage the caches, and so forth.

profiling_support
queries
query_keys
query_values
sealed
stats
values

Structs

OnDiskCache

Provides an interface to incremental compilation data cached from the previous compilation session. This data will eventually include the results of a few selected queries (like typeck and mir_optimized) and any diagnostics that have been emitted during a query.

Providers
Queries
QueryInfo

Represents a span and a query key.

QueryJob

Represents an active query job.

QueryJobId

A value uniquely identifiying an active query job.

QueryKeyStringBuilder
TyCtxtAt
TyCtxtEnsure

Enums

Query

Traits

IntoSelfProfilingString
QueryConfig

Functions

force_from_dep_node

The red/green evaluation system will try to mark a specific DepNode in the dependency graph as green by recursively trying to mark the dependencies of that DepNode as green. While doing so, it will sometimes encounter a DepNode where we don't know if it is red or green and we therefore actually have to recompute its value in order to find out. Since the only piece of information that we have at that point is the DepNode we are trying to re-evaluate, we need some way to re-run a query from just that. This is what force_from_dep_node() implements.

print_stats
try_load_from_on_disk_cache