IORT_TYPE_MASK
if (IORT_TYPE_MASK(node->type) & type_mask) {
if (!(IORT_TYPE_MASK(parent->type) & type_mask))