Searched refs:lhs_attr (Results 1 – 5 of 5) sorted by relevance
87 auto lhs_attr = operands[0].dyn_cast_or_null<DenseElementsAttr>(); in IdentityArithmeticOpFolder() local89 if (!rhs_attr && !(is_commutative && lhs_attr)) return {}; in IdentityArithmeticOpFolder()117 if (lhs_attr && is_commutative && in IdentityArithmeticOpFolder()119 if (lhs_attr.isSplat() && in IdentityArithmeticOpFolder()120 lhs_attr.getSplatValue<Attribute>() == identity_attr) in IdentityArithmeticOpFolder()
108 NamedAttribute lhs_attr = std::get<0>(it); in isEqual() local110 if (lhs_attr.getName() != rhs_attr.getName()) return false; in isEqual()111 if (lhs_attr.getValue() != rhs_attr.getValue()) { in isEqual()112 if (lhs_attr.getName() != name_id) return false; in isEqual()
95 auto lhs_attr = lhs_op->getAttrOfType<TypeAttr>(attr_name); variable97 if (!lhs_attr || !rhs_attr) return false;98 return lhs_attr == rhs_attr;
756 NamedAttribute lhs_attr = std::get<0>(it); in RegionEqualTo() local758 if (lhs_attr.getName() != rhs_attr.getName()) return false; in RegionEqualTo()759 if (lhs_attr.getName() == name_id) continue; in RegionEqualTo()760 if (lhs_attr.getValue() != rhs_attr.getValue()) return false; in RegionEqualTo()
274 DataType lhs_attr = GetDataTypeFromAttr(*lhs, type_attr); in HaveSameDataType() local277 return lhs_attr != DT_INVALID && rhs_attr != DT_INVALID && in HaveSameDataType()278 lhs_attr == rhs_attr; in HaveSameDataType()