• Home
  • Raw
  • Download

Lines Matching refs:nir_cf_node

467     pub fn parent(&self) -> &nir_cf_node {  in parent()  argument
481 pub fn iter_then_list(&self) -> ExecListIter<nir_cf_node> { in iter_then_list() argument
482 ExecListIter::new(&self.then_list, offset_of!(nir_cf_node, node)) in iter_then_list()
485 pub fn iter_else_list(&self) -> ExecListIter<nir_cf_node> { in iter_else_list() argument
486 ExecListIter::new(&self.else_list, offset_of!(nir_cf_node, node)) in iter_else_list()
495 pub fn iter_body(&self) -> ExecListIter<nir_cf_node> { in iter_body() argument
496 ExecListIter::new(&self.body, offset_of!(nir_cf_node, node)) in iter_body()
508 impl nir_cf_node { impl
511 Some(unsafe { &*(self as *const nir_cf_node as *const nir_block) }) in as_block() constant
519 Some(unsafe { &*(self as *const nir_cf_node as *const nir_if) }) in as_if() constant
527 Some(unsafe { &*(self as *const nir_cf_node as *const nir_loop) }) in as_loop() constant
533 pub fn next(&self) -> Option<&nir_cf_node> { in next() argument
534 let mut iter: ExecListIter<nir_cf_node> = in next()
535 ExecListIter::at(&self.node, offset_of!(nir_cf_node, node), false); in next()
539 pub fn prev(&self) -> Option<&nir_cf_node> { in prev() argument
540 let mut iter: ExecListIter<nir_cf_node> = in prev()
541 ExecListIter::at(&self.node, offset_of!(nir_cf_node, node), true); in prev()
545 pub fn parent<'a>(&'a self) -> Option<&'a nir_cf_node> { in parent() argument
551 pub fn iter_body(&self) -> ExecListIter<nir_cf_node> { in iter_body() argument
552 ExecListIter::new(&self.body, offset_of!(nir_cf_node, node)) in iter_body()