Home
last modified time | relevance | path

Searched refs:RegionStack (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp523 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()
[all …]
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp368 std::vector<SourceMappingRegion> RegionStack; member
407 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion()
409 return RegionStack.size() - 1; in pushRegion()
417 assert(RegionStack.size() >= ParentIndex && "parent not in stack"); in popRegions()
418 while (RegionStack.size() > ParentIndex) { in popRegions()
419 SourceMappingRegion &Region = RegionStack.back(); in popRegions()
424 : RegionStack[ParentIndex].getEndLoc(); in popRegions()
449 RegionStack.pop_back(); in popRegions()
455 assert(!RegionStack.empty() && "statement has no region"); in getRegion()
456 return RegionStack.back(); in getRegion()
[all …]