Lines Matching refs:Dependence

230 bool Dependence::isInput() const {  in isInput()
236 bool Dependence::isOutput() const { in isOutput()
242 bool Dependence::isFlow() const { in isFlow()
248 bool Dependence::isAnti() const { in isAnti()
257 bool Dependence::isScalar(unsigned level) const { in isScalar()
268 : Dependence(Source, Destination), Levels(CommonLevels), in FullDependence()
293 if (Direction == Dependence::DVEntry::EQ) in isDirectionNegative()
295 if (Direction == Dependence::DVEntry::GT || in isDirectionNegative()
296 Direction == Dependence::DVEntry::GE) in isDirectionNegative()
314 unsigned char RevDirection = Direction & Dependence::DVEntry::EQ; in normalize()
315 if (Direction & Dependence::DVEntry::LT) in normalize()
316 RevDirection |= Dependence::DVEntry::GT; in normalize()
317 if (Direction & Dependence::DVEntry::GT) in normalize()
318 RevDirection |= Dependence::DVEntry::LT; in normalize()
656 void Dependence::dump(raw_ostream &OS) const { in dump()
1285 Result.DV[Level].Direction &= Dependence::DVEntry::LT; in strongSIVtest()
1287 Result.DV[Level].Direction &= Dependence::DVEntry::GT; in strongSIVtest()
1289 Result.DV[Level].Direction &= Dependence::DVEntry::EQ; in strongSIVtest()
1296 Result.DV[Level].Direction &= Dependence::DVEntry::EQ; in strongSIVtest()
1321 unsigned NewDirection = Dependence::DVEntry::NONE; in strongSIVtest()
1324 NewDirection = Dependence::DVEntry::LT; in strongSIVtest()
1326 NewDirection |= Dependence::DVEntry::EQ; in strongSIVtest()
1329 NewDirection |= Dependence::DVEntry::GT; in strongSIVtest()
1382 Result.DV[Level].Direction &= ~Dependence::DVEntry::LT; in weakCrossingSIVtest()
1383 Result.DV[Level].Direction &= ~Dependence::DVEntry::GT; in weakCrossingSIVtest()
1442 Result.DV[Level].Direction &= ~Dependence::DVEntry::LT; in weakCrossingSIVtest()
1443 Result.DV[Level].Direction &= ~Dependence::DVEntry::GT; in weakCrossingSIVtest()
1476 Result.DV[Level].Direction &= ~Dependence::DVEntry::EQ; in weakCrossingSIVtest()
1681 unsigned NewDirection = Dependence::DVEntry::NONE; in exactSIVtest()
1696 NewDirection |= Dependence::DVEntry::EQ; in exactSIVtest()
1700 NewDirection |= Dependence::DVEntry::GT; in exactSIVtest()
1704 NewDirection |= Dependence::DVEntry::LT; in exactSIVtest()
1710 if (Result.DV[Level].Direction == Dependence::DVEntry::NONE) in exactSIVtest()
1714 return Result.DV[Level].Direction == Dependence::DVEntry::NONE; in exactSIVtest()
1782 Result.DV[Level].Direction &= Dependence::DVEntry::GE; in weakZeroSrcSIVtest()
1810 Result.DV[Level].Direction &= Dependence::DVEntry::LE; in weakZeroSrcSIVtest()
1891 Result.DV[Level].Direction &= Dependence::DVEntry::LE; in weakZeroDstSIVtest()
1919 Result.DV[Level].Direction &= Dependence::DVEntry::GE; in weakZeroDstSIVtest()
2560 Result.DV[Level - 1].Direction &= ~Dependence::DVEntry::EQ; in gcdMIVtest()
2624 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2625 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2629 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2630 LLVM_DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2633 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2634 LLVM_DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n'); in banerjeeMIVtest()
2642 if (testBounds(Dependence::DVEntry::ALL, 0, Bound, Delta)) { in banerjeeMIVtest()
2699 Bound[K].DirSet = Dependence::DVEntry::ALL; in exploreDirections()
2711 case Dependence::DVEntry::LT: in exploreDirections()
2714 case Dependence::DVEntry::EQ: in exploreDirections()
2717 case Dependence::DVEntry::GT: in exploreDirections()
2720 case Dependence::DVEntry::ALL: in exploreDirections()
2742 if (Bound[Level].Lower[Dependence::DVEntry::LT]) in exploreDirections()
2743 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::LT] in exploreDirections()
2747 if (Bound[Level].Upper[Dependence::DVEntry::LT]) in exploreDirections()
2748 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::LT] in exploreDirections()
2753 if (Bound[Level].Lower[Dependence::DVEntry::EQ]) in exploreDirections()
2754 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::EQ] in exploreDirections()
2758 if (Bound[Level].Upper[Dependence::DVEntry::EQ]) in exploreDirections()
2759 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::EQ] in exploreDirections()
2764 if (Bound[Level].Lower[Dependence::DVEntry::GT]) in exploreDirections()
2765 LLVM_DEBUG(dbgs() << *Bound[Level].Lower[Dependence::DVEntry::GT] in exploreDirections()
2769 if (Bound[Level].Upper[Dependence::DVEntry::GT]) in exploreDirections()
2770 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::GT] in exploreDirections()
2780 if (testBounds(Dependence::DVEntry::LT, Level, Bound, Delta)) in exploreDirections()
2785 if (testBounds(Dependence::DVEntry::EQ, Level, Bound, Delta)) in exploreDirections()
2790 if (testBounds(Dependence::DVEntry::GT, Level, Bound, Delta)) in exploreDirections()
2794 Bound[Level].Direction = Dependence::DVEntry::ALL; in exploreDirections()
2833 Bound[K].Lower[Dependence::DVEntry::ALL] = nullptr; // Default value = -infinity. in findBoundsALL()
2834 Bound[K].Upper[Dependence::DVEntry::ALL] = nullptr; // Default value = +infinity. in findBoundsALL()
2836 Bound[K].Lower[Dependence::DVEntry::ALL] = in findBoundsALL()
2839 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2846 Bound[K].Lower[Dependence::DVEntry::ALL] = in findBoundsALL()
2849 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2872 Bound[K].Lower[Dependence::DVEntry::EQ] = nullptr; // Default value = -infinity. in findBoundsEQ()
2873 Bound[K].Upper[Dependence::DVEntry::EQ] = nullptr; // Default value = +infinity. in findBoundsEQ()
2877 Bound[K].Lower[Dependence::DVEntry::EQ] = in findBoundsEQ()
2880 Bound[K].Upper[Dependence::DVEntry::EQ] = in findBoundsEQ()
2889 Bound[K].Lower[Dependence::DVEntry::EQ] = NegativePart; // Zero in findBoundsEQ()
2892 Bound[K].Upper[Dependence::DVEntry::EQ] = PositivePart; // Zero in findBoundsEQ()
2912 Bound[K].Lower[Dependence::DVEntry::LT] = nullptr; // Default value = -infinity. in findBoundsLT()
2913 Bound[K].Upper[Dependence::DVEntry::LT] = nullptr; // Default value = +infinity. in findBoundsLT()
2919 Bound[K].Lower[Dependence::DVEntry::LT] = in findBoundsLT()
2923 Bound[K].Upper[Dependence::DVEntry::LT] = in findBoundsLT()
2932 Bound[K].Lower[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2936 Bound[K].Upper[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2956 Bound[K].Lower[Dependence::DVEntry::GT] = nullptr; // Default value = -infinity. in findBoundsGT()
2957 Bound[K].Upper[Dependence::DVEntry::GT] = nullptr; // Default value = +infinity. in findBoundsGT()
2963 Bound[K].Lower[Dependence::DVEntry::GT] = in findBoundsGT()
2967 Bound[K].Upper[Dependence::DVEntry::GT] = in findBoundsGT()
2975 Bound[K].Lower[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
2978 Bound[K].Upper[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
3297 void DependenceInfo::updateDirection(Dependence::DVEntry &Level, in updateDirection()
3307 unsigned NewDirection = Dependence::DVEntry::NONE; in updateDirection()
3309 NewDirection = Dependence::DVEntry::EQ; in updateDirection()
3311 NewDirection |= Dependence::DVEntry::LT; in updateDirection()
3313 NewDirection |= Dependence::DVEntry::GT; in updateDirection()
3324 unsigned NewDirection = Dependence::DVEntry::NONE; in updateDirection()
3329 NewDirection |= Dependence::DVEntry::EQ; in updateDirection()
3334 NewDirection |= Dependence::DVEntry::LT; in updateDirection()
3339 NewDirection |= Dependence::DVEntry::GT; in updateDirection()
3589 std::unique_ptr<Dependence>
3602 return std::make_unique<Dependence>(Src, Dst); in depends()
3617 return std::make_unique<Dependence>(Src, Dst); in depends()
3648 return std::make_unique<Dependence>(Src, Dst); in depends()
3935 if (Result.DV[SJ - 1].Direction == Dependence::DVEntry::NONE) in depends()
3954 if (!(Result.getDirection(II) & Dependence::DVEntry::EQ)) { in depends()
3965 if (Result.getDirection(II) != Dependence::DVEntry::EQ) { in depends()
4024 const SCEV *DependenceInfo::getSplitIteration(const Dependence &Dep, in getSplitIteration()