Lines Matching refs:Dependence
221 bool Dependence::isInput() const { in isInput()
227 bool Dependence::isOutput() const { in isOutput()
233 bool Dependence::isFlow() const { in isFlow()
239 bool Dependence::isAnti() const { in isAnti()
248 bool Dependence::isScalar(unsigned level) const { in isScalar()
259 : Dependence(Source, Destination), Levels(CommonLevels), in FullDependence()
591 void Dependence::dump(raw_ostream &OS) const { in dump()
1200 Result.DV[Level].Direction &= Dependence::DVEntry::LT; in strongSIVtest()
1202 Result.DV[Level].Direction &= Dependence::DVEntry::GT; in strongSIVtest()
1204 Result.DV[Level].Direction &= Dependence::DVEntry::EQ; in strongSIVtest()
1211 Result.DV[Level].Direction &= Dependence::DVEntry::EQ; in strongSIVtest()
1236 unsigned NewDirection = Dependence::DVEntry::NONE; in strongSIVtest()
1239 NewDirection = Dependence::DVEntry::LT; in strongSIVtest()
1241 NewDirection |= Dependence::DVEntry::EQ; in strongSIVtest()
1244 NewDirection |= Dependence::DVEntry::GT; in strongSIVtest()
1297 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::LT); in weakCrossingSIVtest()
1298 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::GT); in weakCrossingSIVtest()
1357 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::LT); in weakCrossingSIVtest()
1358 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::GT); in weakCrossingSIVtest()
1391 Result.DV[Level].Direction &= unsigned(~Dependence::DVEntry::EQ); in weakCrossingSIVtest()
1596 unsigned NewDirection = Dependence::DVEntry::NONE; in exactSIVtest()
1611 NewDirection |= Dependence::DVEntry::EQ; in exactSIVtest()
1615 NewDirection |= Dependence::DVEntry::GT; in exactSIVtest()
1619 NewDirection |= Dependence::DVEntry::LT; in exactSIVtest()
1625 if (Result.DV[Level].Direction == Dependence::DVEntry::NONE) in exactSIVtest()
1629 return Result.DV[Level].Direction == Dependence::DVEntry::NONE; in exactSIVtest()
1697 Result.DV[Level].Direction &= Dependence::DVEntry::GE; in weakZeroSrcSIVtest()
1725 Result.DV[Level].Direction &= Dependence::DVEntry::LE; in weakZeroSrcSIVtest()
1806 Result.DV[Level].Direction &= Dependence::DVEntry::LE; in weakZeroDstSIVtest()
1834 Result.DV[Level].Direction &= Dependence::DVEntry::GE; in weakZeroDstSIVtest()
2475 Result.DV[Level - 1].Direction &= unsigned(~Dependence::DVEntry::EQ); in gcdMIVtest()
2539 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2540 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2544 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2545 LLVM_DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2548 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2549 LLVM_DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n'); in banerjeeMIVtest()
2557 if (testBounds(Dependence::DVEntry::ALL, 0, Bound, Delta)) { in banerjeeMIVtest()
2613 case Dependence::DVEntry::LT: in exploreDirections()
2616 case Dependence::DVEntry::EQ: in exploreDirections()
2619 case Dependence::DVEntry::GT: in exploreDirections()
2622 case Dependence::DVEntry::ALL: in exploreDirections()
2644 if (Bound[Level].Lower[Dependence::DVEntry::LT]) in exploreDirections()
2645 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::LT] in exploreDirections()
2649 if (Bound[Level].Upper[Dependence::DVEntry::LT]) in exploreDirections()
2650 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::LT] in exploreDirections()
2655 if (Bound[Level].Lower[Dependence::DVEntry::EQ]) in exploreDirections()
2656 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::EQ] in exploreDirections()
2660 if (Bound[Level].Upper[Dependence::DVEntry::EQ]) in exploreDirections()
2661 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::EQ] in exploreDirections()
2666 if (Bound[Level].Lower[Dependence::DVEntry::GT]) in exploreDirections()
2667 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::GT] in exploreDirections()
2671 if (Bound[Level].Upper[Dependence::DVEntry::GT]) in exploreDirections()
2672 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::GT] in exploreDirections()
2682 if (testBounds(Dependence::DVEntry::LT, Level, Bound, Delta)) in exploreDirections()
2687 if (testBounds(Dependence::DVEntry::EQ, Level, Bound, Delta)) in exploreDirections()
2692 if (testBounds(Dependence::DVEntry::GT, Level, Bound, Delta)) in exploreDirections()
2696 Bound[Level].Direction = Dependence::DVEntry::ALL; in exploreDirections()
2735 Bound[K].Lower[Dependence::DVEntry::ALL] = nullptr; // Default value = -infinity. in findBoundsALL()
2736 Bound[K].Upper[Dependence::DVEntry::ALL] = nullptr; // Default value = +infinity. in findBoundsALL()
2738 Bound[K].Lower[Dependence::DVEntry::ALL] = in findBoundsALL()
2741 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2748 Bound[K].Lower[Dependence::DVEntry::ALL] = in findBoundsALL()
2751 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2774 Bound[K].Lower[Dependence::DVEntry::EQ] = nullptr; // Default value = -infinity. in findBoundsEQ()
2775 Bound[K].Upper[Dependence::DVEntry::EQ] = nullptr; // Default value = +infinity. in findBoundsEQ()
2779 Bound[K].Lower[Dependence::DVEntry::EQ] = in findBoundsEQ()
2782 Bound[K].Upper[Dependence::DVEntry::EQ] = in findBoundsEQ()
2791 Bound[K].Lower[Dependence::DVEntry::EQ] = NegativePart; // Zero in findBoundsEQ()
2794 Bound[K].Upper[Dependence::DVEntry::EQ] = PositivePart; // Zero in findBoundsEQ()
2814 Bound[K].Lower[Dependence::DVEntry::LT] = nullptr; // Default value = -infinity. in findBoundsLT()
2815 Bound[K].Upper[Dependence::DVEntry::LT] = nullptr; // Default value = +infinity. in findBoundsLT()
2821 Bound[K].Lower[Dependence::DVEntry::LT] = in findBoundsLT()
2825 Bound[K].Upper[Dependence::DVEntry::LT] = in findBoundsLT()
2834 Bound[K].Lower[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2838 Bound[K].Upper[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2858 Bound[K].Lower[Dependence::DVEntry::GT] = nullptr; // Default value = -infinity. in findBoundsGT()
2859 Bound[K].Upper[Dependence::DVEntry::GT] = nullptr; // Default value = +infinity. in findBoundsGT()
2865 Bound[K].Lower[Dependence::DVEntry::GT] = in findBoundsGT()
2869 Bound[K].Upper[Dependence::DVEntry::GT] = in findBoundsGT()
2877 Bound[K].Lower[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
2880 Bound[K].Upper[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
3199 void DependenceInfo::updateDirection(Dependence::DVEntry &Level, in updateDirection()
3209 unsigned NewDirection = Dependence::DVEntry::NONE; in updateDirection()
3211 NewDirection = Dependence::DVEntry::EQ; in updateDirection()
3213 NewDirection |= Dependence::DVEntry::LT; in updateDirection()
3215 NewDirection |= Dependence::DVEntry::GT; in updateDirection()
3226 unsigned NewDirection = Dependence::DVEntry::NONE; in updateDirection()
3231 NewDirection |= Dependence::DVEntry::EQ; in updateDirection()
3236 NewDirection |= Dependence::DVEntry::LT; in updateDirection()
3241 NewDirection |= Dependence::DVEntry::GT; in updateDirection()
3505 std::unique_ptr<Dependence>
3518 return std::make_unique<Dependence>(Src, Dst); in depends()
3533 return std::make_unique<Dependence>(Src, Dst); in depends()
3564 return std::make_unique<Dependence>(Src, Dst); in depends()
3851 if (Result.DV[SJ - 1].Direction == Dependence::DVEntry::NONE) in depends()
3870 if (!(Result.getDirection(II) & Dependence::DVEntry::EQ)) { in depends()
3881 if (Result.getDirection(II) != Dependence::DVEntry::EQ) { in depends()
3940 const SCEV *DependenceInfo::getSplitIteration(const Dependence &Dep, in getSplitIteration()