pub struct FunctionAllocationFacts<V, R> {
pub entry: usize,
pub blocks: Vec<BlockAllocationFacts<V, R>>,
}Expand description
Target-independent input boundary for register-allocation analyses.
x86 and AArch64 retain separate MIR instruction types and optimization pipelines. Each backend projects its final virtual-register MIR into this representation immediately before allocation.
Fields§
§entry: usize§blocks: Vec<BlockAllocationFacts<V, R>>Implementations§
Trait Implementations§
Source§impl<V: Clone, R: Clone> Clone for FunctionAllocationFacts<V, R>
impl<V: Clone, R: Clone> Clone for FunctionAllocationFacts<V, R>
Source§fn clone(&self) -> FunctionAllocationFacts<V, R>
fn clone(&self) -> FunctionAllocationFacts<V, R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<V: Eq, R: Eq> Eq for FunctionAllocationFacts<V, R>
impl<V: PartialEq, R: PartialEq> StructuralPartialEq for FunctionAllocationFacts<V, R>
Auto Trait Implementations§
impl<V, R> Freeze for FunctionAllocationFacts<V, R>
impl<V, R> RefUnwindSafe for FunctionAllocationFacts<V, R>
impl<V, R> Send for FunctionAllocationFacts<V, R>
impl<V, R> Sync for FunctionAllocationFacts<V, R>
impl<V, R> Unpin for FunctionAllocationFacts<V, R>
impl<V, R> UnsafeUnpin for FunctionAllocationFacts<V, R>
impl<V, R> UnwindSafe for FunctionAllocationFacts<V, R>
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