Searched refs:as_function (Results 1 – 9 of 9) sorted by relevance
61 pub fn as_function(&self) -> Option<&Function> { in as_function() method70 self.as_function().is_some() in is_function()76 self.as_function().expect("Not a function") in expect_function()
80 } else if ((ir_function = ir->as_function())) { in call_for_basic_blocks()
138 ir_function *func = ir->as_function(); in do_dead_functions()
188 ir_function *f = ir->as_function(); in do_dead_code_unlinked()
225 ir_function *f = ir->as_function(); in do_constant_variable_unlinked()
80 ir_function *const f = node->as_function(); in lower_64bit_visitor()
452 ir_function *f = ir->as_function(); in get_main()
1473 if (inst->as_function()) in move_non_declarations()2412 ir_function *const f = node->as_function(); in link_intrastage_shaders()4286 ir_function *fn = node->as_function(); in link_assign_subroutine_types()
2259 ir_function *fn = ir->as_function(); in steal_memory()