Lines Matching defs:CountValue
62 class CountValue;
99 CountValue *getTripCount(MachineLoop *L,
129 // CountValue class - Abstraction for a trip count of a loop. A
132 class CountValue {
149 CountValue(unsigned r, bool neg) : Kind(CV_Register), Contents(r),
151 explicit CountValue(int64_t i) : Kind(CV_Immediate), Contents(i),
159 assert(isReg() && "Wrong CountValue accessor");
166 assert(isImm() && "Wrong CountValue accessor");
312 CountValue *PPCCTRLoops::getTripCount(MachineLoop *L,
420 return new CountValue(count/iv_value);
422 return new CountValue(uint32_t(count/iv_value));
437 return new CountValue(count/iv_value);
439 return new CountValue(uint32_t(count/iv_value));
443 return new CountValue(InitialValueReg, iv_value > 0);
620 CountValue *TripCount = getTripCount(L, OldInsts);