Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp108 assert(Region); in getPointedRegion()
122 assert(Region); in getArrayRegion()
128 Region = Region->getAs<ElementRegion>()->getSuperRegion(); in getArrayRegion()
142 return Region; in getArrayRegion()
158 if (!Region) in reportPointerArithMisuse()
161 Region = getPointedRegion(Region, C); in reportPointerArithMisuse()
162 if (!Region) in reportPointerArithMisuse()
231 if (!Region) in checkPostStmt()
252 if (!Region) in checkPostStmt()
268 if (!Region) in checkPostStmt()
[all …]
H A DMoveChecker.cpp165 ID.AddPointer(Region); in Profile()
179 const MemRegion *Region; member in __anon2f850c290211::MoveChecker::MovedBugVisitor
229 if (!Region) in REGISTER_MAP_WITH_PROGRAMSTATE()
232 if (E.first->isSubRegionOf(Region)) in REGISTER_MAP_WITH_PROGRAMSTATE()
299 Chk.explainObject(OS, Region, RD, MK); in VisitNode()
397 explainObject(OS, Region, RD, MK); in reportBug()
401 explainObject(OS, Region, RD, MK); in reportBug()
406 explainObject(OS, Region, RD, MK); in reportBug()
411 explainObject(OS, Region, RD, MK); in reportBug()
672 const MemRegion *Region = E.first; in checkDeadSymbols() local
[all …]
H A DNullabilityChecker.cpp138 ID.AddPointer(Region); in Profile()
147 const MemRegion *Region; member in __anon18dbe65b0111::NullabilityChecker::NullabilityBugVisitor
168 if (Region) { in reportBug()
169 R->markInteresting(Region); in reportBug()
461 if (SR.isDead(Region->getSymbol())) { in checkDeadSymbols()
481 const MemRegion *Region = in checkEvent() local
483 if (!Region) in checkEvent()
608 if (!Region) in checkPreStmt()
700 if (!Region) in checkPreCall()
764 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()
184 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkAsyncExecutedBlockCaptures() local
191 if (isa<BlockDataRegion>(Region)) in checkAsyncExecutedBlockCaptures()
201 SourceRange Range = genName(Out, Region, C.getASTContext()); in checkAsyncExecutedBlockCaptures()
213 for (const MemRegion *Region : getCapturedStackRegions(B, C)) { in checkReturnedBlockCaptures() local
214 if (isArcManagedBlock(Region, C) || isNotInCurrentFrame(Region, C)) in checkReturnedBlockCaptures()
224 SourceRange Range = genName(Out, Region, C.getASTContext()); in checkReturnedBlockCaptures()
312 if (!isa<GlobalsSpaceRegion>(Region->getMemorySpace())) in checkEndFunction()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/events/
H A Devregion.c285 HandlerDesc = RegionObj->Region.Handler; in AcpiEvAddressSpaceDispatch()
494 HandlerObj = RegionObj->Region.Handler; in AcpiEvDetachRegion()
520 *LastObjPtr = ObjDesc->Region.Next; in AcpiEvDetachRegion()
590 RegionObj->Region.Handler = NULL; in AcpiEvDetachRegion()
598 LastObjPtr = &ObjDesc->Region.Next; in AcpiEvDetachRegion()
599 ObjDesc = ObjDesc->Region.Next; in AcpiEvDetachRegion()
649 if (RegionObj->Region.Handler) in AcpiEvAttachRegion()
664 RegionObj->Region.Handler = HandlerObj; in AcpiEvAttachRegion()
702 RegionObj->Region.Handler == NULL) in AcpiEvExecuteRegMethod()
718 Node = RegionObj->Region.Node->Parent; in AcpiEvExecuteRegMethod()
[all …]
H A Devrgnini.c220 LocalRegionContext->Length = RegionDesc->Region.Length; in AcpiEvSystemMemoryRegionSetup()
221 LocalRegionContext->Address = RegionDesc->Region.Address; in AcpiEvSystemMemoryRegionSetup()
303 HandlerObj = RegionObj->Region.Handler; in AcpiEvPciConfigRegionSetup()
325 ParentNode = RegionObj->Region.Node->Parent; in AcpiEvPciConfigRegionSetup()
393 if (RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE) in AcpiEvPciConfigRegionSetup()
413 PciDeviceNode = RegionObj->Region.Node; in AcpiEvPciConfigRegionSetup()
462 Status = AcpiHwDerivePciId (PciId, PciRootNode, RegionObj->Region.Node); in AcpiEvPciConfigRegionSetup()
701 Node = RegionObj->Region.Node->Parent; in AcpiEvInitializeRegion()
702 SpaceId = RegionObj->Region.SpaceId; in AcpiEvInitializeRegion()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGSort.cpp41 class Region { class
43 virtual ~Region() = default;
53 const T *Region; member in __anon676071ee0111::ConcreteRegion
56 ConcreteRegion(const T *Region) : Region(Region) {} in ConcreteRegion() argument
59 return Region->contains(MBB); in contains()
63 return Region->blocks(); in blocks()
75 std::vector<const Region *> Regions;
215 const Region *TheRegion;
357 const Region *Region = SUI.getRegionFor(&MBB); in SortBlocks() local
359 if (Region && &MBB == Region->getHeader()) { in SortBlocks()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp44 static void verifyBlocksInRegion(const VPRegionBlock *Region) { in verifyBlocksInRegion() argument
46 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
47 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
49 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent"); in verifyBlocksInRegion()
98 static void verifyRegion(const VPRegionBlock *Region) { in verifyRegion() argument
99 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
100 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
108 verifyBlocksInRegion(Region); in verifyRegion()
113 static void verifyRegionRec(const VPRegionBlock *Region) { in verifyRegionRec() argument
114 verifyRegion(Region); in verifyRegionRec()
[all …]
H A DVPlan.cpp63 Block = Region->getEntry(); in getEntryBasicBlock()
69 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getEntryBasicBlock() local
70 Block = Region->getEntry(); in getEntryBasicBlock()
78 Block = Region->getExit(); in getExitBasicBlock()
84 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getExitBasicBlock() local
85 Block = Region->getExit(); in getExitBasicBlock()
523 dumpRegion(Region); in dumpBlock()
586 OS << Indent << "subgraph " << getUID(Region) << " {\n"; in dumpRegion()
591 << DOT::EscapeString(Region->getName()) << "\"\n"; in dumpRegion()
598 dumpEdges(Region); in dumpRegion()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DSourceCoverageView.h32 CounterMappingRegion Region; member
35 ExpansionView(const CounterMappingRegion &Region, in ExpansionView()
37 : Region(Region), View(std::move(View)) {} in ExpansionView()
39 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
41 Region = std::move(RHS.Region);
46 unsigned getLine() const { return Region.LineStart; } in getLine()
47 unsigned getStartCol() const { return Region.ColumnStart; } in getStartCol()
48 unsigned getEndCol() const { return Region.ColumnEnd; } in getEndCol()
51 return LHS.Region.startLoc() < RHS.Region.startLoc();
252 void addExpansion(const CounterMappingRegion &Region,
H A DCoverageExporterJson.cpp63 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion() argument
64 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
65 Region.ColumnEnd, int64_t(Region.ExecutionCount), in renderRegion()
66 Region.FileID, Region.ExpandedFileID, in renderRegion()
67 int64_t(Region.Kind)}); in renderRegion()
72 for (const auto &Region : Regions) in renderRegions() local
73 RegionArray.push_back(renderRegion(Region)); in renderRegions()
81 {"source_region", renderRegion(Expansion.Region)}, in renderExpansion()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp372 void setRegionMRT(RegionMRT *Region) { RMRT = Region; } in setRegionMRT() argument
465 void setParent(RegionMRT *Region) { Parent = Region; } in setParent() argument
511 MachineRegion *Region; member in __anon98c1c4210211::RegionMRT
688 RegionMap[Region]->setSucc(Region->getExit()); in buildMRT()
1668 auto Exit = Region->getSucc(); in rewriteRegionExitPHIs()
1727 auto Exit = Region->getSucc(); in createLinearizedExitBlock()
2584 if (Region->contains(*PI)) { in removeOldExitPreds()
2637 removeOldExitPreds(Region); in structurizeComplexRegion()
2754 if (Region->isRoot()) { in structurizeComplexRegion()
2773 fixupRegionExits(Region); in structurizeRegion()
[all …]
H A DGCNIterativeScheduler.h59 struct Region { struct
72 SpecificBumpPtrAllocator<Region> Alloc; argument
73 std::vector<Region*> Regions;
83 GCNRegPressure getSchedulePressure(const Region &R,
89 GCNRegPressure getRegionPressure(const Region &R) const { in getRegionPressure()
93 void setBestSchedule(Region &R,
97 void scheduleBest(Region &R);
104 void scheduleRegion(Region &R, Range &&Schedule,
116 const Region *R,
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DRegionInfo.cpp49 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style",
54 clEnumValN(Region::PrintNone, "none", "print no details"),
55 clEnumValN(Region::PrintBB, "bb",
57 clEnumValN(Region::PrintRN, "rn",
64 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region
66 DominatorTree *DT, Region *Parent) : in Region()
71 Region::~Region() = default;
90 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
104 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp134 if (Region.size() > 1) in isProfitableToOutline()
138 const BasicBlock &BB = *Region[0]; in isProfitableToOutline()
242 assert(!Region.empty()); in extractColdRegion()
260 Function *OrigF = Region[0]->getParent(); in extractColdRegion()
279 &*Region[0]->begin()) in extractColdRegion()
288 &*Region[0]->begin()) in extractColdRegion()
290 << ore::NV("Block", Region.front()); in extractColdRegion()
503 if (Region.empty()) in outlineColdRegions()
506 if (Region.isEntireFunctionCold()) { in outlineColdRegions()
522 OutliningWorklist.emplace_back(std::move(Region)); in outlineColdRegions()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsopcode.c581 ObjDesc->Region.Address = (ACPI_PHYSICAL_ADDRESS) in AcpiDsEvalRegionOperands()
586 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalRegionOperands()
587 ObjDesc->Region.Length)); in AcpiDsEvalRegionOperands()
589 Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId, in AcpiDsEvalRegionOperands()
590 ObjDesc->Region.Address, ObjDesc->Region.Length, Node); in AcpiDsEvalRegionOperands()
594 ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID; in AcpiDsEvalRegionOperands()
696 ObjDesc->Region.Address = ACPI_PTR_TO_PHYSADDR (Table); in AcpiDsEvalTableRegionOperands()
697 ObjDesc->Region.Length = Table->Length; in AcpiDsEvalTableRegionOperands()
700 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalTableRegionOperands()
701 ObjDesc->Region.Length)); in AcpiDsEvalTableRegionOperands()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/executer/
H A Dexfield.c284 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExReadDataFromField()
285 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExReadDataFromField()
286 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExReadDataFromField()
333 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExReadDataFromField()
425 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExWriteDataToField()
433 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExWriteDataToField()
434 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExWriteDataToField()
435 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExWriteDataToField()
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 …]
H A Dexdump.c278 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Region.Flags), "Flags"},
280 {ACPI_EXD_ADDRESS, ACPI_EXD_OFFSET (Region.Address), "Address"},
281 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Region.Length), "Length"},
283 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Region.Next), "Next"}
679 while (Next->Region.Next) in AcpiExDumpObject()
687 Next = Next->Region.Next; in AcpiExDumpObject()
902 AcpiUtGetRegionName (ObjDesc->Region.SpaceId), in AcpiExDumpOperand()
903 ObjDesc->Region.SpaceId); in AcpiExDumpOperand()
909 if (!(ObjDesc->Region.Flags & AOPOBJ_DATA_VALID)) in AcpiExDumpOperand()
916 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiExDumpOperand()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DRegionPass.h50 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0;
64 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization()
85 bool skipRegion(Region &R) const;
90 std::deque<Region*> RQ;
94 Region *CurrentRegion;
H A DRegionInfo.h67 class Region; variable
90 using RegionT = Region;
882 class Region;
889 bool operator==(const Region &RN) const {
894 class Region : public RegionBase<RegionTraits<Function>> {
897 Region *Parent = nullptr);
898 ~Region();
928 void updateStatistics(Region *R) final;
1008 inline Region *
1009 RegionNodeBase<RegionTraits<Function>>::getNodeAs<Region>() const {
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp304 MappingRegions.push_back(Region); in gatherSkippedRegions()
341 if (Region.isGap()) { in emitSourceRegions()
573 if (Region.hasStartLoc()) { in popRegions()
612 Region.setStartLoc(StartLoc); in popRegions()
613 Region.setEndLoc(EndLoc); in popRegions()
624 SourceRegions.push_back(Region); in popRegions()
638 } else if (Region.isDeferred()) { in popRegions()
780 if (!Region.hasStartLoc()) in extendRegion()
781 Region.setStartLoc(StartLoc); in extendRegion()
791 if (!Region.hasEndLoc()) in terminateRegion()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp165 Region *R;
182 Region *getParentRegion() { in getParentRegion()
347 CHRScope *findScopes(Region *R, Region *NextRegion, Region *ParentRegion,
695 Region *R = RI.R; in getBranchInsertPoint()
873 Region *R = RI.R; in checkScopeHoistable()
971 CHRScope * CHR::findScopes(Region *R, Region *NextRegion, Region *ParentRegion, in findScopes()
1287 Region *R = RI.R; in classifyBiasedScopes()
1377 Region *R = RI.R; in setCHRRegions()
1463 Region *R = RI.R; in hoistScopeConditions()
1628 Region *R = RI.R; in assertBranchOrSelectConditionHoisted()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp185 Region *ParentRegion;
265 bool doInitialization(Region *R, RGPassManager &RGM) override;
267 bool runOnRegion(Region *R, RGPassManager &RGM) override;
311 Region *SubRegion = RN->getNodeAs<Region>(); in getAdjustedLoop()
321 Region *SubR = RN->getNodeAs<Region>(); in getAdjustedLoopDepth()
330 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); in orderNodes()
383 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
456 Region *R = RI->getRegionFor(P); in gatherPredicates()
678 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
960 for (auto BB : E->getNodeAs<Region>()->blocks()) { in hasOnlyUniformBranches()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/utilities/
H A Dutdelete.c347 if (!(Object->Region.Node->Flags & ANOBJ_TEMPORARY)) in AcpiUtDeleteInternalObj()
349 AcpiUtRemoveAddressRange (Object->Region.SpaceId, in AcpiUtDeleteInternalObj()
350 Object->Region.Node); in AcpiUtDeleteInternalObj()
361 HandlerDesc = Object->Region.Handler; in AcpiUtDeleteInternalObj()
374 *LastObjPtr = NextDesc->Region.Next; in AcpiUtDeleteInternalObj()
380 LastObjPtr = &NextDesc->Region.Next; in AcpiUtDeleteInternalObj()
381 NextDesc = NextDesc->Region.Next; in AcpiUtDeleteInternalObj()

1234