Searched defs:TripCount (Results 1 - 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 137 /// TripCount is generally defined as the number of times the loop header 139 /// TripCount is the iteration on which control exits LatchBlock if no early 142 /// test. In other words, control may exit the loop prior to TripCount 144 /// LatchBlock's terminator prior to TripCount iterations. 163 bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, argument 202 if (TripCount != 0) 203 DEBUG(dbgs() << " Trip Count = " << TripCount << "\n"); 209 if (TripCount != 0 && Count > TripCount) 210 Count = TripCount; [all...] |
H A D | LoopUnrollRuntime.cpp | 351 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), local 357 Value *ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter"); 362 // 2. the addition computing TripCount overflowed 364 // If (2) is true, we know that TripCount really is (1 << BEWidth) and so the
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 177 selectUnrollCount(const Loop *L, unsigned TripCount, bool PragmaFullUnroll, 332 unsigned TripCount; member in class:__anon11050::UnrollAnalyzer 428 UnrollAnalyzer(const Loop *L, unsigned TripCount, ScalarEvolution &SE, argument 430 : L(L), TripCount(TripCount), SE(SE), TTI(TTI), 554 unsigned TripCount, 556 if (!TripCount || !UnrollMaxIterationsCountToAnalyze) 559 UnrollAnalyzer UA(L, TripCount, SE, TTI); 568 std::min<unsigned>(UnrollMaxIterationsCountToAnalyze, TripCount); 574 NumberOfOptimizedInstructions *= TripCount / IterationsNumberForEstimat 553 approximateNumberOfOptimizedInstructions(const Loop *L, ScalarEvolution &SE, unsigned TripCount, const TargetTransformInfo &TTI) argument 682 selectUnrollCount( const Loop *L, unsigned TripCount, bool PragmaFullUnroll, unsigned PragmaCount, const TargetTransformInfo::UnrollingPreferences &UP, bool &SetExplicitly) argument 749 unsigned TripCount = 0; local [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 1033 CountValue *TripCount = getLoopTripCount(L, OldInsts); local 1034 if (!TripCount) 1038 if (TripCount->isReg()) { 1041 MachineInstr *TCDef = MRI->getVRegDef(TripCount->getReg()); 1075 if (TripCount->isReg()) { 1079 .addReg(TripCount->getReg(), 0, TripCount->getSubReg()); 1085 assert(TripCount->isImm() && "Expecting immediate value for trip count"); 1089 int64_t CountImm = TripCount->getImm(); 1132 delete TripCount; [all...] |
Completed in 111 milliseconds