type SwitchSources = FxHashMap<(BasicBlock, BasicBlock), SmallVec<[SwitchTargetValue; 1]>>;
Expand description
Each (target, switch)
entry in the map contains a list of switch values
that lead to a target
block from a switch
block.
Note: this type is currently never instantiated, because it’s only used for
BasicBlocks::switch_sources
, which is only called by backwards analyses
that do SwitchInt
handling, and we don’t have any of those, not even in
tests. See #95120 and #94576.
Aliased Type§
struct SwitchSources { /* private fields */ }
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes