Lines Matching refs:LLVM_DEBUG

169         LLVM_DEBUG(dbgs() << "Found use of outer induction variable: "; U->dump());  in checkOuterInductionPhiUsers()
171 LLVM_DEBUG(dbgs() << "Did not match expected pattern, bailing\n"); in checkOuterInductionPhiUsers()
174 LLVM_DEBUG(dbgs() << "Use is optimisable\n"); in checkOuterInductionPhiUsers()
194 LLVM_DEBUG(dbgs() << "Found use of inner induction variable: "; U->dump()); in matchLinearIVUser()
226 LLVM_DEBUG(dbgs() << "Use is optimisable\n"); in matchLinearIVUser()
232 LLVM_DEBUG(dbgs() << "Did not match expected pattern, bailing\n"); in matchLinearIVUser()
273 LLVM_DEBUG(dbgs() << "Found Increment: "; Increment->dump()); in setLoopComponents()
274 LLVM_DEBUG(dbgs() << "Found trip count: "; TripCount->dump()); in setLoopComponents()
275 LLVM_DEBUG(dbgs() << "Successfully found all loop components\n"); in setLoopComponents()
291 LLVM_DEBUG(dbgs() << "Backedge-taken count is not predictable\n"); in verifyTripCount()
315 LLVM_DEBUG(dbgs() << "Could not find valid trip count\n"); in verifyTripCount()
334 LLVM_DEBUG(dbgs() << "Could not find valid trip count\n"); in verifyTripCount()
339 LLVM_DEBUG(dbgs() << "Could not find valid trip count\n"); in verifyTripCount()
344 LLVM_DEBUG(dbgs() << "Could not find valid extended trip count\n"); in verifyTripCount()
356 LLVM_DEBUG(dbgs() << "Finding components of loop: " << L->getName() << "\n"); in findLoopComponents()
359 LLVM_DEBUG(dbgs() << "Loop is not in normal form\n"); in findLoopComponents()
366 LLVM_DEBUG(dbgs() << "Loop is not canonical\n"); in findLoopComponents()
374 LLVM_DEBUG(dbgs() << "Exiting and latch block are different\n"); in findLoopComponents()
383 LLVM_DEBUG(dbgs() << "Could not find induction PHI\n"); in findLoopComponents()
386 LLVM_DEBUG(dbgs() << "Found induction PHI: "; InductionPHI->dump()); in findLoopComponents()
401 LLVM_DEBUG(dbgs() << "Could not find valid comparison\n"); in findLoopComponents()
406 LLVM_DEBUG(dbgs() << "Found back branch: "; BackBranch->dump()); in findLoopComponents()
408 LLVM_DEBUG(dbgs() << "Found comparison: "; Compare->dump()); in findLoopComponents()
417 LLVM_DEBUG(dbgs() << "Could not find valid increment\n"); in findLoopComponents()
472 LLVM_DEBUG(dbgs() << "value modified in top of outer loop\n"); in checkPHIs()
483 LLVM_DEBUG(dbgs() << "could not find LCSSA PHI\n"); in checkPHIs()
490 LLVM_DEBUG( in checkPHIs()
495 LLVM_DEBUG(dbgs() << "PHI pair is safe:\n"); in checkPHIs()
496 LLVM_DEBUG(dbgs() << " Inner: "; InnerPHI.dump()); in checkPHIs()
497 LLVM_DEBUG(dbgs() << " Outer: "; OuterPHI->dump()); in checkPHIs()
506 LLVM_DEBUG(dbgs() << "found unsafe PHI in outer loop: "; OuterPHI.dump()); in checkPHIs()
511 LLVM_DEBUG(dbgs() << "checkPHIs: OK\n"); in checkPHIs()
532 LLVM_DEBUG(dbgs() << "Cannot flatten because instruction may have " in checkOuterLoopInsts()
556 LLVM_DEBUG(dbgs() << "Cost " << Cost << ": "; I.dump()); in checkOuterLoopInsts()
561 LLVM_DEBUG(dbgs() << "Cost of instructions that will be repeated: " in checkOuterLoopInsts()
566 LLVM_DEBUG(dbgs() << "checkOuterLoopInsts: not profitable, bailing.\n"); in checkOuterLoopInsts()
570 LLVM_DEBUG(dbgs() << "checkOuterLoopInsts: OK\n"); in checkOuterLoopInsts()
595 LLVM_DEBUG(dbgs() << "checkIVUsers: OK\n"; in checkIVUsers()
643 LLVM_DEBUG( in checkOverflow()
672 LLVM_DEBUG(dbgs() << "inner loop trip count not invariant\n"); in CanFlattenLoopPair()
676 LLVM_DEBUG(dbgs() << "outer loop trip count not invariant\n"); in CanFlattenLoopPair()
698 LLVM_DEBUG(dbgs() << "CanFlattenLoopPair: OK\n"); in CanFlattenLoopPair()
707 LLVM_DEBUG(dbgs() << "Checks all passed, doing the transformation\n"); in DoFlattenLoopPair()
720 LLVM_DEBUG(dbgs() << "Created new trip count in preheader: "; in DoFlattenLoopPair()
756 LLVM_DEBUG(dbgs() << "Replacing: "; V->dump(); dbgs() << "with: "; in DoFlattenLoopPair()
779 LLVM_DEBUG(dbgs() << "Widening the IVs is disabled\n"); in CanWidenIV()
783 LLVM_DEBUG(dbgs() << "Try widening the IVs\n"); in CanWidenIV()
798 LLVM_DEBUG(dbgs() << "Can't widen the IV\n"); in CanWidenIV()
813 LLVM_DEBUG(dbgs() << "Created wide phi: "; WidePhi->dump()); in CanWidenIV()
814 LLVM_DEBUG(dbgs() << "Deleting old phi: "; WideIV.NarrowIV->dump()); in CanWidenIV()
845 LLVM_DEBUG( in FlattenLoopPair()
883 LLVM_DEBUG(dbgs() << "Multiply would always overflow, so not profitable\n"); in FlattenLoopPair()
886 LLVM_DEBUG(dbgs() << "Multiply might overflow, not flattening\n"); in FlattenLoopPair()
890 LLVM_DEBUG(dbgs() << "Multiply cannot overflow, modifying loop in-place\n"); in FlattenLoopPair()