Home
last modified time | relevance | path

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

123

/NextBSD/sys/contrib/dev/acpica/components/events/
HDevregion.c173 HandlerDesc = RegionObj->Region.Handler; in AcpiEvAddressSpaceDispatch()
178 AcpiUtGetNodeName (RegionObj->Region.Node), in AcpiEvAddressSpaceDispatch()
179 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); in AcpiEvAddressSpaceDispatch()
190 if (!(RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE)) in AcpiEvAddressSpaceDispatch()
201 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); in AcpiEvAddressSpaceDispatch()
225 AcpiUtGetRegionName (RegionObj->Region.SpaceId))); in AcpiEvAddressSpaceDispatch()
231 if (!(RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE)) in AcpiEvAddressSpaceDispatch()
233 RegionObj->Region.Flags |= AOPOBJ_SETUP_COMPLETE; in AcpiEvAddressSpaceDispatch()
249 Address = (RegionObj->Region.Address + RegionOffset); in AcpiEvAddressSpaceDispatch()
265 if ((RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS) && in AcpiEvAddressSpaceDispatch()
[all …]
HDevrgnini.c117 LocalRegionContext->Length = RegionDesc->Region.Length; in AcpiEvSystemMemoryRegionSetup()
118 LocalRegionContext->Address = RegionDesc->Region.Address; in AcpiEvSystemMemoryRegionSetup()
200 HandlerObj = RegionObj->Region.Handler; in AcpiEvPciConfigRegionSetup()
222 ParentNode = RegionObj->Region.Node->Parent; in AcpiEvPciConfigRegionSetup()
290 if (RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE) in AcpiEvPciConfigRegionSetup()
310 PciDeviceNode = RegionObj->Region.Node; in AcpiEvPciConfigRegionSetup()
359 Status = AcpiHwDerivePciId (PciId, PciRootNode, RegionObj->Region.Node); in AcpiEvPciConfigRegionSetup()
594 Node = RegionObj->Region.Node->Parent; in AcpiEvInitializeRegion()
595 SpaceId = RegionObj->Region.SpaceId; in AcpiEvInitializeRegion()
599 RegionObj->Region.Handler = NULL; in AcpiEvInitializeRegion()
/NextBSD/contrib/llvm/tools/llvm-cov/
HDSourceCoverageView.h28 coverage::CounterMappingRegion Region; member
31 ExpansionView(const coverage::CounterMappingRegion &Region, in ExpansionView()
33 : Region(Region), View(std::move(View)) {} in ExpansionView()
35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
37 Region = std::move(RHS.Region);
42 unsigned getLine() const { return Region.LineStart; } in getLine()
43 unsigned getStartCol() const { return Region.ColumnStart; } in getStartCol()
44 unsigned getEndCol() const { return Region.ColumnEnd; } in getEndCol()
47 return LHS.Region.startLoc() < RHS.Region.startLoc();
143 void addExpansion(const coverage::CounterMappingRegion &Region, in addExpansion() argument
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDRegionInfo.cpp47 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style",
52 clEnumValN(Region::PrintNone, "none", "print no details"),
53 clEnumValN(Region::PrintBB, "bb",
55 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() { } in ~Region()
86 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
100 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
HDRegionPass.cpp40 static void addRegionIntoQueue(Region &R, std::deque<Region *> &RQ) { in addRegionIntoQueue()
67 for (std::deque<Region *>::const_iterator I = RQ.begin(), E = RQ.end(); in runOnFunction()
69 Region *R = *I; in runOnFunction()
200 bool runOnRegion(Region *R, RGPassManager &RGM) override { in runOnRegion()
HDRegionPrinter.cpp86 Region *R = RI.getRegionFor(destBB); in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, in printRegionCluster()
121 for (Region::const_iterator RI = R.begin(), RE = R.end(); RI != RE; ++RI) in printRegionCluster()
/NextBSD/contrib/llvm/lib/ProfileData/
HDCoverageMapping.cpp220 for (const auto &Region : Record.MappingRegions) { in load() local
221 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load()
224 Function.pushRegion(Region, *ExecutionCount); in load()
292 const CountedRegion &Region) { in startSegment() argument
303 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment()
304 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment()
305 Segments.back().setCount(Region.ExecutionCount); in startSegment()
311 void startSegment(const CountedRegion &Region) { in startSegment() argument
312 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment()
331 for (const auto &Region : Regions) { in buildSegments() local
[all …]
/NextBSD/sys/contrib/dev/acpica/components/executer/
HDexfield.c182 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExReadDataFromField()
183 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExReadDataFromField()
184 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExReadDataFromField()
192 if (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS) in AcpiExReadDataFromField()
197 else if (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS) in AcpiExReadDataFromField()
275 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExReadDataFromField()
394 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExWriteDataToField()
395 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExWriteDataToField()
396 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) in AcpiExWriteDataToField()
418 if (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS) in AcpiExWriteDataToField()
[all …]
HDexfldio.c117 SpaceId = RgnDesc->Region.SpaceId; in AcpiExSetupRegion()
172 if (RgnDesc->Region.Length < in AcpiExSetupRegion()
183 if (ACPI_ROUND_UP (RgnDesc->Region.Length, in AcpiExSetupRegion()
193 if (RgnDesc->Region.Length < ObjDesc->CommonField.AccessByteWidth) in AcpiExSetupRegion()
204 AcpiUtGetNodeName (RgnDesc->Region.Node), in AcpiExSetupRegion()
205 RgnDesc->Region.Length)); in AcpiExSetupRegion()
217 AcpiUtGetNodeName (RgnDesc->Region.Node), in AcpiExSetupRegion()
218 RgnDesc->Region.Length)); in AcpiExSetupRegion()
293 AcpiUtGetRegionName (RgnDesc->Region.SpaceId), in AcpiExAccessRegion()
294 RgnDesc->Region.SpaceId, in AcpiExAccessRegion()
[all …]
HDexdump.c169 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Region.SpaceId), "Space Id"},
170 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Region.Flags), "Flags"},
171 {ACPI_EXD_NODE, ACPI_EXD_OFFSET (Region.Node), "Parent Node"},
172 {ACPI_EXD_ADDRESS, ACPI_EXD_OFFSET (Region.Address), "Address"},
173 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Region.Length), "Length"},
174 {ACPI_EXD_HDLR_LIST,ACPI_EXD_OFFSET (Region.Handler), "Handler"},
175 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Region.Next), "Next"}
558 while (Next->Region.Next) in AcpiExDumpObject()
566 Next = Next->Region.Next; in AcpiExDumpObject()
774 AcpiUtGetRegionName (ObjDesc->Region.SpaceId), in AcpiExDumpOperand()
[all …]
HDexcreate.c364 ObjDesc->Region.SpaceId = SpaceId; in AcpiExCreateRegion()
365 ObjDesc->Region.Address = 0; in AcpiExCreateRegion()
366 ObjDesc->Region.Length = 0; in AcpiExCreateRegion()
367 ObjDesc->Region.Node = Node; in AcpiExCreateRegion()
/NextBSD/contrib/llvm/include/llvm/Support/
HDFileOutputBuffer.h46 return (uint8_t*)Region->data(); in getBufferStart()
51 return (uint8_t*)Region->data() + Region->size(); in getBufferEnd()
56 return Region->size(); in getBufferSize()
83 std::unique_ptr<llvm::sys::fs::mapped_file_region> Region; variable
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCoverageMappingGen.cpp50 SourceMappingRegion(SourceMappingRegion &&Region) in SourceMappingRegion() argument
51 : Count(std::move(Region.Count)), LocStart(std::move(Region.LocStart)), in SourceMappingRegion()
52 LocEnd(std::move(Region.LocEnd)) {} in SourceMappingRegion()
168 for (const auto &Region : SourceRegions) { in gatherFileIDs() local
169 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs()
241 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local
245 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions()
246 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
247 MappingRegions.push_back(Region); in gatherSkippedRegions()
254 for (const auto &Region : SourceRegions) { in emitSourceRegions() local
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDRegionInfo.h69 class Region; variable
81 typedef Region RegionT;
816 class Region;
820 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false)
823 bool operator==(const Region &RN) const {
828 class Region : public RegionBase<RegionTraits<Function>> {
830 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo *RI, DominatorTree *DT,
831 Region *Parent = nullptr);
832 ~Region();
846 void updateStatistics(Region *R) final;
[all …]
HDRegionPass.h50 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0;
64 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization()
85 std::deque<Region*> RQ;
89 Region *CurrentRegion;
HDRegionIterator.h305 RegionNodeGraphTraits(RegionNode, BasicBlock, Region);
306 RegionNodeGraphTraits(const RegionNode, BasicBlock, Region);
308 RegionGraphTraits(Region, RegionNode);
309 RegionGraphTraits(const Region, const RegionNode);
317 return GraphTraits<FlatIt<Region*> >::getEntryNode(RI->getTopLevelRegion());
/NextBSD/sys/contrib/dev/acpica/components/dispatcher/
HDdsopcode.c465 ObjDesc->Region.Length = (UINT32) OperandDesc->Integer.Value; in AcpiDsEvalRegionOperands()
474 ObjDesc->Region.Address = (ACPI_PHYSICAL_ADDRESS) in AcpiDsEvalRegionOperands()
480 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalRegionOperands()
481 ObjDesc->Region.Length)); in AcpiDsEvalRegionOperands()
485 ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID; in AcpiDsEvalRegionOperands()
588 ObjDesc->Region.Address = ACPI_PTR_TO_PHYSADDR (Table); in AcpiDsEvalTableRegionOperands()
589 ObjDesc->Region.Length = Table->Length; in AcpiDsEvalTableRegionOperands()
592 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiDsEvalTableRegionOperands()
593 ObjDesc->Region.Length)); in AcpiDsEvalTableRegionOperands()
597 ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID; in AcpiDsEvalTableRegionOperands()
HDdsargs.c403 if (ObjDesc->Region.Flags & AOPOBJ_DATA_VALID) in AcpiDsGetRegionArguments()
416 Node = ObjDesc->Region.Node; in AcpiDsGetRegionArguments()
432 Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId, in AcpiDsGetRegionArguments()
433 ObjDesc->Region.Address, ObjDesc->Region.Length, in AcpiDsGetRegionArguments()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDMacOSKeychainAPIChecker.cpp40 SymbolRef Region; member
44 Region(R) {} in AllocationState()
48 Region == X.Region); in operator ==()
53 ID.AddPointer(Region); in Profile()
125 R->markInteresting(AP.second->Region); in markInteresting()
301 if (!definitelyReturnedError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt()
319 Report->markInteresting(AS->Region); in checkPreStmt()
376 Report->markInteresting(AS->Region); in checkPreStmt()
433 !definitelyDidnotReturnError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt()
442 Report->markInteresting(AS->Region); in checkPreStmt()
[all …]
HDDynamicTypePropagation.cpp46 static void recordFixedType(const MemRegion *Region, const CXXMethodDecl *MD, in recordFixedType() argument
48 assert(Region); in recordFixedType()
55 State = State->setDynamicTypeInfo(Region, Ty, /*CanBeSubclass=*/false); in recordFixedType()
/NextBSD/sys/contrib/dev/acpica/components/utilities/
HDutdelete.c238 if (!(Object->Region.Node->Flags & ANOBJ_TEMPORARY)) in AcpiUtDeleteInternalObj()
240 AcpiUtRemoveAddressRange (Object->Region.SpaceId, in AcpiUtDeleteInternalObj()
241 Object->Region.Node); in AcpiUtDeleteInternalObj()
252 HandlerDesc = Object->Region.Handler; in AcpiUtDeleteInternalObj()
265 *LastObjPtr = NextDesc->Region.Next; in AcpiUtDeleteInternalObj()
271 LastObjPtr = &NextDesc->Region.Next; in AcpiUtDeleteInternalObj()
272 NextDesc = NextDesc->Region.Next; in AcpiUtDeleteInternalObj()
/NextBSD/contrib/llvm/include/llvm/ProfileData/
HDCoverageMapping.h266 void pushRegion(CounterMappingRegion Region, uint64_t Count) { in pushRegion()
269 CountedRegions.emplace_back(Region, Count); in pushRegion()
316 const CountedRegion &Region; member
320 ExpansionRecord(const CountedRegion &Region, in ExpansionRecord()
322 : FileID(Region.ExpandedFileID), Region(Region), Function(Function) {} in ExpansionRecord()
/NextBSD/sys/contrib/dev/acpica/components/namespace/
HDnsdump.c387 AcpiUtGetRegionName (ObjDesc->Region.SpaceId)); in AcpiNsDumpOneObject()
388 if (ObjDesc->Region.Flags & AOPOBJ_DATA_VALID) in AcpiNsDumpOneObject()
391 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), in AcpiNsDumpOneObject()
392 ObjDesc->Region.Length); in AcpiNsDumpOneObject()
420 ObjDesc->CommonField.RegionObj->Region.Node)); in AcpiNsDumpOneObject()
427 ObjDesc->CommonField.RegionObj->Region.Node), in AcpiNsDumpOneObject()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDStructurizeCFG.cpp170 Region *ParentRegion;
244 bool doInitialization(Region *R, RGPassManager &RGM) override;
246 bool runOnRegion(Region *R, RGPassManager &RGM) override;
274 bool StructurizeCFG::doInitialization(Region *R, RGPassManager &RGM) { in INITIALIZE_PASS_DEPENDENCY()
288 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); in orderNodes()
352 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
436 Region *R = RI->getRegionFor(*PI); in gatherPredicates()
655 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
922 bool StructurizeCFG::runOnRegion(Region *R, RGPassManager &RGM) { in runOnRegion()
/NextBSD/contrib/llvm/lib/Support/
HDFileOutputBuffer.cpp31 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {} in FileOutputBuffer()
106 Region.reset(); in commit()

123