Enum rustc_mir::transform::promote_consts::Candidate [] [src]

pub enum Candidate {
    Ref(Location),
    ShuffleIndices(BasicBlock),
}
Unstable (rustc_private)

A "root candidate" for promotion, which will become the returned value in a promoted MIR, unless it's a subset of a larger candidate.

Variants

Ref(Location)
Unstable (rustc_private)

Borrow of a constant temporary.

ShuffleIndices(BasicBlock)
Unstable (rustc_private)

Array of indices found in the third argument of a call to one of the simd_shuffleN intrinsics.