Lines Matching refs:CHR_DEBUG
45 #define CHR_DEBUG(X) LLVM_DEBUG(X) macro
462 CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " " in dumpIR()
465 CHR_DEBUG(dbgs() << " " << *Stats); in dumpIR()
466 CHR_DEBUG(dbgs() << "\n"); in dumpIR()
467 CHR_DEBUG(F.dump()); in dumpIR()
578 CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n"); in checkHoistValue()
664 CHR_DEBUG(dbgs() << "BI " << *BI << " "); in checkBiasedBranch()
665 CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " "); in checkBiasedBranch()
666 CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n"); in checkBiasedBranch()
683 CHR_DEBUG(dbgs() << "SI " << *SI << " "); in checkBiasedSelect()
684 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect()
685 CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n"); in checkBiasedSelect()
738 CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n"); in findScope()
740 CHR_DEBUG(dbgs() << "Entry null\n"); in findScope()
742 CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n"); in findScope()
744 CHR_DEBUG(dbgs() << "Exit null\n"); in findScope()
761 CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n"); in findScope()
763 CHR_DEBUG(dbgs() << "BI null\n"); in findScope()
767 CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n"); in findScope()
768 CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n"); in findScope()
776 CHR_DEBUG(dbgs() << "Found a region with a branch\n"); in findScope()
831 CHR_DEBUG(dbgs() << "Found a select-only region\n"); in findScope()
837 CHR_DEBUG(dbgs() << "Found select(s) in a region with a branch\n"); in findScope()
880 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
899 CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n"); in checkScopeHoistable()
914 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
923 CHR_DEBUG(dbgs() << "Dropping selects in entry block \n"); in checkScopeHoistable()
924 CHR_DEBUG( in checkScopeHoistable()
943 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
959 CHR_DEBUG(dbgs() << "Result\n"); in checkScopeHoistable()
961 CHR_DEBUG(dbgs() << "BI " << *Branch << "\n"); in checkScopeHoistable()
964 CHR_DEBUG(dbgs() << "SI " << *SI << "\n"); in checkScopeHoistable()
973 CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n"); in findScopes()
982 CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr() in findScopes()
986 CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n"); in findScopes()
988 CHR_DEBUG(dbgs() << "Subregion Scope null\n"); in findScopes()
1044 CHR_DEBUG( in shouldSplit()
1058 CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n"); in shouldSplit()
1076 CHR_DEBUG( in shouldSplit()
1092 CHR_DEBUG(dbgs() << "Split. Intersection empty\n"); in shouldSplit()
1096 CHR_DEBUG(dbgs() << "No split\n"); in shouldSplit()
1147 CHR_DEBUG( in splitScope()
1156 CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n"); in splitScope()
1157 CHR_DEBUG(dbgs() << "Should split from outer at " in splitScope()
1180 CHR_DEBUG(dbgs() << "Outer null\n"); in splitScope()
1185 CHR_DEBUG(dbgs() << "Should split from prev at " in splitScope()
1242 CHR_DEBUG(dbgs() << "BranchInsertPoint " << *SplitsInsertPoints[I] in splitScope()
1259 CHR_DEBUG( in classifyBiasedScopes()
1322 CHR_DEBUG(dbgs() << "Filtered out by biased branches truthy-regions " in filterScopes()
1349 CHR_DEBUG( in setCHRRegions()
1453 CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n"); in hoistValue()
1548 CHR_DEBUG( in insertTrivialPHIs()
1561 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1562 CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n"); in insertTrivialPHIs()
1567 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1568 CHR_DEBUG(dbgs() in insertTrivialPHIs()
1587 CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n"); in insertTrivialPHIs()
1594 CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n"); in insertTrivialPHIs()
1626 CHR_DEBUG(dbgs() << "Biased regions condition values \n"); in assertBranchOrSelectConditionHoisted()
1634 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1648 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1660 CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n"); in transformScopes()
1686 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName() in transformScopes()
1840 CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1] in fixupBranchesAndSelects()
1872 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName() in fixupBranch()
1945 CHR_DEBUG( in transformScopes()
1965 CHR_DEBUG(dumpIR(F, "before", nullptr)); in run()
1969 CHR_DEBUG( in run()
1977 CHR_DEBUG(dumpScopes(AllScopes, "All scopes")); in run()
1986 CHR_DEBUG(dumpScopes(SplitScopes, "Split scopes")); in run()
1991 CHR_DEBUG(dbgs() << "Set per-scope bias " << SplitScopes.size() << "\n"); in run()
1997 CHR_DEBUG(dumpScopes(FilteredScopes, "Filtered scopes")); in run()
2002 CHR_DEBUG(dumpScopes(SetScopes, "Set CHR regions")); in run()
2009 CHR_DEBUG(dumpScopes(SortedScopes, "Sorted scopes")); in run()
2011 CHR_DEBUG( in run()
2023 CHR_DEBUG(dumpIR(F, "after", &Stats)); in run()