Lines Matching full:conditions
50 /// Represent a set of control conditions required to execute ToBB from FromBB.
54 /// A SmallVector of control conditions.
55 ConditionVectorTy Conditions;
58 /// Return a ControlConditions which stores all conditions required to execute
60 /// number of conditions to collect. Return std::nullopt if not all conditions
68 /// Return true if there exists no control conditions required to execute ToBB
70 bool isUnconditional() const { return Conditions.empty(); }
72 /// Return a constant reference of Conditions.
73 const ConditionVectorTy &getControlConditions() const { return Conditions; }
79 /// Return true if for all control conditions in Conditions, there exists an
80 /// equivalent control condition in \p Other.Conditions.
115 ControlConditions Conditions;
120 return Conditions;
145 Inserted = Conditions.addControlCondition(
151 Inserted = Conditions.addControlCondition(
165 return Conditions;
170 if (none_of(Conditions, [&](ControlCondition &Exists) {
173 Conditions.push_back(C);
182 if (Conditions.empty() && Other.Conditions.empty())
185 if (Conditions.size() != Other.Conditions.size())
188 return all_of(Conditions, [&](const ControlCondition &C) {
189 return any_of(Other.Conditions, [&](const ControlCondition &OtherC) {
208 // Currently, isEquivalent rely on other passes to ensure equivalent conditions
247 // If the set of conditions required to execute BB0 and BB1 from their common