HomeSort by relevance Sort by last modified time
    Searched defs:TripCount (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Scalar/
LoopUnrollPass.cpp 148 unsigned TripCount = 0;
152 // via the loop latch on any iteration prior to TripCount. The loop may exit
156 TripCount = SE->getSmallConstantTripCount(L, LatchBlock);
161 TripCount = L->getSmallConstantTripCount();
162 if (TripCount == 0)
172 if (TripCount == 0)
174 Count = TripCount;
188 if (TripCount != 1 && Size > Threshold) {
196 // Reduce unroll count to be modulo of TripCount for partial unrolling
198 while (Count != 0 && TripCount%Count != 0)
    [all...]
  /external/llvm/lib/Analysis/
LoopInfo.cpp 208 Value* TripCount = this->getTripCount();
209 if (TripCount) {
210 if (ConstantInt *TripCountC = dyn_cast<ConstantInt>(TripCount)) {
230 Value* TripCount = this->getTripCount();
233 if (TripCount) {
235 Result = dyn_cast<ConstantInt>(TripCount);
238 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TripCount)) {

Completed in 196 milliseconds