| /freebsd-src/sys/contrib/dev/acpica/compiler/ |
| H A D | aslprepkg.c | 178 UINT32 Count); 184 UINT32 Count, 196 UINT32 Count, 229 UINT32 Count; in ApCheckPackage() local 240 Count = (UINT32) Op->Asl.Value.Integer; in ApCheckPackage() 249 if (!Count) in ApCheckPackage() 297 if (Count < ExpectedCount) in ApCheckPackage() 301 else if (Count > ExpectedCount) in ApCheckPackage() 304 Count, ExpectedCount); in ApCheckPackage() 319 for (i = 0; i < Count; in ApCheckPackage() 536 UINT32 Count; ApCustomPackage() local 686 UINT32 Count; ApCheckPackageList() local 927 ApPackageTooSmall(const char * PredefinedName,ACPI_PARSE_OBJECT * Op,UINT32 Count,UINT32 ExpectedCount) ApPackageTooSmall() argument 985 ApPackageTooLarge(const char * PredefinedName,ACPI_PARSE_OBJECT * Op,UINT32 Count,UINT32 ExpectedCount) ApPackageTooLarge() argument [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | LEB128.h | 26 unsigned Count = 0; variable 33 Count++; 34 if (More || Count < PadTo) 40 if (Count < PadTo) { 42 for (; Count < PadTo - 1; ++Count) 45 Count++; 47 return Count; 54 unsigned Count = 0; variable 62 Count 82 unsigned Count = 0; global() variable 107 unsigned Count = 0; global() variable [all...] |
| H A D | DebugCounter.h | 101 int64_t Count; in isCounterSet() 110 return {Result->second.Count, Result->second.CurrChunkIdx}; in getCounterValue() 117 Counter.Count = State.Count; 171 int64_t Count = 0; 113 setCounterValue(unsigned ID,int64_t Count) setCounterValue() argument 168 int64_t Count = 0; global() member
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | allocator_common.h | 24 Count = N; in setFromArray() 25 memcpy(Batch, Array, sizeof(Batch[0]) * Count); in setFromArray() 28 DCHECK_LE(N, MaxNumCached - Count); in appendFromArray() 29 memcpy(Batch + Count, Array, sizeof(Batch[0]) * N); in appendFromArray() 31 Count = static_cast<u16>(Count + N); in appendFromArray() 34 DCHECK_LE(N, MaxNumCached - Count); in appendFromTransferBatch() 35 DCHECK_GE(B->Count, N); in appendFromTransferBatch() 37 memcpy(Batch + Count, B->Batch + (B->Count in appendFromTransferBatch() 61 u16 Count; global() member [all...] |
| H A D | local_cache.h | 43 if (C->Count == 0) { in allocate() 48 DCHECK_GT(C->Count, 0); in allocate() 54 CompactPtrT CompactP = C->Chunks[--C->Count]; in allocate() 65 const bool NeedToDrainCache = C->Count == C->MaxCount; in deallocate() 70 C->Chunks[C->Count++] = in deallocate() 80 if (PerClassArray[I].Count) in isEmpty() 90 while (PerClassArray[I].Count > 0) in drain() 93 while (PerClassArray[BatchClassId].Count > 0) in drain() 110 if (PerClassArray[I].Count == 0) in getStats() 122 static_cast<uptr>(PerClassArray[I].Count), in getStats() [all …]
|
| H A D | quarantine.h | 25 u32 Count; member 29 Count = 1; in init() 38 DCHECK_LT(Count, MaxCount); in push_back() 39 Batch[Count++] = Ptr; in push_back() 44 return Count + From->Count <= MaxCount; in canMerge() 48 DCHECK_LE(Count + From->Count, MaxCount); in merge() 51 for (uptr I = 0; I < From->Count; ++I) in merge() 52 Batch[Count + I] = From->Batch[I]; in merge() 53 Count += From->Count; in merge() 56 From->Count = 0; in merge() [all …]
|
| /freebsd-src/sys/contrib/dev/acpica/components/namespace/ |
| H A D | nsprepkg.c | 169 UINT32 Count); 185 UINT32 Count); 213 UINT32 Count; in AcpiNsCheckPackage() local 225 "%s Validating return Package of Type %X, Count %X\n", in AcpiNsCheckPackage() 227 ReturnObject->Package.Count)); in AcpiNsCheckPackage() 238 Count = ReturnObject->Package.Count; in AcpiNsCheckPackage() 244 if (!Count) in AcpiNsCheckPackage() 267 Status = AcpiNsCustomPackage (Info, Elements, Count); in AcpiNsCheckPackage() 278 if (Count < ExpectedCoun in AcpiNsCheckPackage() 540 AcpiNsCheckPackageList(ACPI_EVALUATE_INFO * Info,const ACPI_PREDEFINED_INFO * Package,ACPI_OPERAND_OBJECT ** Elements,UINT32 Count) AcpiNsCheckPackageList() argument 770 AcpiNsCustomPackage(ACPI_EVALUATE_INFO * Info,ACPI_OPERAND_OBJECT ** Elements,UINT32 Count) AcpiNsCustomPackage() argument [all...] |
| H A D | nsrepair2.c | 247 UINT32 Count, 551 for (i = 0; i < ReturnObject->Package.Count; i++) in AcpiNsRepair_CID() 591 * 4. Count must match the number of C state subpackages 615 OuterElementCount = ReturnObject->Package.Count - 1; in AcpiNsRepair_CST() 622 if ((*OuterElements)->Package.Count == 0) in AcpiNsRepair_CST() 795 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT() 806 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT() 886 OuterElementCount = ReturnObject->Package.Count; in AcpiNsRepair_PSS() 1009 OuterElementCount = ReturnObject->Package.Count; in AcpiNsCheckSortedList() 1037 if ((*OuterElements)->Package.Count < ExpectedCoun in AcpiNsCheckSortedList() 1099 AcpiNsSortList(ACPI_OPERAND_OBJECT ** Elements,UINT32 Count,UINT32 Index,UINT8 SortDirection) AcpiNsSortList() argument 1154 UINT32 Count; AcpiNsRemoveElement() local [all...] |
| /freebsd-src/sys/contrib/dev/acpica/components/utilities/ |
| H A D | utbuffer.c | 164 * Count - Amount to dump, in bytes 181 UINT32 Count, in AcpiUtDumpBuffer() argument 199 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBuffer() 206 while (i < Count) in AcpiUtDumpBuffer() 219 if (i + j >= Count) in AcpiUtDumpBuffer() 270 if (i + j >= Count) in AcpiUtDumpBuffer() 312 * Count - Amount to dump, in bytes 329 UINT32 Count, in AcpiUtDebugDumpBuffer() argument 342 AcpiUtDumpBuffer (Buffer, Count, Displa in AcpiUtDebugDumpBuffer() 371 AcpiUtDumpBufferToFile(ACPI_FILE File,UINT8 * Buffer,UINT32 Count,UINT32 Display,UINT32 BaseOffset) AcpiUtDumpBufferToFile() argument [all...] |
| H A D | utids.c | 373 UINT32 Count; in AcpiUtExecute_CID() local 398 Count = ObjDesc->Package.Count; in AcpiUtExecute_CID() 403 Count = 1; in AcpiUtExecute_CID() 408 for (i = 0; i < Count; i++) in AcpiUtExecute_CID() 438 (Count * sizeof (ACPI_PNP_DEVICE_ID)) + in AcpiUtExecute_CID() 451 ((ACPI_SIZE) Count * sizeof (ACPI_PNP_DEVICE_ID)); in AcpiUtExecute_CID() 455 for (i = 0; i < Count; i++) in AcpiUtExecute_CID() 480 CidList->Count = Count; in AcpiUtExecute_CID() 520 UINT32 Count; AcpiUtExecute_CLS() local [all...] |
| H A D | utmath.c | 239 * Count - 32-bit shift count 249 UINT32 Count, in AcpiUtShortShiftLeft() argument 260 if ((Count & 63) >= 32) in AcpiUtShortShiftLeft() 264 Count = (Count & 63) - 32; in AcpiUtShortShiftLeft() 267 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftLeft() 284 * Count - 32-bit shift count 294 UINT32 Count, in AcpiUtShortShiftRight() argument 305 if ((Count & 63) >= 32) in AcpiUtShortShiftRight() 309 Count in AcpiUtShortShiftRight() 368 AcpiUtShortShiftLeft(UINT64 Operand,UINT32 Count,UINT64 * OutResult) AcpiUtShortShiftLeft() argument 398 AcpiUtShortShiftRight(UINT64 Operand,UINT32 Count,UINT64 * OutResult) AcpiUtShortShiftRight() argument [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 123 uint64_t Count = I.second.getSamples(); in addRecord() local 124 addCount(Count); in addRecord() 141 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local 153 Count = Iter->first; in computeDetailedSummary() 155 CurrSum += (Count * Freq); in computeDetailedSummary() 160 ProfileSummaryEntry PSE = {Cutoff, Count, CountsSeen}; in computeDetailedSummary() 226 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) { in addEntryCount() argument 227 assert(Count <= getInstrMaxCountValue() && in addEntryCount() 230 addCount(Count); in addEntryCount() 231 if (Count > MaxFunctionCount) in addEntryCount() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 324 const uint64_t Count; 336 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in promoteIndirectCalls() 428 uint64_t Count = ValueDataRef[I].Count; 429 assert(Count <= TotalCount); 432 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count 486 << NV("Count", Count) << ": " << Reason; 491 Ret.push_back(PromotionCandidate(TargetFunction, Count)); 125 const uint64_t Count; global() member 175 uint64_t Count = ValueDataRef[I].Count; getPromotionCandidatesForCallSite() local 245 promoteIndirectCall(CallBase & CB,Function * DirectCallee,uint64_t Count,uint64_t TotalCount,bool AttachProfToDirectCall,OptimizationRemarkEmitter * ORE) promoteIndirectCall() argument 282 uint64_t Count = C.Count; tryToPromote() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 199 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock() local 200 return Count && isHotCount(*Count); in isHotBlock() 206 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock() local 207 return Count && isColdCount(*Count); in isColdBlock() 212 auto Count = BFI->getProfileCountFromFreq(BlockFreq); in isColdBlock() local 213 return Count && isColdCount(*Count); in isColdBlock() 307 auto Count = BFI->getBlockProfileCount(BB); in isHotOrColdBlockNthPercentile() local 309 return Count && isHotCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile() 311 return Count && isColdCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile() 318 auto Count = BFI->getProfileCountFromFreq(BlockFreq); in isHotOrColdBlockNthPercentile() local [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.cpp | 52 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count, in isPromotionProfitable() argument 55 return Count * 100 >= ICPRemainingPercentThreshold * RemainingCount && in isPromotionProfitable() 56 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable() 70 uint64_t Count = ValueDataArray[I].Count; in getProfitablePromotionCandidates() 71 assert(Count <= RemainingCount); in getProfitablePromotionCandidates() 72 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getProfitablePromotionCandidates() local 75 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates() 79 RemainingCount -= Count; in getProfitablePromotionCandidates() [all...] |
| /freebsd-src/sys/dev/pms/RefTisa/sallsdk/spc/ |
| H A D | sallist.h | 65 bit32 Count; member 101 (pList)->Count = 0; \ 107 (pList)->Count = 0; \ 180 (pList)->Count ++; \ 189 (pList)->Count ++; \ 230 (pList)->Count ++; \ 271 (pList)->Count --; \ 278 (pList)->Count --; \ 358 #define saLlistGetCount(pList) ((pList)->Count) 360 #define saLlistIOGetCount(pList) ((pList)->Count)
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 65 inline void addCount(uint64_t Count); 82 inline void addEntryCount(uint64_t Count); 83 inline void addInternalCount(uint64_t Count); 106 void ProfileSummaryBuilder::addCount(uint64_t Count) { in addCount() argument 107 TotalCount += Count; in addCount() 108 if (Count > MaxCount) in addCount() 109 MaxCount = Count; in addCount() 111 CountFrequencies[Count]++; in addCount()
|
| /freebsd-src/sys/contrib/dev/acpica/include/ |
| H A D | acclib.h | 242 ACPI_SIZE Count); 248 ACPI_SIZE Count); 254 ACPI_SIZE Count); 277 ACPI_SIZE Count); 283 ACPI_SIZE Count); 289 ACPI_SIZE Count); 295 ACPI_SIZE Count); 395 ACPI_SIZE Count, 402 ACPI_SIZE Count,
|
| /freebsd-src/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | xray-graph.h | 43 int64_t Count; member 168 return {A.Count + B.Count, A.Min + B.Min, A.Median + B.Median, 177 return {A.Count - B.Count, A.Min - B.Min, A.Median - B.Median, 186 return {static_cast<int64_t>(A.Count / B), 198 return {static_cast<int64_t>(A.Count * B), 216 return {A.Count * B.Count, A.Min * B.Min, A.Median * B.Median, 224 return {A.Count / B.Count, A.Min / B.Min, A.Median / B.Median,
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 206 UP.Count = 0; in gatherUnrollingPreferences() 270 UP.Count = *UserCount; in gatherUnrollingPreferences() 735 return static_cast<uint64_t>(LS - UP.BEInsns) * UP.Count + UP.BEInsns; in unrollCountPragmaValue() 770 unsigned Count = in shouldPragmaUnroll() 772 assert(Count >= 1 && "Unroll count must be positive."); in shouldPragmaUnroll() 773 return Count; in shouldPragmaUnroll() 879 unsigned count = UP.Count; in computeUnrollCount() 892 // If there is no Count that is modulo of TripCount, set Count to in computeUnrollCount() 915 // Calculates unroll count and writes it to UP.Count in computeUnrollCount() 733 unsigned Count = unrollCountPragmaValue() local 1370 LoopUnroll(int OptLevel=2,bool OnlyWhenForced=false,bool ForgetAllSCEV=false,std::optional<unsigned> Threshold=std::nullopt,std::optional<unsigned> Count=std::nullopt,std::optional<bool> AllowPartial=std::nullopt,std::optional<bool> Runtime=std::nullopt,std::optional<bool> UpperBound=std::nullopt,std::optional<bool> AllowPeeling=std::nullopt,std::optional<bool> AllowProfileBasedPeeling=std::nullopt,std::optional<unsigned> ProvidedFullUnrollMaxCount=std::nullopt) LoopUnroll() argument [all...] |
| H A D | LoopUnrollAndJamPass.cpp | 133 unsigned Count = in unrollAndJamCountPragmaValue() local 135 assert(Count >= 1 && "Unroll count must be positive."); in unrollAndJamCountPragmaValue() 136 return Count; in unrollAndJamCountPragmaValue() 146 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize() 149 // Calculates unroll and jam count and writes it to UP.Count. Returns true if 177 UP.Count = 0; in computeUnrollAndJamCount() 181 // Override with any explicit Count from the "unroll-and-jam-count" option. in computeUnrollAndJamCount() 184 UP.Count = UnrollAndJamCount; in computeUnrollAndJamCount() 196 UP.Count = PragmaCount; in computeUnrollAndJamCount() 219 UP.Count in computeUnrollAndJamCount() [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseUtil.cpp | 86 unsigned &Count = SampleCoverage[FS][Loc]; in markSamplesUsed() local 87 bool FirstTime = (++Count == 1); in markSamplesUsed() 103 unsigned Count = (I != SampleCoverage.end()) ? I->second.size() : 0; in countUsedRecords() local 112 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords() 115 return Count; in countUsedRecords() 124 unsigned Count = FS->getBodySamples().size(); in countBodyRecords() local 131 Count += countBodyRecords(CalleeSamples, PSI); in countBodyRecords() 134 return Count; in countBodyRecords()
|
| /freebsd-src/contrib/bearssl/T0/ |
| H A D | WordBuilder.cs | 77 if (jumpToLast || code[code.Count - 1].MayFallThrough) { in Build() 80 Word w = new WordInterpreted(TC, name, locals.Count, in Build() 141 CSPush(code.Count); in CSPushOrig() 150 CSPush(-code.Count - 1); in CSPushDest() 278 locals[lname] = locals.Count; in DefLocal() 341 code[x].ResolveJump(code.Count - x - 1); in Then() 361 Add(new OpcodeJumpUncond(x - code.Count - 1)); in Again() 372 Add(new OpcodeJumpIf(x - code.Count - 1)); in AgainIf() 383 Add(new OpcodeJumpIfNot(x - code.Count - 1)); in AgainIfNot()
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cpp | 30 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) { in allocControlBlock() argument 32 allocateBuffer((sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in allocControlBlock() 38 size_t Count) { in deallocControlBlock() argument 40 (sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in deallocControlBlock() 43 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) { in decRefCount() argument 47 deallocControlBlock(C, Size, Count); in decRefCount() 133 Buf.Count = BufferCount; in init() 192 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer() 193 decRefCount(Buf.ExtentsBackingStore, kExtentsSize, Buf.Count); in releaseBuffer() 210 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer() [all …]
|
| /freebsd-src/sys/contrib/dev/acpica/components/resources/ |
| H A D | rsdump.c | 250 UINT32 Count = 0; in AcpiRsDumpResourceList() 268 AcpiOsPrintf ("\n[%02X] ", Count); in AcpiRsDumpResourceList() 269 Count++; in AcpiRsDumpResourceList() 337 UINT8 Count; in AcpiRsDumpIrqList() 354 for (Count = 0; PrtElement->Length; Count++) in AcpiRsDumpIrqList() 356 AcpiOsPrintf ("\n[%02X] PCI IRQ Routing Table Package\n", Count); in AcpiRsDumpIrqList() 386 UINT8 Count; in AcpiRsDumpDescriptor() 391 Count = Table->Offset; in AcpiRsDumpDescriptor() 393 while (Count) in AcpiRsDumpDescriptor() 249 UINT32 Count = 0; AcpiRsDumpResourceList() local 336 UINT8 Count; AcpiRsDumpIrqList() local 385 UINT8 Count; AcpiRsDumpDescriptor() local [all...] |