Lines Matching refs:RegionStack
523 std::vector<SourceMappingRegion> RegionStack; member
571 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion()
573 return RegionStack.size() - 1; in pushRegion()
579 size_t Index = RegionStack.size(); in completeDeferred()
613 RegionStack.push_back(DR); in completeDeferred()
624 if (LastTerminatedRegion->second != RegionStack.size()) in completeTopLevelDeferredRegion()
631 SourceMappingRegion DR = RegionStack.back(); in completeTopLevelDeferredRegion()
652 assert(RegionStack.size() >= ParentIndex && "parent not in stack"); in popRegions()
654 while (RegionStack.size() > ParentIndex) { in popRegions()
655 SourceMappingRegion &Region = RegionStack.back(); in popRegions()
660 : RegionStack[ParentIndex].getEndLoc(); in popRegions()
725 RegionStack.pop_back(); in popRegions()
730 RegionStack.size() < LastTerminatedRegion->second) in popRegions()
738 assert(!RegionStack.empty() && "statement has no region"); in getRegion()
739 return RegionStack.back(); in getRegion()
817 for (SourceMappingRegion &I : llvm::reverse(RegionStack)) { in handleFileExit()
879 LastTerminatedRegion = {EndLoc, RegionStack.size()}; in terminateRegion()
973 assert(RegionStack.empty() && "Regions entered but never exited"); in VisitDecl()
1219 for (size_t i = RegionStack.size(); i != Index; --i) { in VisitSwitchStmt()
1220 if (!RegionStack[i - 1].hasEndLoc()) in VisitSwitchStmt()
1221 RegionStack[i - 1].setEndLoc(getEnd(CS->body_back())); in VisitSwitchStmt()