Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary64.h138 RegionInfo *Region = getRegionInfo(I); in init() local
140 initRegion(Region, I, RegionMemMap, Config::getEnableRandomOffset()); in init()
158 RegionInfo *Region = getRegionInfo(I); in unmapTestOnly() local
160 ScopedLock ML(Region->MMLock); in unmapTestOnly()
161 MemMapT MemMap = Region->MemMapInfo.MemMap; in unmapTestOnly()
165 *Region = {}; in unmapTestOnly()
177 RegionInfo *Region = getRegionInfo(I); in verifyAllBlocksAreReleasedTestOnly() local
178 ScopedLock ML(Region->MMLock); in verifyAllBlocksAreReleasedTestOnly()
179 ScopedLock FL(Region->FLLock); in verifyAllBlocksAreReleasedTestOnly()
182 for (BatchGroupT &BG : Region->FreeListInfo.BlockList) { in verifyAllBlocksAreReleasedTestOnly()
[all …]
H A Drelease.h195 // A Region page map is used to record the usage of pages in the regions. It in RegionPageMap()
257 uptr get(uptr Region, uptr I) const { in inc()
258 DCHECK_LT(Region, Regions); in inc()
262 return (Buffer.Data[Region * SizePerRegion + Index] >> BitOffset) & in incN() argument
266 void inc(uptr Region, uptr I) const { in incN()
267 DCHECK_LT(get(Region, I), CounterMask); in incN()
271 DCHECK_EQ(isAllCounted(Region, I), false); in incN()
272 Buffer.Data[Region * SizePerRegion + Index] += static_cast<uptr>(1U)
276 void incN(uptr Region, uptr I, uptr N) const { in incRange()
279 DCHECK_LE(get(Region, in incRange()
244 get(uptr Region,uptr I) get() argument
252 inc(uptr Region,uptr I) inc() argument
273 incRange(uptr Region,uptr From,uptr To) incRange() argument
284 setAsAllCounted(uptr Region,uptr I) setAsAllCounted() argument
291 setAsAllCountedRange(uptr Region,uptr From,uptr To) setAsAllCountedRange() argument
298 updateAsAllCountedIf(uptr Region,uptr I,uptr MaxCount) updateAsAllCountedIf() argument
308 isAllCounted(uptr Region,uptr I) isAllCounted() argument
[all...]
/freebsd/sys/contrib/dev/acpica/components/events/
H A Devregion.c289 HandlerDesc = RegionObj->Region.Handler; in AcpiEvAddressSpaceDispatch()
294 AcpiUtGetNodeName (RegionObj->Region.Node), in AcpiEvAddressSpaceDispatch()
295 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); in AcpiEvAddressSpaceDispatch()
308 if (!(RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE)) in AcpiEvAddressSpaceDispatch()
319 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); in AcpiEvAddressSpaceDispatch()
323 if (RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM) in AcpiEvAddressSpaceDispatch()
328 Ctx->Length = (UINT16) RegionObj->Region.Length; in AcpiEvAddressSpaceDispatch()
329 Ctx->SubspaceId = (UINT8) RegionObj->Region.Address; in AcpiEvAddressSpaceDispatch()
332 if (RegionObj->Region.SpaceId == ACPI_ADR_SPACE_FIXED_HARDWARE) in AcpiEvAddressSpaceDispatch()
336 Ctx->Length = RegionObj->Region.Length; in AcpiEvAddressSpaceDispatch()
[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()
653 LocalRegionContext->Pointer = RegionDesc->Region.Pointer; in AcpiEvDataTableRegionSetup()
761 Node = RegionObj->Region.Node->Parent; in AcpiEvInitializeRegion()
762 SpaceId = RegionObj->Region.SpaceId; in AcpiEvInitializeRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp549 collectRegionsConstants(OutlinableRegion &Region, in collectRegionsConstants() argument
554 IRSimilarityCandidate &C = *Region.Candidate; in collectRegionsConstants()
601 for (OutlinableRegion *Region : Regions) in findSameConstants()
602 collectRegionsConstants(*Region, GVNToConstant, NotSame); in findSameConstants()
866 OutlinableRegion &Region, std::vector<unsigned> &InputGVNs, in getCodeExtractorArguments() argument
869 IRSimilarityCandidate &C = *Region.Candidate; in getCodeExtractorArguments()
885 CodeExtractor *CE = Region.CE; in getCodeExtractorArguments()
887 assert(Region.StartBB && "Region must have a start BasicBlock!"); in getCodeExtractorArguments()
888 Function *OrigF = Region.StartBB->getParent(); in getCodeExtractorArguments()
895 Region.IgnoreRegion = true; in getCodeExtractorArguments()
[all …]
H A DHotColdSplitting.cpp285 static InstructionCost getOutliningBenefit(ArrayRef<BasicBlock *> Region, in getOutliningBenefit() argument
290 for (BasicBlock *BB : Region) in getOutliningBenefit()
300 static int getOutliningPenalty(ArrayRef<BasicBlock *> Region, in getOutliningPenalty() argument
314 for (BasicBlock *BB : Region) { in getOutliningPenalty()
323 if (!is_contained(Region, SuccBB)) { in getOutliningPenalty()
341 if (llvm::is_contained(Region, PN.getIncomingBlock(i))) { in getOutliningPenalty()
374 LLVM_DEBUG(dbgs() << "Applying bonus for: " << Region.size() in getOutliningPenalty()
376 Penalty -= Region.size(); in getOutliningPenalty()
392 const BlockSequence &Region, in isSplittingBeneficial() argument
394 assert(!Region.empty()); in isSplittingBeneficial()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp160 : Chk(Chk), Region(R), RD(RD), MK(MK), Found(false) {} in MovedBugVisitor()
165 ID.AddPointer(Region); in Profile()
179 const MemRegion *Region; member in __anona0b2285a0211::MoveChecker::MovedBugVisitor
210 void modelUse(ProgramStateRef State, const MemRegion *Region,
217 ExplodedNode *tryToReportBug(const MemRegion *Region, const CXXRecordDecl *RD,
224 const MemRegion *Region,
235 bool isMovedFrom(ProgramStateRef State, const MemRegion *Region) { in isMovedFrom() argument
236 const RegionState *RS = State->get<TrackedRegionMap>(Region); in isMovedFrom()
245 const MemRegion *Region) { in removeFromState() argument
246 if (!Region) in removeFromState()
[all …]
H A DNullabilityChecker.cpp144 NullabilityBugVisitor(const MemRegion *M) : Region(M) {} in NullabilityBugVisitor()
149 ID.AddPointer(Region); in Profile()
158 const MemRegion *Region; member in __anon414b416c0111::NullabilityChecker::NullabilityBugVisitor
167 ExplodedNode *N, const MemRegion *Region,
173 const MemRegion *Region, BugReporter &BR, in reportBug() argument
177 if (Region) { in reportBug()
178 R->markInteresting(Region); in reportBug()
179 R->addVisitor<NullabilityBugVisitor>(Region); in reportBug()
326 const MemRegion *Region = RegionSVal->getRegion(); in getTrackRegion() local
329 if (const SubRegion *FieldReg = Region->getAs<FieldRegion>()) { in getTrackRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp89 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion() argument
90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
91 Region.ColumnEnd, clamp_uint64_to_int64(Region.ExecutionCount), in renderRegion()
92 Region.FileID, Region.ExpandedFileID, in renderRegion()
93 int64_t(Region.Kind)}); in renderRegion()
96 json::Array renderBranch(const coverage::CountedRegion &Region) { in renderBranch() argument
98 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
99 clamp_uint64_to_int64(Region.ExecutionCount), in renderBranch()
100 clamp_uint64_to_int64(Region.FalseExecutionCount), Region.FileID, in renderBranch()
101 Region.ExpandedFileID, int64_t(Region.Kind)}); in renderBranch()
[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();
294 void addExpansion(const CounterMappingRegion &Region,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp330 void storeLiveOutRegRegion(RegionMRT *Region, Register Reg,
343 void storeLiveOuts(RegionMRT *Region, const MachineRegisterInfo *MRI,
353 void setRegionMRT(RegionMRT *Region) { RMRT = Region; } in setRegionMRT() argument
415 void initLiveOut(RegionMRT *Region, const MachineRegisterInfo *MRI,
446 void setParent(RegionMRT *Region) { Parent = Region; } in setParent() argument
492 MachineRegion *Region; member in __anon3d3c1dbc0211::RegionMRT
498 RegionMRT(MachineRegion *MachineRegion) : Region(MachineRegion) { in RegionMRT()
522 MachineRegion *getMachineRegion() { return Region; } in getMachineRegion()
534 dbgs() << "Region: " << (void *)Region; in dump()
643 MachineRegion *Region = RegionInfo->getRegionFor(MBB); in buildMRT() local
[all …]
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,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp46 bool verifyBlocksInRegion(const VPRegionBlock *Region);
50 bool verifyRegion(const VPRegionBlock *Region);
54 bool verifyRegionRec(const VPRegionBlock *Region);
250 bool VPlanVerifier::verifyBlocksInRegion(const VPRegionBlock *Region) { in verifyBlocksInRegion() argument
251 for (const VPBlockBase *VPB : vp_depth_first_shallow(Region->getEntry())) { in verifyBlocksInRegion()
253 if (VPB->getParent() != Region) { in verifyBlocksInRegion()
264 bool VPlanVerifier::verifyRegion(const VPRegionBlock *Region) { in verifyRegion() argument
265 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
266 const VPBlockBase *Exiting = Region->getExiting(); in verifyRegion()
278 return verifyBlocksInRegion(Region); in verifyRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionInfo.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",
62 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region
64 DominatorTree *DT, Region *Parent) : in Region()
69 Region::~Region() = default;
88 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
102 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
H A DRegionPass.cpp41 static void addRegionIntoQueue(Region &R, std::deque<Region *> &RQ) { in addRegionIntoQueue()
68 for (Region *R : RQ) { in runOnFunction()
191 bool runOnRegion(Region *R, RGPassManager &RGM) override { in runOnRegion()
279 static std::string getDescription(const Region &R) { in getDescription()
283 bool RegionPass::skipRegion(Region &R) const { in skipRegion()
/freebsd/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()
299 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_RT || in AcpiExReadDataFromField()
300 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_FIXED_HARDWARE)) in AcpiExReadDataFromField()
352 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExReadDataFromField()
360 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)) in AcpiExReadDataFromField()
462 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExWriteDataToField()
470 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExWriteDataToField()
471 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || 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()
302 if (RgnDesc->Region.Length < ObjDesc->CommonField.AccessByteWidth) 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()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionPass.h25 class Region; variable
48 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0;
62 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization()
83 bool skipRegion(Region &R) const;
88 std::deque<Region*> RQ;
90 Region *CurrentRegion;
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsopcode.c575 ObjDesc->Region.Length = (UINT32) OperandDesc->Integer.Value; in AcpiDsEvalRegionOperands()
580 if (!ObjDesc->Region.Length && (SpaceId < ACPI_NUM_PREDEFINED_REGIONS)) in AcpiDsEvalRegionOperands()
593 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()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp23 if (!Region.getDescription().empty()) in printRegionHeader()
24 RegionName = Region.getDescription(); in printRegionHeader()
36 if (!Region.getDescription().empty()) in getJSONReportRegion()
37 RegionName = Region.getDescription(); in getJSONReportRegion()
121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp135 RegInfo(Region *RegionIn) : R(RegionIn) {} in RegInfo()
136 Region *R = nullptr;
141 typedef DenseMap<Region *, DenseSet<Instruction *>> HoistStopMapTy;
153 Region *getParentRegion() { in getParentRegion()
155 Region *Parent = RegInfos[0].R->getParent(); in getParentRegion()
178 Region *LastRegion = RegInfos.back().R; in appendable()
213 CHRScope *split(Region *Boundary) { in split()
222 DenseSet<Region *> TailRegionSet; in split()
229 Region *Parent = Sub->getParentRegion(); in split()
268 DenseSet<Region *> TrueBiasedRegions;
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp378 for (auto &Region : SourceRegions) { in gatherFileIDs() local
379 SourceLocation Loc = Region.getBeginLoc(); in gatherFileIDs()
386 Region.setStartLoc(Loc); in gatherFileIDs()
387 Region.setEndLoc(EndLoc.value()); in gatherFileIDs()
393 auto EndLoc = SM.getSpellingLoc(Region.getEndLoc()); in gatherFileIDs()
396 Region.setStartLoc(Loc); in gatherFileIDs()
397 Region.setEndLoc(SM.getFileLoc(Region.getEndLoc())); in gatherFileIDs()
499 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local
504 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions()
505 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/fpga/
H A Dfpga-region.txt1 FPGA Region Device Tree Binding
9 - FPGA Region
39 Partial Reconfiguration Region (PRR)
108 When a DT overlay that targets an FPGA Region is applied, the FPGA Region will
117 When the overlay is removed, the child nodes will be removed and the FPGA Region
121 FPGA Region
125 Region brings together the elements needed to program on a running system and
136 An FPGA Region that exists in the live Device Tree reflects the current state.
138 Region, th
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp123 static NodeRef getEntryNode(Region *R) { in getEntryNode()
124 return {GraphTraits<Region *>::getEntryNode(R), nullptr}; in getEntryNode()
246 Region *ParentRegion;
321 void init(Region *R);
322 bool run(Region *R, DominatorTree *DT);
323 bool makeUniformRegion(Region *R, UniformityInfo &UA);
339 bool runOnRegion(Region *R, RGPassManager &RGM) override { in runOnRegion()
380 Order.resize(std::distance(GraphTraits<Region *>::nodes_begin(ParentRegion), in INITIALIZE_PASS_DEPENDENCY()
381 GraphTraits<Region *>::nodes_end(ParentRegion))); in INITIALIZE_PASS_DEPENDENCY()
436 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp357 const CounterMappingRegion &Region; member in __anondf0c3b9d0311::MCDCRecordProcessor
392 const CounterMappingRegion &Region, in MCDCRecordProcessor() argument
396 Region(Region), DecisionParams(Region.getDecisionParams()), in MCDCRecordProcessor()
520 return MCDCRecord(Region, std::move(ExecVectors), in processMCDCRecord()
529 const CounterMappingRegion &Region, in evaluateMCDCRegion() argument
532 MCDCRecordProcessor MCDCProcessor(Bitmap, Region, Branches, IsVersion11); in evaluateMCDCRegion()
612 for (const auto &Region : Record.MappingRegions) { in getMaxCounterID() local
613 MaxCounterID = std::max(MaxCounterID, Ctx.getMaxCounterID(Region.Count)); in getMaxCounterID()
626 for (const auto &Region : reverse(Record.MappingRegions)) { in getMaxBitmapSize() local
627 if (Region.Kind != CounterMappingRegion::MCDCDecisionRegion) in getMaxBitmapSize()
[all …]

123456