Searched refs:as_function (Results 1 – 7 of 7) sorted by relevance
55 pub(crate) fn as_function(&self) -> Option<&Function> { in as_function() method64 self.as_function().is_some() in is_function()70 self.as_function().expect("Not a function") in expect_function()
80 } else if ((ir_function = ir->as_function())) { in call_for_basic_blocks()
173 ir_function *f = ir->as_function(); in do_dead_code_unlinked()
635 if (inst->as_function()) in move_non_declarations()1577 ir_function *const f = node->as_function(); in link_intrastage_shaders()
2244 ir_function *fn = ir->as_function(); in steal_memory()
27 std::optional<StrongFunctionPtr> as_function(const py::object& obj) { in as_function() function1204 if (auto callee = as_function(obj)) { in toSugaredValue()1369 if (auto callee = as_function(compiled_fn)) { in toSugaredValue()
30 std::optional<StrongFunctionPtr> as_function(const py::object& obj);