Lines Matching refs:CHR_DEBUG

48 #define CHR_DEBUG(X) LLVM_DEBUG(X)  macro
419 CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " " in dumpIR()
422 CHR_DEBUG(dbgs() << " " << *Stats); in dumpIR()
423 CHR_DEBUG(dbgs() << "\n"); in dumpIR()
424 CHR_DEBUG(F.dump()); in dumpIR()
548 CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n"); in checkHoistValue()
640 CHR_DEBUG(dbgs() << "BI " << *BI << " "); in checkBiasedBranch()
641 CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " "); in checkBiasedBranch()
642 CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n"); in checkBiasedBranch()
659 CHR_DEBUG(dbgs() << "SI " << *SI << " "); in checkBiasedSelect()
660 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect()
661 CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n"); in checkBiasedSelect()
714 CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n"); in findScope()
716 CHR_DEBUG(dbgs() << "Entry null\n"); in findScope()
718 CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n"); in findScope()
720 CHR_DEBUG(dbgs() << "Exit null\n"); in findScope()
754 CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n"); in findScope()
756 CHR_DEBUG(dbgs() << "BI null\n"); in findScope()
760 CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n"); in findScope()
761 CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n"); in findScope()
769 CHR_DEBUG(dbgs() << "Found a region with a branch\n"); in findScope()
824 CHR_DEBUG(dbgs() << "Found a select-only region\n"); in findScope()
830 CHR_DEBUG(dbgs() << "Found select(s) in a region with a branch\n"); in findScope()
873 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
893 CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n"); in checkScopeHoistable()
908 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
918 CHR_DEBUG(dbgs() << "Dropping selects in entry block \n"); in checkScopeHoistable()
919 CHR_DEBUG( in checkScopeHoistable()
937 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
955 CHR_DEBUG(dbgs() << "Result\n"); in checkScopeHoistable()
957 CHR_DEBUG(dbgs() << "BI " << *Branch << "\n"); in checkScopeHoistable()
960 CHR_DEBUG(dbgs() << "SI " << *SI << "\n"); in checkScopeHoistable()
969 CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n"); in findScopes()
978 CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr() in findScopes()
982 CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n"); in findScopes()
984 CHR_DEBUG(dbgs() << "Subregion Scope null\n"); in findScopes()
1041 CHR_DEBUG( in shouldSplit()
1055 CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n"); in shouldSplit()
1074 CHR_DEBUG( in shouldSplit()
1089 CHR_DEBUG(dbgs() << "Split. Intersection empty\n"); in shouldSplit()
1093 CHR_DEBUG(dbgs() << "No split\n"); in shouldSplit()
1144 CHR_DEBUG( in splitScope()
1153 CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n"); in splitScope()
1154 CHR_DEBUG(dbgs() << "Should split from outer at " in splitScope()
1177 CHR_DEBUG(dbgs() << "Outer null\n"); in splitScope()
1182 CHR_DEBUG(dbgs() << "Should split from prev at " in splitScope()
1239 CHR_DEBUG(dbgs() << "BranchInsertPoint " << *SplitsInsertPoints[I] in splitScope()
1256 CHR_DEBUG( in classifyBiasedScopes()
1319 CHR_DEBUG(dbgs() << "Filtered out by biased branches truthy-regions " in filterScopes()
1346 CHR_DEBUG( in setCHRRegions()
1466 CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n"); in hoistValue()
1557 CHR_DEBUG({ in insertTrivialPHIs()
1570 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1571 CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n"); in insertTrivialPHIs()
1576 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1577 CHR_DEBUG(dbgs() in insertTrivialPHIs()
1594 CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n"); in insertTrivialPHIs()
1601 CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n"); in insertTrivialPHIs()
1633 CHR_DEBUG(dbgs() << "Biased regions condition values \n"); in assertBranchOrSelectConditionHoisted()
1641 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1655 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1667 CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n"); in transformScopes()
1693 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName() in transformScopes()
1848 CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1] in fixupBranchesAndSelects()
1880 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName() in fixupBranch()
1952 CHR_DEBUG( in transformScopes()
1972 CHR_DEBUG(dumpIR(F, "before", nullptr)); in run()
1976 CHR_DEBUG( in run()
1984 CHR_DEBUG(dumpScopes(AllScopes, "All scopes")); in run()
1993 CHR_DEBUG(dumpScopes(SplitScopes, "Split scopes")); in run()
1998 CHR_DEBUG(dbgs() << "Set per-scope bias " << SplitScopes.size() << "\n"); in run()
2004 CHR_DEBUG(dumpScopes(FilteredScopes, "Filtered scopes")); in run()
2009 CHR_DEBUG(dumpScopes(SetScopes, "Set CHR regions")); in run()
2016 CHR_DEBUG(dumpScopes(SortedScopes, "Sorted scopes")); in run()
2018 CHR_DEBUG( in run()
2030 CHR_DEBUG(dumpIR(F, "after", &Stats)); in run()