Lines Matching refs:DVEntry
232 DV = CommonLevels ? new DVEntry[CommonLevels] : NULL;
599 if (Direction == DVEntry::ALL)
602 if (Direction & DVEntry::LT)
604 if (Direction & DVEntry::EQ)
606 if (Direction & DVEntry::GT)
1061 Result.DV[Level].Direction &= Dependence::DVEntry::LT;
1063 Result.DV[Level].Direction &= Dependence::DVEntry::GT;
1065 Result.DV[Level].Direction &= Dependence::DVEntry::EQ;
1072 Result.DV[Level].Direction &= Dependence::DVEntry::EQ;
1097 unsigned NewDirection = Dependence::DVEntry::NONE;
1100 NewDirection = Dependence::DVEntry::LT;
1102 NewDirection |= Dependence::DVEntry::EQ;
1105 NewDirection |= Dependence::DVEntry::GT;
1162 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::LT);
1163 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::GT);
1224 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::LT);
1225 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::GT);
1258 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::EQ);
1463 unsigned NewDirection = Dependence::DVEntry::NONE;
1479 NewDirection |= Dependence::DVEntry::LT;
1505 NewDirection |= Dependence::DVEntry::EQ;
1522 NewDirection |= Dependence::DVEntry::GT;
1528 if (Result.DV[Level].Direction == Dependence::DVEntry::NONE)
1530 return Result.DV[Level].Direction == Dependence::DVEntry::NONE;
1600 Result.DV[Level].Direction &= Dependence::DVEntry::LE;
1628 Result.DV[Level].Direction &= Dependence::DVEntry::GE;
1710 Result.DV[Level].Direction &= Dependence::DVEntry::LE;
1738 Result.DV[Level].Direction &= Dependence::DVEntry::GE;
2383 Result.DV[Level - 1].Direction &= unsigned(~Dependence::DVEntry::EQ);
2448 Bound[K].Direction = Dependence::DVEntry::ALL;
2449 Bound[K].DirSet = Dependence::DVEntry::NONE;
2453 if (Bound[K].Lower[Dependence::DVEntry::ALL])
2454 DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t');
2457 if (Bound[K].Upper[Dependence::DVEntry::ALL])
2458 DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n');
2466 if (testBounds(Dependence::DVEntry::ALL, 0, Bound, Delta)) {
2524 case Dependence::DVEntry::LT:
2527 case Dependence::DVEntry::EQ:
2530 case Dependence::DVEntry::GT:
2533 case Dependence::DVEntry::ALL:
2555 if (Bound[Level].Lower[Dependence::DVEntry::LT])
2556 DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::LT] << '\t');
2559 if (Bound[Level].Upper[Dependence::DVEntry::LT])
2560 DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::LT] << '\n');
2564 if (Bound[Level].Lower[Dependence::DVEntry::EQ])
2565 DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::EQ] << '\t');
2568 if (Bound[Level].Upper[Dependence::DVEntry::EQ])
2569 DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::EQ] << '\n');
2573 if (Bound[Level].Lower[Dependence::DVEntry::GT])
2574 DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::GT] << '\t');
2577 if (Bound[Level].Upper[Dependence::DVEntry::GT])
2578 DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::GT] << '\n');
2587 if (testBounds(Dependence::DVEntry::LT, Level, Bound, Delta))
2592 if (testBounds(Dependence::DVEntry::EQ, Level, Bound, Delta))
2597 if (testBounds(Dependence::DVEntry::GT, Level, Bound, Delta))
2601 Bound[Level].Direction = Dependence::DVEntry::ALL;
2644 Bound[K].Lower[Dependence::DVEntry::ALL] = NULL; // Default value = -infinity.
2645 Bound[K].Upper[Dependence::DVEntry::ALL] = NULL; // Default value = +infinity.
2647 Bound[K].Lower[Dependence::DVEntry::ALL] =
2650 Bound[K].Upper[Dependence::DVEntry::ALL] =
2657 Bound[K].Lower[Dependence::DVEntry::ALL] =
2660 Bound[K].Upper[Dependence::DVEntry::ALL] =
2685 Bound[K].Lower[Dependence::DVEntry::EQ] = NULL; // Default value = -infinity.
2686 Bound[K].Upper[Dependence::DVEntry::EQ] = NULL; // Default value = +infinity.
2690 Bound[K].Lower[Dependence::DVEntry::EQ] =
2693 Bound[K].Upper[Dependence::DVEntry::EQ] =
2702 Bound[K].Lower[Dependence::DVEntry::EQ] = NegativePart; // Zero
2705 Bound[K].Upper[Dependence::DVEntry::EQ] = PositivePart; // Zero
2727 Bound[K].Lower[Dependence::DVEntry::LT] = NULL; // Default value = -infinity.
2728 Bound[K].Upper[Dependence::DVEntry::LT] = NULL; // Default value = +infinity.
2735 Bound[K].Lower[Dependence::DVEntry::LT] =
2739 Bound[K].Upper[Dependence::DVEntry::LT] =
2748 Bound[K].Lower[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff);
2752 Bound[K].Upper[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff);
2774 Bound[K].Lower[Dependence::DVEntry::GT] = NULL; // Default value = -infinity.
2775 Bound[K].Upper[Dependence::DVEntry::GT] = NULL; // Default value = +infinity.
2782 Bound[K].Lower[Dependence::DVEntry::GT] =
2786 Bound[K].Upper[Dependence::DVEntry::GT] =
2794 Bound[K].Lower[Dependence::DVEntry::GT] = A[K].Coeff;
2797 Bound[K].Upper[Dependence::DVEntry::GT] = A[K].Coeff;
3124 void DependenceAnalysis::updateDirection(Dependence::DVEntry &Level,
3135 unsigned NewDirection = Dependence::DVEntry::NONE;
3137 NewDirection = Dependence::DVEntry::EQ;
3139 NewDirection |= Dependence::DVEntry::LT;
3141 NewDirection |= Dependence::DVEntry::GT;
3152 unsigned NewDirection = Dependence::DVEntry::NONE;
3157 NewDirection |= Dependence::DVEntry::EQ;
3162 NewDirection |= Dependence::DVEntry::LT;
3167 NewDirection |= Dependence::DVEntry::GT;
3555 if (Result.DV[SJ - 1].Direction == Dependence::DVEntry::NONE)
3574 if (!(Result.getDirection(II) & Dependence::DVEntry::EQ)) {
3585 if (Result.getDirection(II) != Dependence::DVEntry::EQ) {