Lines Matching refs:RegionStack
893 llvm::SmallVector<SourceMappingRegion> RegionStack; member
971 RegionStack.emplace_back(Count, FalseCount, BranchParams, StartLoc, EndLoc); in pushRegion()
973 return RegionStack.size() - 1; in pushRegion()
980 RegionStack.emplace_back(DecisionParams, StartLoc, EndLoc); in pushRegion()
982 return RegionStack.size() - 1; in pushRegion()
999 assert(RegionStack.size() >= ParentIndex && "parent not in stack"); in popRegions()
1000 while (RegionStack.size() > ParentIndex) { in popRegions()
1001 SourceMappingRegion &Region = RegionStack.back(); in popRegions()
1003 (Region.hasEndLoc() || RegionStack[ParentIndex].hasEndLoc())) { in popRegions()
1007 : RegionStack[ParentIndex].getEndLoc(); in popRegions()
1071 RegionStack.pop_back(); in popRegions()
1077 assert(!RegionStack.empty() && "statement has no region"); in getRegion()
1078 return RegionStack.back(); in getRegion()
1219 for (SourceMappingRegion &I : llvm::reverse(RegionStack)) { in handleFileExit()
1501 assert(RegionStack.empty() && "Regions entered but never exited"); in VisitDecl()
1835 for (size_t i = RegionStack.size(); i != Index; --i) { in VisitSwitchStmt()
1836 if (!RegionStack[i - 1].hasEndLoc()) in VisitSwitchStmt()
1837 RegionStack[i - 1].setEndLoc(getEnd(CS->body_back())); in VisitSwitchStmt()