Module rustc_query_system::query[−][src]

Modules

caches
config

Query configuration and description traits.

job
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.

Structs

ArenaCacheSelector
DefaultCacheSelector
QueryCacheStore
QueryInfo

Represents a span and a query key.

QueryJob

Represents an active query job.

QueryJobId

A value uniquely identifying an active query job.

QueryJobInfo
QueryLookup

Values used when checking a query cache which can be reused on a cache-miss to execute the query.

QueryStackFrame

Description of a frame in the query stack.

QueryState

Enums

QueryMode

Traits

CacheSelector
QueryAccessors
QueryCache
QueryConfig
QueryContext
QueryDescription
QueryStorage

Functions

force_query
get_query
print_query_stack
try_get_cached

Checks if the query is already computed and in the cache. It returns the shard index and a lock guard to the shard, which will be used if the query is not in the cache and we need to compute it.

Type Definitions

QueryMap