Lines Matching defs:TripCount
107 bool TryConvertActiveLaneMask(Value *TripCount);
113 const SCEV *IsSafeActiveMask(IntrinsicInst *ActiveLaneMask, Value *TripCount);
185 // 1) Check that the TripCount (TC) belongs to this loop (originally).
188 // ceil(ElementCount / VectorWidth) >= TripCount
192 // (((ElementCount + (VectorWidth - 1)) / VectorWidth) - TripCount
196 Value *TripCount) {
207 const SCEV *TC = SE->getSCEV(TripCount);
215 // 1) Smoke tests that the original scalar loop TripCount (TC) belongs to
255 ConstantInt *TC = dyn_cast<ConstantInt>(TripCount);
263 // each other. The TripCount for a predicated vector loop body is
284 // ((ElementCount + VectorWidth - 1) / VectorWidth) - TripCount >= 0
288 // TripCount == (ElementCount + VectorWidth - 1) / VectorWidth
293 SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth));
298 SE->getSCEV(ConstantInt::get(TripCount->getType(), VectorWidth - 1)));
307 dbgs() << "ARM TP: - TripCount = " << *TC << "\n";
414 bool MVETailPredication::TryConvertActiveLaneMask(Value *TripCount) {
431 const SCEV *StartSCEV = IsSafeActiveMask(ActiveLaneMask, TripCount);