/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | primary64.h | 27 // Region actually starts at a random offset from its base. 34 // The 1st Region (for size class 0) holds the TransferBatches. This is a 71 RegionInfo *Region = getRegionInfo(I); local 73 Region->RegionBeg = 82 Region->CanRelease = (ReleaseToOsInterval >= 0) && 85 Region->RandState = getRandomU32(&Seed); 102 RegionInfo *Region = getRegionInfo(ClassId); local 103 ScopedLock L(Region->Mutex); 104 TransferBatch *B = Region->FreeList.front(); 106 Region 119 RegionInfo *Region = getRegionInfo(ClassId); local 150 const RegionInfo *Region = getRegionInfo(I); local 165 RegionInfo *Region = getRegionInfo(I); local 185 RegionInfo *Region = getRegionInfo(I); local 243 populateBatches(CacheT *C, RegionInfo *Region, uptr ClassId, TransferBatch **CurrentBatch, u32 MaxCount, void **PointersArray, u32 Count) argument 267 populateFreeList(CacheT *C, uptr ClassId, RegionInfo *Region) argument 347 RegionInfo *Region = getRegionInfo(ClassId); local 363 releaseToOSMaybe(RegionInfo *Region, uptr ClassId, bool Force = false) argument [all...] |
H A D | primary32.h | 235 uptr Region = MapBase; local 236 if (isAligned(Region, RegionSize)) { 243 Region = roundUpTo(MapBase, RegionSize); 244 unmap(reinterpret_cast<void *>(MapBase), Region - MapBase); 247 const uptr End = Region + MapSize; 250 return Region; 255 uptr Region = 0; local 259 Region = RegionsStash[--NumberOfStashedRegions]; 261 if (!Region) 262 Region 306 const uptr Region = allocateRegion(ClassId); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanVerifier.cpp | 42 /// \p Region. Checks in this function are generic for VPBlockBases. They are 44 static void verifyBlocksInRegion(const VPRegionBlock *Region) { argument 46 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), 47 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { 49 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent"); 96 /// Verify the CFG invariants of VPRegionBlock \p Region and its nested 98 static void verifyRegion(const VPRegionBlock *Region) { argument 99 const VPBlockBase *Entry = Region->getEntry(); 100 const VPBlockBase *Exit = Region->getExit(); 103 assert(!Entry->getNumPredecessors() && "Region entr 113 verifyRegionRec(const VPRegionBlock *Region) argument [all...] |
H A D | VPlanPredicator.h | 56 /// Create or propagate predicate for \p CurrBlock in region \p Region using 59 VPRegionBlock *Region); 61 /// Predicate the CFG within \p Region. 62 void predicateRegionRec(VPRegionBlock *Region); 64 /// Linearize the CFG within \p Region. 65 void linearizeRegionRec(VPRegionBlock *Region);
|
H A D | VPlanPredicator.cpp | 134 VPRegionBlock *Region) { 137 if (VPDomTree.dominates(CurrBlock, Region->getExit())) { 138 VPValue *RegionBP = Region->getPredicate(); 186 // Generate all predicates needed for Region. 187 void VPlanPredicator::predicateRegionRec(VPRegionBlock *Region) { argument 188 VPBasicBlock *EntryBlock = cast<VPBasicBlock>(Region->getEntry()); 197 createOrPropagatePredicates(Block, Region); 201 // Linearize the CFG within Region. 207 void VPlanPredicator::linearizeRegionRec(VPRegionBlock *Region) { argument 208 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | Move.h | 24 bool isMovedFrom(ProgramStateRef State, const MemRegion *Region);
|
H A D | PointerArithChecker.cpp | 50 const MemRegion *getArrayRegion(const MemRegion *Region, bool &Polymorphic, 52 const MemRegion *getPointedRegion(const MemRegion *Region, 105 PointerArithChecker::getPointedRegion(const MemRegion *Region, argument 107 assert(Region); 109 SVal S = State->getSVal(Region); 117 const MemRegion *PointerArithChecker::getArrayRegion(const MemRegion *Region, argument 121 assert(Region); 122 while (const auto *BaseRegion = dyn_cast<CXXBaseObjectRegion>(Region)) { 123 Region = BaseRegion->getSuperRegion(); 126 if (const auto *ElemRegion = dyn_cast<ElementRegion>(Region)) { 156 const MemRegion *Region = C.getSVal(E).getAsRegion(); local 229 const MemRegion *Region = SV.getAsRegion(); local 250 const MemRegion *Region = AllocedVal.getAsRegion(); local 266 const MemRegion *Region = CastedVal.getAsRegion(); local 284 const MemRegion *Region = CastedVal.getAsRegion(); local [all...] |
H A D | MoveChecker.cpp | 161 : Chk(Chk), Region(R), RD(RD), MK(MK), Found(false) {} 166 ID.AddPointer(Region); 180 const MemRegion *Region; member in class:__anon821::MoveChecker::MovedBugVisitor 211 void modelUse(ProgramStateRef State, const MemRegion *Region, 217 ExplodedNode *reportBug(const MemRegion *Region, const CXXRecordDecl *RD, 224 const MemRegion *Region, 235 bool isMovedFrom(ProgramStateRef State, const MemRegion *Region) { argument 236 const RegionState *RS = State->get<TrackedRegionMap>(Region); 245 const MemRegion *Region) { 246 if (!Region) 244 removeFromState(ProgramStateRef State, const MemRegion *Region) argument 255 isAnyBaseRegionReported(ProgramStateRef State, const MemRegion *Region) argument 333 getMoveLocation(const ExplodedNode *N, const MemRegion *Region, CheckerContext &C) const argument 350 modelUse(ProgramStateRef State, const MemRegion *Region, const CXXRecordDecl *RD, MisuseKind MK, CheckerContext &C) const argument 391 reportBug(const MemRegion *Region, const CXXRecordDecl *RD, CheckerContext &C, MisuseKind MK) const argument 690 const MemRegion *Region = E.first; local [all...] |
H A D | NullabilityChecker.cpp | 132 NullabilityBugVisitor(const MemRegion *M) : Region(M) {} 137 ID.AddPointer(Region); 146 const MemRegion *Region; member in class:__anon829::NullabilityChecker::NullabilityBugVisitor 155 ExplodedNode *N, const MemRegion *Region, 161 const MemRegion *Region, BugReporter &BR, 167 if (Region) { 168 R->markInteresting(Region); 169 R->addVisitor(std::make_unique<NullabilityBugVisitor>(Region)); 281 const MemRegion *Region = RegionSVal->getRegion(); local 284 if (auto FieldReg = Region 160 reportBug(StringRef Msg, ErrorKind Error, ExplodedNode *N, const MemRegion *Region, BugReporter &BR, const Stmt *ValueExpr = nullptr) const argument 433 reportBugIfInvariantHolds(StringRef Msg, ErrorKind Error, ExplodedNode *N, const MemRegion *Region, CheckerContext &C, const Stmt *ValueExpr, bool SuppressPath) const argument 456 const auto *Region = I->first->getAs<SymbolicRegion>(); local 478 const MemRegion *Region = local 604 const MemRegion *Region = getTrackRegion(*RetSVal); local 696 const MemRegion *Region = getTrackRegion(*ArgSVal); local 755 const MemRegion *Region = getTrackRegion(Call.getReturnValue()); local 947 const MemRegion *Region = getTrackRegion(*RegionSVal); local [all...] |
H A D | NonnullGlobalConstantsChecker.cpp | 97 auto *Region = dyn_cast<VarRegion>(RegionVal->getAsRegion()); 98 if (!Region) 100 const VarDecl *Decl = Region->getDecl();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNIterativeScheduler.h | 58 struct Region { struct in class:llvm::GCNIterativeScheduler 71 SpecificBumpPtrAllocator<Region> Alloc; 72 std::vector<Region*> Regions; 82 GCNRegPressure getSchedulePressure(const Region &R, 88 GCNRegPressure getRegionPressure(const Region &R) const { 92 void setBestSchedule(Region &R, 96 void scheduleBest(Region &R); 103 void scheduleRegion(Region &R, Range &&Schedule, 115 const Region *R,
|
H A D | AMDGPUMachineCFGStructurizer.cpp | 349 void storeLiveOutRegRegion(RegionMRT *Region, unsigned Reg, 362 void storeLiveOuts(RegionMRT *Region, const MachineRegisterInfo *MRI, 372 void setRegionMRT(RegionMRT *Region) { RMRT = Region; } 434 void initLiveOut(RegionMRT *Region, const MachineRegisterInfo *MRI, 465 void setParent(RegionMRT *Region) { Parent = Region; } 511 MachineRegion *Region; 517 RegionMRT(MachineRegion *MachineRegion) : Region(MachineRegion) { 541 MachineRegion *getMachineRegion() { return Region; } [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyCFGSort.cpp | 48 class Region { class in namespace:__anon2431 50 virtual ~Region() = default; 59 template <typename T> class ConcreteRegion : public Region { 60 const T *Region; member in class:__anon2431::ConcreteRegion 63 ConcreteRegion(const T *Region) : Region(Region) {} argument 64 MachineBasicBlock *getHeader() const override { return Region->getHeader(); } 66 return Region->contains(MBB); 68 unsigned getNumBlocks() const override { return Region 368 const Region *Region = RI.getRegionFor(&MBB); local [all...] |
/freebsd-11-stable/sys/contrib/dev/acpica/components/events/ |
H A D | evregion.c | 3 * Module Name: evregion - Operation Region support 285 HandlerDesc = RegionObj->Region.Handler; 289 "No handler for Region [%4.4s] (%p) [%s]", 290 AcpiUtGetNodeName (RegionObj->Region.Node), 291 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); 302 if (!(RegionObj->Region.Flags & AOPOBJ_SETUP_COMPLETE)) 313 RegionObj, AcpiUtGetRegionName (RegionObj->Region.SpaceId))); 331 /* Check for failure of the Region Setup */ 337 AcpiUtGetRegionName (RegionObj->Region.SpaceId))); 341 /* Region initializatio [all...] |
H A D | evrgnini.c | 172 * PARAMETERS: Handle - Region we are interested in 175 * RegionContext - Region specific context 226 LocalRegionContext->Length = RegionDesc->Region.Length; 227 LocalRegionContext->Address = RegionDesc->Region.Address; 238 * PARAMETERS: Handle - Region we are interested in 241 * RegionContext - Region specific context 276 * PARAMETERS: Handle - Region we are interested in 279 * RegionContext - Region specific context 309 HandlerObj = RegionObj->Region.Handler; 331 ParentNode = RegionObj->Region [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | RegionInfo.cpp | 49 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", 61 // Region implementation 64 Region::Region(BasicBlock *Entry, BasicBlock *Exit, function in class:Region 66 DominatorTree *DT, Region *Parent) : 71 Region::~Region() [all...] |
H A D | RegionPass.cpp | 1 //===- RegionPass.cpp - Region Pass and Region Pass Manager ---------------===// 40 static void addRegionIntoQueue(Region &R, std::deque<Region *> &RQ) { 67 for (Region *R : RQ) { 81 // Run all passes on the current Region. 112 // Region in the function every time. That level of checking can be 170 errs().indent(Offset*2) << "Region Pass Manager\n"; 195 bool runOnRegion(Region *R, RGPassManager &RGM) override { 207 StringRef getPassName() const override { return "Print Region I [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | RegionPass.h | 30 /// A pass that runs on each Region in a function. 41 /// Run the pass on a specific Region 48 /// @return True if the pass modifies this Region. 49 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0; 53 /// @param O The output stream to print the Region. 63 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } 84 bool skipRegion(Region &R) const; 89 std::deque<Region*> RQ; 93 Region *CurrentRegion; 108 StringRef getPassName() const override { return "Region Pas [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | SourceCoverageView.h | 31 CounterMappingRegion Region; member in struct:llvm::ExpansionView 34 ExpansionView(const CounterMappingRegion &Region, argument 36 : Region(Region), View(std::move(View)) {} 38 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} 40 Region = std::move(RHS.Region); 45 unsigned getLine() const { return Region.LineStart; } 46 unsigned getStartCol() const { return Region [all...] |
H A D | CoverageExporterJson.cpp | 27 // -- CountedRegion: dict => Single Region in the expansion 79 json::Array renderRegion(const coverage::CountedRegion &Region) { argument 80 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, 81 Region.ColumnEnd, clamp_uint64_to_int64(Region.ExecutionCount), 82 Region.FileID, Region.ExpandedFileID, 83 int64_t(Region [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | HotColdSplitting.cpp | 224 /// Get the benefit score of outlining \p Region. 225 static int getOutliningBenefit(ArrayRef<BasicBlock *> Region, argument 230 for (BasicBlock *BB : Region) 239 /// Get the penalty score for outlining \p Region. 240 static int getOutliningPenalty(ArrayRef<BasicBlock *> Region, argument 266 for (BasicBlock *BB : Region) { 275 if (find(Region, SuccBB) == Region.end()) { 284 LLVM_DEBUG(dbgs() << "Applying bonus for: " << Region.size() 286 Penalty -= Region 300 extractColdRegion( const BlockSequence &Region, const CodeExtractorAnalysisCache &CEAC, DominatorTree &DT, BlockFrequencyInfo *BFI, TargetTransformInfo &TTI, OptimizationRemarkEmitter &ORE, AssumptionCache *AC, unsigned Count) argument 624 OutliningRegion Region = OutliningWorklist.pop_back_val(); local [all...] |
/freebsd-11-stable/sys/contrib/dev/acpica/components/executer/ |
H A D | exfield.c | 290 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || 291 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || 292 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) 301 if (ObjDesc->Field.RegionObj->Region.SpaceId == 307 else if (ObjDesc->Field.RegionObj->Region.SpaceId == 388 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) 508 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || 509 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || 510 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI)) 535 if (ObjDesc->Field.RegionObj->Region [all...] |
H A D | exfldio.c | 194 * AcpiExInsertIntoField. Initialize the Region if necessary and 218 ACPI_ERROR ((AE_INFO, "Needed Region, found type 0x%X (%s)", 225 SpaceId = RgnDesc->Region.SpaceId; 237 * If the Region Address and Length have not been previously evaluated, 279 * (Region length is specified in bytes) 281 if (RgnDesc->Region.Length < 292 if (ACPI_ROUND_UP (RgnDesc->Region.Length, 302 if (RgnDesc->Region.Length < ObjDesc->CommonField.AccessByteWidth) 314 AcpiUtGetNodeName (RgnDesc->Region.Node), 315 RgnDesc->Region [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/ |
H A D | CodeRegion.cpp | 111 for (UniqueCodeRegion &Region : Regions) 112 if (Region->isLocInRange(Loc)) 113 Region->addInstruction(Instruction);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopWidening.cpp | 64 for (auto *Region : Regions) { 65 ITraits.setTrait(Region,
|