Lines Matching refs:CHR_DEBUG

49 #define CHR_DEBUG(X) LLVM_DEBUG(X)  macro
435 CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " " in dumpIR()
438 CHR_DEBUG(dbgs() << " " << *Stats); in dumpIR()
439 CHR_DEBUG(dbgs() << "\n"); in dumpIR()
440 CHR_DEBUG(F.dump()); in dumpIR()
564 CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n"); in checkHoistValue()
649 CHR_DEBUG(dbgs() << "BI " << *BI << " "); in checkBiasedBranch()
650 CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " "); in checkBiasedBranch()
651 CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n"); in checkBiasedBranch()
667 CHR_DEBUG(dbgs() << "SI " << *SI << " "); in checkBiasedSelect()
668 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect()
669 CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n"); in checkBiasedSelect()
722 CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n"); in findScope()
724 CHR_DEBUG(dbgs() << "Entry null\n"); in findScope()
726 CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n"); in findScope()
728 CHR_DEBUG(dbgs() << "Exit null\n"); in findScope()
762 CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n"); in findScope()
764 CHR_DEBUG(dbgs() << "BI null\n"); in findScope()
768 CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n"); in findScope()
769 CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n"); in findScope()
777 CHR_DEBUG(dbgs() << "Found a region with a branch\n"); in findScope()
832 CHR_DEBUG(dbgs() << "Found a select-only region\n"); in findScope()
838 CHR_DEBUG(dbgs() << "Found select(s) in a region with a branch\n"); in findScope()
881 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
901 CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n"); in checkScopeHoistable()
916 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
926 CHR_DEBUG(dbgs() << "Dropping selects in entry block \n"); in checkScopeHoistable()
927 CHR_DEBUG( in checkScopeHoistable()
945 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
963 CHR_DEBUG(dbgs() << "Result\n"); in checkScopeHoistable()
965 CHR_DEBUG(dbgs() << "BI " << *Branch << "\n"); in checkScopeHoistable()
968 CHR_DEBUG(dbgs() << "SI " << *SI << "\n"); in checkScopeHoistable()
977 CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n"); in findScopes()
986 CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr() in findScopes()
990 CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n"); in findScopes()
992 CHR_DEBUG(dbgs() << "Subregion Scope null\n"); in findScopes()
1049 CHR_DEBUG( in shouldSplit()
1063 CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n"); in shouldSplit()
1082 CHR_DEBUG( in shouldSplit()
1097 CHR_DEBUG(dbgs() << "Split. Intersection empty\n"); in shouldSplit()
1101 CHR_DEBUG(dbgs() << "No split\n"); in shouldSplit()
1152 CHR_DEBUG( in splitScope()
1161 CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n"); in splitScope()
1162 CHR_DEBUG(dbgs() << "Should split from outer at " in splitScope()
1185 CHR_DEBUG(dbgs() << "Outer null\n"); in splitScope()
1190 CHR_DEBUG(dbgs() << "Should split from prev at " in splitScope()
1247 CHR_DEBUG(dbgs() << "BranchInsertPoint " << *SplitsInsertPoints[I] in splitScope()
1264 CHR_DEBUG( in classifyBiasedScopes()
1327 CHR_DEBUG(dbgs() << "Filtered out by biased branches truthy-regions " in filterScopes()
1354 CHR_DEBUG( in setCHRRegions()
1474 CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n"); in hoistValue()
1565 CHR_DEBUG({ in insertTrivialPHIs()
1578 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1579 CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n"); in insertTrivialPHIs()
1584 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1585 CHR_DEBUG(dbgs() in insertTrivialPHIs()
1602 CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n"); in insertTrivialPHIs()
1609 CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n"); in insertTrivialPHIs()
1641 CHR_DEBUG(dbgs() << "Biased regions condition values \n"); in assertBranchOrSelectConditionHoisted()
1649 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1663 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1675 CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n"); in transformScopes()
1682 CHR_DEBUG(dbgs() << "Dup count for R=" << R << " is " << Duplication in transformScopes()
1685 CHR_DEBUG(dbgs() << "Reached the dup threshold of " << Duplication in transformScopes()
1722 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName() in transformScopes()
1882 CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1] in fixupBranchesAndSelects()
1913 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName() in fixupBranch()
1981 CHR_DEBUG( in transformScopes()
2001 CHR_DEBUG(dumpIR(F, "before", nullptr)); in run()
2005 CHR_DEBUG( in run()
2013 CHR_DEBUG(dumpScopes(AllScopes, "All scopes")); in run()
2022 CHR_DEBUG(dumpScopes(SplitScopes, "Split scopes")); in run()
2027 CHR_DEBUG(dbgs() << "Set per-scope bias " << SplitScopes.size() << "\n"); in run()
2033 CHR_DEBUG(dumpScopes(FilteredScopes, "Filtered scopes")); in run()
2038 CHR_DEBUG(dumpScopes(SetScopes, "Set CHR regions")); in run()
2045 CHR_DEBUG(dumpScopes(SortedScopes, "Sorted scopes")); in run()
2047 CHR_DEBUG( in run()
2059 CHR_DEBUG(dumpIR(F, "after", &Stats)); in run()