Searched refs:TripCount (Results 1 - 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 141 selectUnrollCount(const Loop *L, unsigned TripCount, bool HasEnablePragma, 278 const Loop *L, unsigned TripCount, bool HasEnablePragma, 295 Count = TripCount; 304 if (TripCount == 0) 312 Count = TripCount; 314 if (TripCount && Count > TripCount) 315 return TripCount; 342 unsigned TripCount = 0; local 345 // via the loop latch on any iteration prior to TripCount 277 selectUnrollCount( const Loop *L, unsigned TripCount, bool HasEnablePragma, unsigned PragmaCount, const TargetTransformInfo::UnrollingPreferences &UP, bool &SetExplicitly) argument [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | UnrollLoop.h | 26 bool UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, bool AllowRuntime,
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 128 /// TripCount is generally defined as the number of times the loop header 130 /// TripCount is the iteration on which control exits LatchBlock if no early 133 /// test. In other words, control may exit the loop prior to TripCount 135 /// LatchBlock's terminator prior to TripCount iterations. 147 bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, argument 185 if (TripCount != 0) 186 DEBUG(dbgs() << " Trip Count = " << TripCount << "\n"); 192 if (TripCount != 0 && Count > TripCount) 193 Count = TripCount; [all...] |
H A D | LoopUnrollRuntime.cpp | 57 static void ConnectProlog(Loop *L, Value *TripCount, unsigned Count, argument 111 new ICmpInst(InsertPt, ICmpInst::ICMP_ULT, TripCount, 112 ConstantInt::get(TripCount->getType(), Count)); 281 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), local 285 Value *ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter"); 291 Value *OverflowCheck = B.CreateIsNull(TripCount, "lcmp.overflow"); 347 Type *CountTy = TripCount->getType(); 372 ConnectProlog(L, TripCount, Count, LastLoopBB, PEnd, PH, NewPH, LVMap,
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 1038 CountValue *TripCount = getLoopTripCount(L, OldInsts); local 1039 if (!TripCount) 1043 if (TripCount->isReg()) { 1046 MachineInstr *TCDef = MRI->getVRegDef(TripCount->getReg()); 1080 if (TripCount->isReg()) { 1084 .addReg(TripCount->getReg(), 0, TripCount->getSubReg()); 1090 assert(TripCount->isImm() && "Expecting immediate value for trip count"); 1094 int64_t CountImm = TripCount->getImm(); 1137 delete TripCount; [all...] |
Completed in 119 milliseconds