Lines Matching refs:ActiveCols
640 IndexedMap<Column> ActiveCols; member in __anon9d94adbb0311::LiveVariablePrinter
715 for (unsigned ColIdx = 0; ColIdx < ActiveCols.size(); ++ColIdx) in findFreeColumn()
716 if (!ActiveCols[ColIdx].isActive()) in findFreeColumn()
719 size_t OldSize = ActiveCols.size(); in findFreeColumn()
720 ActiveCols.grow(std::max<size_t>(OldSize * 2, 1)); in findFreeColumn()
726 : LiveVariables(), ActiveCols(Column()), MRI(MRI), STI(STI) {} in LiveVariablePrinter()
754 for (unsigned ColIdx = 0, End = ActiveCols.size(); ColIdx < End; ++ColIdx) { in update()
755 if (!ActiveCols[ColIdx].isActive()) in update()
757 CheckedVarIdxs.insert(ActiveCols[ColIdx].VarIdx); in update()
758 LiveVariable &LV = LiveVariables[ActiveCols[ColIdx].VarIdx]; in update()
759 ActiveCols[ColIdx].LiveIn = LV.liveAtAddress(ThisAddr); in update()
760 ActiveCols[ColIdx].LiveOut = LV.liveAtAddress(NextAddr); in update()
763 << ColIdx << ": LiveIn=" << ActiveCols[ColIdx].LiveIn in update()
764 << ", LiveOut=" << ActiveCols[ColIdx].LiveOut << "\n"); in update()
766 if (!ActiveCols[ColIdx].LiveIn && !ActiveCols[ColIdx].LiveOut) in update()
767 ActiveCols[ColIdx].VarIdx = Column::NullVarIdx; in update()
788 ActiveCols[ColIdx].VarIdx = VarIdx; in update()
789 ActiveCols[ColIdx].LiveIn = LiveIn; in update()
790 ActiveCols[ColIdx].LiveOut = LiveOut; in update()
791 ActiveCols[ColIdx].MustDrawLabel = true; in update()
832 if (ActiveCols.size()) { in printAfterOtherLine()
834 for (size_t ColIdx = FirstUnprintedColumn, End = ActiveCols.size(); in printAfterOtherLine()
836 if (ActiveCols[ColIdx].isActive()) { in printAfterOtherLine()
837 if ((AfterInst && ActiveCols[ColIdx].LiveOut) || in printAfterOtherLine()
838 (!AfterInst && ActiveCols[ColIdx].LiveIn)) in printAfterOtherLine()
840 else if (!AfterInst && ActiveCols[ColIdx].LiveOut) in printAfterOtherLine()
860 for (unsigned ColIdx = 0, End = ActiveCols.size(); ColIdx < End; ++ColIdx) { in printBetweenInsts()
861 if (ActiveCols[ColIdx].isActive() && ActiveCols[ColIdx].MustDrawLabel) { in printBetweenInsts()
866 if (ActiveCols[ColIdx2].isActive()) { in printBetweenInsts()
867 if (ActiveCols[ColIdx2].MustDrawLabel && in printBetweenInsts()
868 !ActiveCols[ColIdx2].LiveIn) in printBetweenInsts()
878 OS << getLineChar(ActiveCols[ColIdx].LiveIn in printBetweenInsts()
883 << LiveVariables[ActiveCols[ColIdx].VarIdx].VarName; in printBetweenInsts()
887 LiveVariables[ActiveCols[ColIdx].VarIdx].print(OS, MRI); in printBetweenInsts()
893 for (unsigned ColIdx2 = FirstUnprintedColumn, End = ActiveCols.size(); in printBetweenInsts()
895 if (ActiveCols[ColIdx2].isActive() && ActiveCols[ColIdx2].LiveIn) in printBetweenInsts()
906 for (unsigned ColIdx = 0, End = ActiveCols.size(); ColIdx < End; ++ColIdx) in printBetweenInsts()
907 if (ActiveCols[ColIdx].isActive()) in printBetweenInsts()
908 ActiveCols[ColIdx].MustDrawLabel = false; in printBetweenInsts()
919 if (!ActiveCols.size()) in printAfterInst()
922 for (unsigned ColIdx = FirstUnprintedColumn, End = ActiveCols.size(); in printAfterInst()
924 if (!ActiveCols[ColIdx].isActive()) in printAfterInst()
926 else if (ActiveCols[ColIdx].LiveIn && ActiveCols[ColIdx].LiveOut) in printAfterInst()
928 else if (ActiveCols[ColIdx].LiveOut) in printAfterInst()
930 else if (ActiveCols[ColIdx].LiveIn) in printAfterInst()