Lines Matching refs:CHR_DEBUG

47 #define CHR_DEBUG(X) LLVM_DEBUG(X)  macro
459 CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " " in dumpIR()
462 CHR_DEBUG(dbgs() << " " << *Stats); in dumpIR()
463 CHR_DEBUG(dbgs() << "\n"); in dumpIR()
464 CHR_DEBUG(F.dump()); in dumpIR()
588 CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n"); in checkHoistValue()
680 CHR_DEBUG(dbgs() << "BI " << *BI << " "); in checkBiasedBranch()
681 CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " "); in checkBiasedBranch()
682 CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n"); in checkBiasedBranch()
699 CHR_DEBUG(dbgs() << "SI " << *SI << " "); in checkBiasedSelect()
700 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect()
701 CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n"); in checkBiasedSelect()
754 CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n"); in findScope()
756 CHR_DEBUG(dbgs() << "Entry null\n"); in findScope()
758 CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n"); in findScope()
760 CHR_DEBUG(dbgs() << "Exit null\n"); in findScope()
782 CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n"); in findScope()
784 CHR_DEBUG(dbgs() << "BI null\n"); in findScope()
788 CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n"); in findScope()
789 CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n"); in findScope()
797 CHR_DEBUG(dbgs() << "Found a region with a branch\n"); in findScope()
852 CHR_DEBUG(dbgs() << "Found a select-only region\n"); in findScope()
858 CHR_DEBUG(dbgs() << "Found select(s) in a region with a branch\n"); in findScope()
901 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
921 CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n"); in checkScopeHoistable()
936 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
946 CHR_DEBUG(dbgs() << "Dropping selects in entry block \n"); in checkScopeHoistable()
947 CHR_DEBUG( in checkScopeHoistable()
965 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
983 CHR_DEBUG(dbgs() << "Result\n"); in checkScopeHoistable()
985 CHR_DEBUG(dbgs() << "BI " << *Branch << "\n"); in checkScopeHoistable()
988 CHR_DEBUG(dbgs() << "SI " << *SI << "\n"); in checkScopeHoistable()
997 CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n"); in findScopes()
1006 CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr() in findScopes()
1010 CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n"); in findScopes()
1012 CHR_DEBUG(dbgs() << "Subregion Scope null\n"); in findScopes()
1069 CHR_DEBUG( in shouldSplit()
1083 CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n"); in shouldSplit()
1102 CHR_DEBUG( in shouldSplit()
1117 CHR_DEBUG(dbgs() << "Split. Intersection empty\n"); in shouldSplit()
1121 CHR_DEBUG(dbgs() << "No split\n"); in shouldSplit()
1172 CHR_DEBUG( in splitScope()
1181 CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n"); in splitScope()
1182 CHR_DEBUG(dbgs() << "Should split from outer at " in splitScope()
1205 CHR_DEBUG(dbgs() << "Outer null\n"); in splitScope()
1210 CHR_DEBUG(dbgs() << "Should split from prev at " in splitScope()
1267 CHR_DEBUG(dbgs() << "BranchInsertPoint " << *SplitsInsertPoints[I] in splitScope()
1284 CHR_DEBUG( in classifyBiasedScopes()
1347 CHR_DEBUG(dbgs() << "Filtered out by biased branches truthy-regions " in filterScopes()
1374 CHR_DEBUG( in setCHRRegions()
1494 CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n"); in hoistValue()
1585 CHR_DEBUG({ in insertTrivialPHIs()
1598 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1599 CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n"); in insertTrivialPHIs()
1604 CHR_DEBUG(dbgs() << "V " << I << "\n"); in insertTrivialPHIs()
1605 CHR_DEBUG(dbgs() in insertTrivialPHIs()
1622 CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n"); in insertTrivialPHIs()
1629 CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n"); in insertTrivialPHIs()
1661 CHR_DEBUG(dbgs() << "Biased regions condition values \n"); in assertBranchOrSelectConditionHoisted()
1669 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1683 CHR_DEBUG(dbgs() << *V << "\n"); in assertBranchOrSelectConditionHoisted()
1695 CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n"); in transformScopes()
1721 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName() in transformScopes()
1876 CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1] in fixupBranchesAndSelects()
1908 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()