Home | History | Annotate | Download | only in Hexagon

Lines Matching defs:Comparison

93     struct Comparison {
111 assert ((!((Cmp & L) && (Cmp & G))) && "Malformed comparison operator");
151 Comparison::Kind Cmp) const;
193 /// The desired flow is: phi ---> bump -+-> comparison-in-latch.
202 /// +-> comparison-in-latch (against upper_bound-bump),
203 /// i.e. the comparison that controls the loop execution may be using
209 /// couldn't be identified, or if the value in the latch's comparison
396 // Exactly one of the input registers to the comparison should be among
511 // The comparison operator type determines how we compute the loop
521 Comparison::Kind Cmp;
542 Cmp = !Negated ? Comparison::EQ : Comparison::NE;
546 Cmp = !Negated ? Comparison::GTu : Comparison::LEu;
550 Cmp = !Negated ? Comparison::GTs : Comparison::LEs;
561 assert(EndValue->isImm() && "Unrecognized latch comparison");
581 Cmp = !Negated ? Comparison::EQ : Comparison::NE;
589 Cmp = Comparison::getSwappedComparison(Cmp);
617 Comparison::Kind Cmp) const {
618 // Cannot handle comparison EQ, i.e. while (A == B).
619 if (Cmp == Comparison::EQ)
638 bool CmpLess = Cmp & Comparison::L;
639 bool CmpGreater = Cmp & Comparison::G;
640 bool CmpHasEqual = Cmp & Comparison::EQ;
662 if (Cmp == Comparison::NE) {
749 if (Cmp != Comparison::NE) {
1139 // The induction operation and the comparison may now be
1363 // This is a success. If the register used in the comparison is one that