Lines Matching refs:Ranges
41 auto &Ranges = VarInstrRanges[Var]; in startInstrRange() local
42 if (!Ranges.empty() && Ranges.back().second == nullptr && in startInstrRange()
43 Ranges.back().first->isIdenticalTo(&MI)) { in startInstrRange()
45 << "\t" << Ranges.back().first << "\t" << MI << "\n"); in startInstrRange()
48 Ranges.push_back(std::make_pair(&MI, nullptr)); in startInstrRange()
53 auto &Ranges = VarInstrRanges[Var]; in endInstrRange() local
55 assert(!Ranges.empty() && Ranges.back().second == nullptr); in endInstrRange()
58 assert(Ranges.back().first->getParent() == MI.getParent()); in endInstrRange()
59 Ranges.back().second = &MI; in endInstrRange()
66 const auto &Ranges = I->second; in getRegisterForVar() local
67 if (Ranges.empty() || Ranges.back().second != nullptr) in getRegisterForVar()
69 return isDescribedByReg(*Ranges.back().first); in getRegisterForVar()