Lines Matching refs:Regions
21 Regions.emplace_back(std::make_unique<CodeRegion>("", SMLoc())); in CodeRegions()
36 if (Regions.size() == 1 && !Regions[0]->startLoc().isValid() && in beginRegion()
37 !Regions[0]->endLoc().isValid()) { in beginRegion()
39 Regions[0] = std::make_unique<CodeRegion>(Description, Loc); in beginRegion()
45 const CodeRegion &R = *Regions[It->second]; in beginRegion()
64 ActiveRegions[Description] = Regions.size(); in beginRegion()
65 Regions.emplace_back(std::make_unique<CodeRegion>(Description, Loc)); in beginRegion()
77 Regions[It->second]->setEndLocation(Loc); in endRegion()
83 if (ActiveRegions.empty() && Regions.size() == 1 && in endRegion()
84 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
85 Regions[0]->setEndLocation(Loc); in endRegion()
92 Regions[It->second]->setEndLocation(Loc); in endRegion()
111 for (UniqueCodeRegion &Region : Regions) in addInstruction()