pub struct LicmCandidateRegistry {
pub hoists: Vec<LicmHoistCandidate>,
pub sinks: Vec<LicmSinkCandidate>,
}Expand description
LICM candidate registry
Fields§
§hoists: Vec<LicmHoistCandidate>§sinks: Vec<LicmSinkCandidate>Implementations§
Source§impl LicmCandidateRegistry
impl LicmCandidateRegistry
pub fn new() -> Self
pub fn add_hoist(&mut self, c: LicmHoistCandidate)
pub fn add_sink(&mut self, c: LicmSinkCandidate)
pub fn hoist_count(&self) -> usize
pub fn sink_count(&self) -> usize
pub fn pure_hoists(&self) -> Vec<&LicmHoistCandidate>
Trait Implementations§
Source§impl Debug for LicmCandidateRegistry
impl Debug for LicmCandidateRegistry
Source§impl Default for LicmCandidateRegistry
impl Default for LicmCandidateRegistry
Source§fn default() -> LicmCandidateRegistry
fn default() -> LicmCandidateRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LicmCandidateRegistry
impl RefUnwindSafe for LicmCandidateRegistry
impl Send for LicmCandidateRegistry
impl Sync for LicmCandidateRegistry
impl Unpin for LicmCandidateRegistry
impl UnsafeUnpin for LicmCandidateRegistry
impl UnwindSafe for LicmCandidateRegistry
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