Home
last modified time | relevance | path

Searched refs:Region (Results 1 – 25 of 117) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary64.h90 *Region = {}; in unmapTestOnly()
162 if (Region->MappedUser) in getStats()
358 Region->Data = Data; in populateFreeList()
372 static_cast<u32>((Region->MappedUser - Region->AllocatedUser) / Size)); in populateFreeList()
414 const uptr InUse = Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks; in getStats()
421 Region->Stats.PoppedBlocks, Region->Stats.PushedBlocks, InUse, in getStats()
423 Region->ReleaseInfo.LastReleasedBytes >> 10, Region->RegionBeg, in getStats()
432 DCHECK_GE(Region->Stats.PoppedBlocks, Region->Stats.PushedBlocks);
435 (Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks) * BlockSize;
467 ReleaseRecorder Recorder(Region->RegionBeg, &Region->Data);
[all …]
H A Dprimary32.h286 uptr Region = MapBase; in allocateRegionSlow() local
301 return Region; in allocateRegionSlow()
306 uptr Region = 0; in allocateRegion() local
312 if (!Region) in allocateRegion()
314 if (LIKELY(Region)) { in allocateRegion()
323 return Region; in allocateRegion()
333 uptr Region; in populateFreeList() local
340 Region = Sci->CurrentRegion; in populateFreeList()
346 if (UNLIKELY(!Region)) in populateFreeList()
349 Sci->CurrentRegion = Region; in populateFreeList()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp107 assert(Region); in getPointedRegion()
121 assert(Region); in getArrayRegion()
134 return Region; in getArrayRegion()
141 return Region; in getArrayRegion()
157 if (!Region) in reportPointerArithMisuse()
160 Region = getPointedRegion(Region, C); in reportPointerArithMisuse()
161 if (!Region) in reportPointerArithMisuse()
230 if (!Region) in checkPostStmt()
251 if (!Region) in checkPostStmt()
267 if (!Region) in checkPostStmt()
[all …]
H A DMoveChecker.cpp166 ID.AddPointer(Region); in Profile()
180 const MemRegion *Region; member in __anon6f91540e0211::MoveChecker::MovedBugVisitor
246 if (!Region) in removeFromState()
249 if (E.first->isSubRegionOf(Region)) in removeFromState()
317 Chk.explainObject(OS, Region, RD, MK); in VisitNode()
410 explainObject(OS, Region, RD, MK); in reportBug()
414 explainObject(OS, Region, RD, MK); in reportBug()
419 explainObject(OS, Region, RD, MK); in reportBug()
424 explainObject(OS, Region, RD, MK); in reportBug()
685 const MemRegion *Region = E.first; in checkDeadSymbols() local
[all …]
H A DNullabilityChecker.cpp143 ID.AddPointer(Region); in Profile()
152 const MemRegion *Region; member in __anonec55baa00111::NullabilityChecker::NullabilityBugVisitor
171 if (Region) { in reportBug()
483 const MemRegion *Region = in checkEvent() local
485 if (!Region) in checkEvent()
536 const auto *Region = in checkLocation() local
538 if (!Region) in checkLocation()
650 if (!Region) in checkPreStmt()
742 if (!Region) in checkPreCall()
802 if (!Region) in checkPostCall()
[all …]
H A DStackAddrEscapeChecker.cpp145 const MemRegion *Region = Val.getAsRegion(); in getCapturedStackRegions() local
146 if (Region && isa<StackSpaceRegion>(Region->getMemorySpace())) in getCapturedStackRegions()
147 Regions.push_back(Region); in getCapturedStackRegions()
186 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkAsyncExecutedBlockCaptures() local
193 if (isa<BlockDataRegion>(Region)) in checkAsyncExecutedBlockCaptures()
204 SourceRange Range = genName(Out, Region, C.getASTContext()); in checkAsyncExecutedBlockCaptures()
216 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkReturnedBlockCaptures() local
217 if (isArcManagedBlock(Region, C) || isNotInCurrentFrame(Region, C)) in checkReturnedBlockCaptures()
228 SourceRange Range = genName(Out, Region, C.getASTContext()); in checkReturnedBlockCaptures()
316 if (!isa<GlobalsSpaceRegion>(Region->getMemorySpace())) in checkEndFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp608 Region.IgnoreRegion = true; in getCodeExtractorArguments()
622 Region.IgnoreRegion = true; in getCodeExtractorArguments()
791 if (Region.IgnoreRegion) in findAddInputsOutputs()
901 Region.Call = Call; in replaceCalledFunction()
1557 Region.ExtractedFunction = Region.CE->extractCodeRegion(CEAC); in extractSection()
1570 Region.EndBB = RewrittenBB; in extractSection()
1587 IDL->insert(Region.Candidate->begin(), *Region.NewFront); in extractSection()
1590 IDL->insert(Region.Candidate->end(), *Region.NewBack); in extractSection()
1592 IDL->erase(Region.Candidate->begin(), std::prev(Region.Candidate->end())); in extractSection()
1602 Region.Call = CI; in extractSection()
[all …]
H A DHotColdSplitting.cpp246 for (BasicBlock *BB : Region) in getOutliningBenefit()
270 for (BasicBlock *BB : Region) { in getOutliningPenalty()
279 if (!is_contained(Region, SuccBB)) { in getOutliningPenalty()
297 if (find(Region, PN.getIncomingBlock(i)) != Region.end()) { in getOutliningPenalty()
332 Penalty -= Region.size(); in getOutliningPenalty()
350 assert(!Region.empty()); in extractColdRegion()
370 Function *OrigF = Region[0]->getParent(); in extractColdRegion()
644 for (OutliningRegion &Region : Regions) { in outlineColdRegions()
645 if (Region.empty()) in outlineColdRegions()
648 if (Region.isEntireFunctionCold()) { in outlineColdRegions()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/events/
H A Devregion.c287 HandlerDesc = RegionObj->Region.Handler; in AcpiEvAddressSpaceDispatch()
496 HandlerObj = RegionObj->Region.Handler; in AcpiEvDetachRegion()
522 *LastObjPtr = ObjDesc->Region.Next; in AcpiEvDetachRegion()
592 RegionObj->Region.Handler = NULL; in AcpiEvDetachRegion()
600 LastObjPtr = &ObjDesc->Region.Next; in AcpiEvDetachRegion()
601 ObjDesc = ObjDesc->Region.Next; in AcpiEvDetachRegion()
651 if (RegionObj->Region.Handler) in AcpiEvAttachRegion()
666 RegionObj->Region.Handler = HandlerObj; in AcpiEvAttachRegion()
704 RegionObj->Region.Handler == NULL) in AcpiEvExecuteRegMethod()
720 Node = RegionObj->Region.Node->Parent; in AcpiEvExecuteRegMethod()
[all …]
H A Devrgnini.c223 LocalRegionContext->Length = RegionDesc->Region.Length; in AcpiEvSystemMemoryRegionSetup()
224 LocalRegionContext->Address = RegionDesc->Region.Address; in AcpiEvSystemMemoryRegionSetup()
306 HandlerObj = RegionObj->Region.Handler; in AcpiEvPciConfigRegionSetup()
328 ParentNode = RegionObj->Region.Node->Parent; in AcpiEvPciConfigRegionSetup()
395 if (RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE) in AcpiEvPciConfigRegionSetup()
415 PciDeviceNode = RegionObj->Region.Node; in AcpiEvPciConfigRegionSetup()
464 Status = AcpiHwDerivePciId (PciId, PciRootNode, RegionObj->Region.Node); in AcpiEvPciConfigRegionSetup()
703 Node = RegionObj->Region.Node->Parent; in AcpiEvInitializeRegion()
704 SpaceId = RegionObj->Region.SpaceId; in AcpiEvInitializeRegion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp45 static void verifyBlocksInRegion(const VPRegionBlock *Region) { in verifyBlocksInRegion() argument
47 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
48 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
50 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent"); in verifyBlocksInRegion()
95 static void verifyRegion(const VPRegionBlock *Region) { in verifyRegion() argument
96 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
97 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
105 verifyBlocksInRegion(Region); in verifyRegion()
110 static void verifyRegionRec(const VPRegionBlock *Region) { in verifyRegionRec() argument
111 verifyRegion(Region); in verifyRegionRec()
[all …]
H A DVPlanPredicator.cpp134 VPRegionBlock *Region) { in createOrPropagatePredicates() argument
137 if (VPDomTree.dominates(CurrBlock, Region->getExit())) { in createOrPropagatePredicates()
138 VPValue *RegionBP = Region->getPredicate(); in createOrPropagatePredicates()
187 void VPlanPredicator::predicateRegionRec(VPRegionBlock *Region) { in predicateRegionRec() argument
188 VPBasicBlock *EntryBlock = cast<VPBasicBlock>(Region->getEntry()); in predicateRegionRec()
197 createOrPropagatePredicates(Block, Region); in predicateRegionRec()
207 void VPlanPredicator::linearizeRegionRec(VPRegionBlock *Region) { in linearizeRegionRec() argument
208 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region->getEntry()); in linearizeRegionRec()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp87 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
88 Region.ColumnEnd, clamp_uint64_to_int64(Region.ExecutionCount), in renderRegion()
89 Region.FileID, Region.ExpandedFileID, in renderRegion()
90 int64_t(Region.Kind)}); in renderRegion()
95 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
97 clamp_uint64_to_int64(Region.FalseExecutionCount), Region.FileID, in renderBranch()
98 Region.ExpandedFileID, int64_t(Region.Kind)}); in renderBranch()
103 for (const auto &Region : Regions) in renderRegions() local
104 RegionArray.push_back(renderRegion(Region)); in renderRegions()
110 for (const auto &Region : Regions) in renderBranchRegions() local
[all …]
H A DSourceCoverageView.h31 CounterMappingRegion Region; member
34 ExpansionView(const CounterMappingRegion &Region, in ExpansionView()
36 : Region(Region), View(std::move(View)) {} in ExpansionView()
38 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
40 Region = std::move(RHS.Region);
45 unsigned getLine() const { return Region.LineStart; } in getLine()
46 unsigned getStartCol() const { return Region.ColumnStart; } in getStartCol()
47 unsigned getEndCol() const { return Region.ColumnEnd; } in getEndCol()
50 return LHS.Region.startLoc() < RHS.Region.startLoc();
275 void addExpansion(const CounterMappingRegion &Region,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.h60 struct Region { struct
73 SpecificBumpPtrAllocator<Region> Alloc; argument
74 std::vector<Region*> Regions;
84 GCNRegPressure getSchedulePressure(const Region &R,
90 GCNRegPressure getRegionPressure(const Region &R) const { in getRegionPressure()
94 void setBestSchedule(Region &R,
98 void scheduleBest(Region &R);
105 void scheduleRegion(Region &R, Range &&Schedule,
117 const Region *R,
H A DAMDGPUMachineCFGStructurizer.cpp353 void setRegionMRT(RegionMRT *Region) { RMRT = Region; } in setRegionMRT() argument
446 void setParent(RegionMRT *Region) { Parent = Region; } in setParent() argument
492 MachineRegion *Region; member in __anon9f8240700211::RegionMRT
669 RegionMap[Region]->setSucc(Region->getExit()); in buildMRT()
1648 auto Exit = Region->getSucc(); in rewriteRegionExitPHIs()
1707 auto Exit = Region->getSucc(); in createLinearizedExitBlock()
2564 if (Region->contains(*PI)) { in removeOldExitPreds()
2617 removeOldExitPreds(Region); in structurizeComplexRegion()
2734 if (Region->isRoot()) { in structurizeComplexRegion()
2753 fixupRegionExits(Region); in structurizeRegion()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionInfo.cpp46 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style",
51 clEnumValN(Region::PrintNone, "none", "print no details"),
52 clEnumValN(Region::PrintBB, "bb",
54 clEnumValN(Region::PrintRN, "rn",
61 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region
63 DominatorTree *DT, Region *Parent) : in Region()
68 Region::~Region() = default;
87 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
101 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
/freebsd-13.1/sys/contrib/dev/acpica/components/executer/
H A Dexfield.c296 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExReadDataFromField()
297 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExReadDataFromField()
298 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExReadDataFromField()
350 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExReadDataFromField()
358 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)) in AcpiExReadDataFromField()
460 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExWriteDataToField()
468 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExWriteDataToField()
469 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExWriteDataToField()
470 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExWriteDataToField()
478 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)) in AcpiExWriteDataToField()
[all …]
H A Dexfldio.c225 SpaceId = RgnDesc->Region.SpaceId; in AcpiExSetupRegion()
281 if (RgnDesc->Region.Length < in AcpiExSetupRegion()
292 if (ACPI_ROUND_UP (RgnDesc->Region.Length, in AcpiExSetupRegion()
314 AcpiUtGetNodeName (RgnDesc->Region.Node), in AcpiExSetupRegion()
315 RgnDesc->Region.Length)); in AcpiExSetupRegion()
328 AcpiUtGetNodeName (RgnDesc->Region.Node), in AcpiExSetupRegion()
329 RgnDesc->Region.Length)); in AcpiExSetupRegion()
404 AcpiUtGetRegionName (RgnDesc->Region.SpaceId), in AcpiExAccessRegion()
405 RgnDesc->Region.SpaceId, in AcpiExAccessRegion()
424 RgnDesc->Region.SpaceId)); in AcpiExAccessRegion()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsopcode.c593 ObjDesc->Region.Address = (ACPI_PHYSICAL_ADDRESS) in AcpiDsEvalRegionOperands()
598 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalRegionOperands()
599 ObjDesc->Region.Length)); in AcpiDsEvalRegionOperands()
601 Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId, in AcpiDsEvalRegionOperands()
602 ObjDesc->Region.Address, ObjDesc->Region.Length, Node); in AcpiDsEvalRegionOperands()
606 ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID; in AcpiDsEvalRegionOperands()
708 ObjDesc->Region.Address = ACPI_PTR_TO_PHYSADDR (Table); in AcpiDsEvalTableRegionOperands()
709 ObjDesc->Region.Length = Table->Length; in AcpiDsEvalTableRegionOperands()
712 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalTableRegionOperands()
713 ObjDesc->Region.Length)); in AcpiDsEvalTableRegionOperands()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionPass.h47 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0;
61 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization()
82 bool skipRegion(Region &R) const;
87 std::deque<Region*> RQ;
89 Region *CurrentRegion;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp24 if (!Region.getDescription().empty()) in printRegionHeader()
25 RegionName = Region.getDescription(); in printRegionHeader()
37 if (!Region.getDescription().empty()) in getJSONReportRegion()
38 RegionName = Region.getDescription(); in getJSONReportRegion()
122 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp167 Region *R;
184 Region *getParentRegion() { in getParentRegion()
344 CHRScope *findScopes(Region *R, Region *NextRegion, Region *ParentRegion,
711 Region *R = RI.R; in getBranchInsertPoint()
894 Region *R = RI.R; in checkScopeHoistable()
995 CHRScope * CHR::findScopes(Region *R, Region *NextRegion, Region *ParentRegion, in findScopes()
1312 Region *R = RI.R; in classifyBiasedScopes()
1402 Region *R = RI.R; in setCHRRegions()
1505 Region *R = RI.R; in hoistScopeConditions()
1663 Region *R = RI.R; in assertBranchOrSelectConditionHoisted()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp123 static NodeRef getEntryNode(Region *R) { in getEntryNode()
246 Region *ParentRegion;
313 void init(Region *R);
314 bool run(Region *R, DominatorTree *DT);
469 Region *R = RI->getRegionFor(P); in gatherPredicates()
692 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
1007 void StructurizeCFG::init(Region *R) { in init()
1018 bool StructurizeCFG::makeUniformRegion(Region *R, in makeUniformRegion()
1090 static void addRegionIntoQueue(Region &R, std::vector<Region *> &Regions) { in addRegionIntoQueue()
1102 std::vector<Region *> Regions; in run()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp433 if (Region.isGap()) { in emitSourceRegions()
437 } else if (Region.isBranch()) { in emitSourceRegions()
439 Region.getCounter(), Region.getFalseCounter(), *CovFileID, in emitSourceRegions()
607 if (Region.hasStartLoc()) { in popRegions()
659 Region.setStartLoc(StartLoc); in popRegions()
660 Region.setEndLoc(EndLoc); in popRegions()
673 SourceRegions.push_back(Region); in popRegions()
858 if (!Region.hasStartLoc()) in extendRegion()
859 Region.setStartLoc(StartLoc); in extendRegion()
867 if (!Region.hasEndLoc()) in terminateRegion()
[all …]

12345