Searched refs:complex1 (Results 1 – 2 of 2) sorted by relevance
226 gpir_alu_node *complex1 = gpir_node_create(block, gpir_op_complex1); in gpir_lower_complex() local227 complex1->children[0] = &impl->node; in gpir_lower_complex()228 complex1->children[1] = &complex2->node; in gpir_lower_complex()229 complex1->children[2] = child; in gpir_lower_complex()230 complex1->num_child = 3; in gpir_lower_complex()231 gpir_node_add_dep(&complex1->node, child, GPIR_DEP_INPUT); in gpir_lower_complex()232 gpir_node_add_dep(&complex1->node, &impl->node, GPIR_DEP_INPUT); in gpir_lower_complex()233 gpir_node_add_dep(&complex1->node, &complex2->node, GPIR_DEP_INPUT); in gpir_lower_complex()234 list_addtail(&complex1->node.list, &node->list); in gpir_lower_complex()236 gpir_node *result = &complex1->node; in gpir_lower_complex()
484 class complex1(complex): class499 self.assertEqual(complex(complex1(1j)), 2j)