pub enum BlockId {
Reserved(ReservedBlockId),
Ir(IrBlockId),
Unknown(u64),
}Expand description
A holistic model of all possible block IDs, spanning reserved, IR, and unknown IDs.
Variants§
Reserved(ReservedBlockId)
A block ID that’s been reserved by LLVM. Reserved IDs are internal, and cannot be mapped here.
Ir(IrBlockId)
A block ID used by LLVM IR.
Unknown(u64)
An unknown block ID. Unknown IDs cannot be mapped.
Trait Implementations§
impl Copy for BlockId
impl Eq for BlockId
impl StructuralPartialEq for BlockId
Auto Trait Implementations§
impl Freeze for BlockId
impl RefUnwindSafe for BlockId
impl Send for BlockId
impl Sync for BlockId
impl Unpin for BlockId
impl UnwindSafe for BlockId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.