Home
last modified time | relevance | path

Searched refs:Regions (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp29 for (UniqueCodeRegion &Region : Regions) in addInstruction()
43 if (Regions.size() == 1 && !Regions[0]->startLoc().isValid() && in beginRegion()
44 !Regions[0]->endLoc().isValid()) { in beginRegion()
71 ActiveRegions[Description] = Regions.size(); in beginRegion()
83 Regions[It->second]->setEndLocation(Loc); in endRegion()
90 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
91 Regions[0]->setEndLocation(Loc); in endRegion()
98 Regions[It->second]->setEndLocation(Loc); in endRegion()
140 Regions.emplace_back( in beginRegion()
147 Regions[It->second]->setEndLocation(Loc); in endRegion()
[all …]
H A DCodeRegionGenerator.h46 AnalysisRegions &Regions; variable
66 InstrumentRegions &Regions; variable
73 : SM(SM), Regions(R), IM(IM) {} in InstrumentRegionCommentConsumer()
88 CodeRegions &Regions;
92 : MCStreamer(Context), Regions(R) {} in MCStreamerWrapper()
97 Regions.addInstruction(Inst); in emitInstruction()
116 return Regions.getInstructionSequence(Index); in GetInstructionSequence()
161 AnalysisRegions Regions;
173 InstrumentRegions Regions;
218 CC(Regions), Streamer(Ctx, Regions) {} in AsmAnalysisRegionGenerator()
[all …]
H A DCodeRegionGenerator.cpp35 CodeRegions &Regions = getRegions(); in parseCodeRegions() local
50 createMCAsmParser(Regions.getSourceMgr(), Ctx, *Str, MAI)); in parseCodeRegions()
73 return Regions; in parseCodeRegions()
95 Regions.endRegion(Comment, Loc); in HandleComment()
108 Regions.beginRegion(Comment, Loc); in HandleComment()
167 if (Regions.isRegionActive(InstrumentKind)) in HandleComment()
168 Regions.endRegion(InstrumentKind, Loc); in HandleComment()
170 Regions.beginRegion(InstrumentKind, Loc, std::move(I)); in HandleComment()
H A DCodeRegion.h141 std::vector<UniqueCodeRegion> Regions; variable
152 iterator begin() { return Regions.begin(); } in begin()
153 iterator end() { return Regions.end(); } in end()
154 const_iterator begin() const { return Regions.cbegin(); } in begin()
155 const_iterator end() const { return Regions.cend(); } in end()
161 return Regions[Idx]->getInstructions(); in getInstructionSequence()
165 return llvm::all_of(Regions, [](const UniqueCodeRegion &Region) { in empty()
H A DPipelinePrinter.cpp113 json::Array *Regions = JO.getArray("CodeRegions"); in printReport() local
114 assert(Regions && "This array must exist!"); in printReport()
115 Regions->push_back(getJSONReportRegion()); in printReport()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStackLayout.cpp29 for (unsigned i = 0; i < Regions.size(); ++i) { in print()
30 OS << " " << i << ": [" << Regions[i].Start << ", " << Regions[i].End in print()
31 << "), range " << Regions[i].Range << "\n"; in print()
55 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject()
58 Regions.emplace_back(Start, End, Obj.Range); in layoutObject()
70 for (const StackRegion &R : Regions) { in layoutObject()
92 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject()
109 StackRegion &R = Regions[i]; in layoutObject()
113 Regions.insert(&R, R0); in layoutObject()
119 Regions.insert(&R, R0); in layoutObject()
[all …]
H A DSafeStackLayout.h38 SmallVector<StackRegion, 16> Regions; variable
72 unsigned getFrameSize() { return Regions.empty() ? 0 : Regions.back().End; } in getFrameSize()
/freebsd/contrib/libfido2/fuzz/
H A Dfunctions.txt2 Name Regions Miss Cover Lines Miss Cover
16 Name Regions Miss Cover Lines Miss Cover
85 Name Regions Miss Cover Lines Miss Cover
96 Name Regions Miss Cover Lines Miss Cover
151 Name Regions Miss Cover Lines Miss Cover
167 Name Regions Miss Cover Lines Miss Cover
175 Name Regions Miss Cover Lines Miss Cover
236 Name Regions Miss Cover Lines Miss Cover
247 Name Regions Miss Cover Lines Miss Cover
264 Name Regions Miss Cover Lines Miss Cover
[all …]
H A Dsummary.txt1 Filename Regions Missed Regions Cover Functions Missed Functi…
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp93 for (const auto R : Regions) { in printRegions()
284 Regions.push_back( in enterRegion()
294 if (!Regions.empty() && Regions.back()->Begin == RegionBegin) { in schedule()
296 << print(Regions.back()->MaxPressure, in schedule()
303 if (Regions.empty()) in finalizeSchedule()
435 for (auto *R : Regions) { in tryMaximizeOccupancy()
471 auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in scheduleLegacyMaxOccupancy()
491 for (auto *R : Regions) { in scheduleLegacyMaxOccupancy()
525 auto MaxPressure = Regions.front()->MaxPressure; in scheduleMinReg()
526 for (auto *R : Regions) { in scheduleMinReg()
[all …]
H A DGCNSchedStrategy.cpp560 auto &Rgn = Regions[CurRegion]; in computeBlockPressure()
583 if (Regions[CurRegion].second == I) { in computeBlockPressure()
604 assert(!Regions.empty()); in getBBLiveInMap()
606 BBStarters.reserve(Regions.size()); in getBBLiveInMap()
607 auto I = Regions.rbegin(), E = Regions.rend(); in getBBLiveInMap()
623 LiveIns.resize(Regions.size()); in finalizeSchedule()
624 Pressure.resize(Regions.size()); in finalizeSchedule()
642 if (!Regions.empty()) in runSchedStages()
651 for (auto Region : Regions) { in runSchedStages()
1345 NewRegions = DAG.Regions; in sinkTriviallyRematInsts()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h146 Region *Regions; member
148 uint8_t *Start() { return Regions[0].Start; } in Start()
149 uint8_t *Stop() { return Regions[NumRegions - 1].Stop; } in Stop()
165 CB(Modules[m].Regions[r]); in IterateCounterRegions()
253 if (!Modules[i].Regions[r].Enabled) continue; in CollectFeatures()
254 FirstFeature += 8 * ForEachNonZeroByte(Modules[i].Regions[r].Start, in CollectFeatures()
255 Modules[i].Regions[r].Stop, in CollectFeatures()
H A DFuzzerTracePC.cpp55 M.Regions = new Module::Region[M.NumRegions]; in HandleInline8bitCountersInit()
56 assert(M.Regions); in HandleInline8bitCountersInit()
59 M.Regions[R++] = {Start, std::min(Stop, AlignedStart), true, false}; in HandleInline8bitCountersInit()
61 M.Regions[R++] = {P, P + PageSize(), true, true}; in HandleInline8bitCountersInit()
63 M.Regions[R++] = {AlignedStop, Stop, true, false}; in HandleInline8bitCountersInit()
184 auto &R = M.Regions[r]; in UpdateObservedPCs()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp1225 if (Regions.empty()) in combineRegions()
1226 return Regions; in combineRegions()
1227 auto Active = Regions.begin(); in combineRegions()
1228 auto End = Regions.end(); in combineRegions()
1263 sortNestedRegions(Regions); in buildSegments()
1345 std::vector<CountedRegion> Regions; in getCoverageForFile() local
1357 Regions.push_back(CR); in getCoverageForFile()
1409 std::vector<CountedRegion> Regions; in getCoverageForFunction() local
1412 Regions.push_back(CR); in getCoverageForFunction()
1437 std::vector<CountedRegion> Regions; in getCoverageForExpansion() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp74 std::vector<OutlinableRegion *> Regions; member
601 for (OutlinableRegion *Region : Regions) in findSameConstants()
606 for (OutlinableRegion *OS : Regions) in collectGVNStoreSets()
621 for (OutlinableRegion *OS : Group.Regions) in getSubprogramOrNull()
2306 CurrentOS = CurrentGroup.Regions[Idx]; in deduplicateExtractedSections()
2475 CurrentGroup.Regions.push_back(OS); in pruneIncompatibleRegions()
2821 if (CurrentGroup.Regions.size() < 2) in doOutline()
2864 if (CurrentGroup.Regions.empty()) in doOutline()
2888 CurrentGroup.Regions.begin(), CurrentGroup.Regions.end(), in doOutline()
2981 if (CurrentGroup.Regions.empty()) in doOutline()
[all …]
H A DHotColdSplitting.cpp481 std::vector<OutliningRegion> Regions; in create() local
484 Regions.emplace_back(); in create()
485 OutliningRegion *ColdRegion = &Regions.back(); in create()
508 return Regions; in create()
541 return Regions; in create()
544 Regions.emplace_back(); in create()
545 ColdRegion = &Regions.back(); in create()
576 return Regions; in create()
674 auto Regions = OutliningRegion::create(*BB, *DT, *PDT); in outlineColdRegions() local
675 for (OutliningRegion &Region : Regions) { in outlineColdRegions()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp61 const MemRegion *Regions[] = {MRMgr.getStackLocalsRegion(STC), in getWidenedLoopState() local
65 for (auto *Region : Regions) { in getWidenedLoopState()
96 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h72 std::vector<CountedRegion> Regions; member
76 BranchView(unsigned Line, ArrayRef<CountedRegion> Regions, in BranchView()
78 : Regions(Regions), View(std::move(View)), Line(Line) {} in BranchView()
307 void addBranch(unsigned Line, ArrayRef<CountedRegion> Regions,
H A DCoverageExporterJson.cpp118 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderRegions() argument
120 for (const auto &Region : Regions) in renderRegions()
125 json::Array renderBranchRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderBranchRegions() argument
127 for (const auto &Region : Regions) in renderBranchRegions()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp43 ArrayRef<const MemRegion *> Regions,
221 ArrayRef<const MemRegion *> Regions, const LocationContext *LCtx, in checkRegionChanges() argument
230 if (llvm::is_contained(Regions, ErrnoRegion)) in checkRegionChanges()
235 if (llvm::is_contained(Regions, ErrnoRegion->getMemorySpace())) in checkRegionChanges()
H A DTaggedUnionModeling.h40 ArrayRef<const MemRegion *> Regions) { in removeInformationStoredForDeadInstances() argument
47 for (const MemRegion *Region : Regions) in removeInformationStoredForDeadInstances()
H A DStdVariantChecker.cpp142 ArrayRef<const MemRegion *> Regions, in checkRegionChanges() argument
149 *Call, State, Regions); in checkRegionChanges()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCMachOStreamer.cpp235 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in emitDataRegion() local
236 Regions.push_back(Data); in emitDataRegion()
240 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in emitDataRegionEnd() local
241 assert(!Regions.empty() && "Mismatched .end_data_region!"); in emitDataRegionEnd()
242 DataRegionData &Data = Regions.back(); in emitDataRegionEnd()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h207 : Regions(0), NumCounters(0), CounterSizeBitsLog(0), CounterMask(0), in RegionPageMap()
229 Regions = NumberOfRegion; in reset()
249 BufferNumElements = SizePerRegion * Regions; in reset()
258 DCHECK_LT(Region, Regions); in get()
336 uptr Regions; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp1209 static void addRegionIntoQueue(Region &R, std::vector<Region *> &Regions) { in addRegionIntoQueue() argument
1210 Regions.push_back(&R); in addRegionIntoQueue()
1212 addRegionIntoQueue(*E, Regions); in addRegionIntoQueue()
1221 std::vector<Region *> Regions; in run() local
1222 addRegionIntoQueue(*RI.getTopLevelRegion(), Regions); in run()
1223 while (!Regions.empty()) { in run()
1224 Region *R = Regions.back(); in run()
1228 Regions.pop_back(); in run()

123