pub struct IfdsCsrProgramCacheKey {
pub num_procs: u32,
pub blocks_per_proc: u32,
pub facts_per_proc: u32,
pub intra_count: u32,
pub inter_count: u32,
pub gen_count: u32,
pub kill_count: u32,
pub max_col_count: u32,
}Expand description
Primitive-owned cache identity for exploded IFDS CSR construction Programs.
Fields§
§num_procs: u32Number of procedures in the exploded domain.
blocks_per_proc: u32Number of blocks per procedure.
facts_per_proc: u32Number of facts per procedure.
intra_count: u32Number of intra-procedural control-flow edges.
inter_count: u32Number of inter-procedural call/return edges.
gen_count: u32Number of GEN rules.
kill_count: u32Number of KILL rules.
max_col_count: u32Maximum emitted column count baked into the generated Program.
Implementations§
Source§impl IfdsCsrProgramCacheKey
impl IfdsCsrProgramCacheKey
Sourcepub const fn from_layout(layout: &IfdsCsrLayout) -> Self
pub const fn from_layout(layout: &IfdsCsrLayout) -> Self
Build a Program cache key from a validated IFDS layout.
Trait Implementations§
Source§impl Clone for IfdsCsrProgramCacheKey
impl Clone for IfdsCsrProgramCacheKey
Source§fn clone(&self) -> IfdsCsrProgramCacheKey
fn clone(&self) -> IfdsCsrProgramCacheKey
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 Copy for IfdsCsrProgramCacheKey
Source§impl Debug for IfdsCsrProgramCacheKey
impl Debug for IfdsCsrProgramCacheKey
impl Eq for IfdsCsrProgramCacheKey
Source§impl Hash for IfdsCsrProgramCacheKey
impl Hash for IfdsCsrProgramCacheKey
Source§impl PartialEq for IfdsCsrProgramCacheKey
impl PartialEq for IfdsCsrProgramCacheKey
impl StructuralPartialEq for IfdsCsrProgramCacheKey
Auto Trait Implementations§
impl Freeze for IfdsCsrProgramCacheKey
impl RefUnwindSafe for IfdsCsrProgramCacheKey
impl Send for IfdsCsrProgramCacheKey
impl Sync for IfdsCsrProgramCacheKey
impl Unpin for IfdsCsrProgramCacheKey
impl UnsafeUnpin for IfdsCsrProgramCacheKey
impl UnwindSafe for IfdsCsrProgramCacheKey
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> 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§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.