/// <summary> /// Returns true if the register is a strict subregister of one of the registers in the bitset. /// </summary> /// <param name="r"></param> /// <param name="regs"></param> /// <returns></returns> private bool IsSubRegisterOfRegisters(RegisterStorage rr, HashSet <RegisterStorage> regs) { foreach (var r2 in regs) { if (rr.IsSubRegisterOf(r2)) { return(true); } } return(false); }
/// <summary> /// Returns true if the register is a strict subregister of one of the registers in the bitset. /// </summary> /// <param name="r"></param> /// <param name="regs"></param> /// <returns></returns> private bool IsSubRegisterOfRegisters(RegisterStorage rr, HashSet<RegisterStorage> regs) { foreach (var r2 in regs) { if (rr.IsSubRegisterOf(r2)) return true; } return false; }