Home
last modified time | relevance | path

Searched refs:Cnt (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h74 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks() local
75 if (Cnt) in GetNumberOfCoveredBlocks()
88 for (auto Cnt : Counters) in NumberOfCoveredBlocks() local
89 if (Cnt) in NumberOfCoveredBlocks()
102 for (auto Cnt : Counters) in SmallestNonZeroCounter() local
103 if (Cnt) in SmallestNonZeroCounter()
104 Res = Min(Res, Cnt); in SmallestNonZeroCounter()
/llvm-project-15.0.7/clang/tools/scan-build/libexec/
H A Dccc-analyzer536 my $Cnt = $CompileOptionMap{$ArgKey};
538 while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
549 my $Cnt = $LinkerOptionMap{$ArgKey};
551 while ($Cnt > 0) { ++$i; --$Cnt; push @LinkOpts, $ARGV[$i]; }
558 my $Cnt = $CompilerLinkerOptionMap{$ArgKey};
564 $i += $Cnt;
574 while ($Cnt > 0) {
575 ++$i; --$Cnt;
585 my $Cnt = $IgnoredOptionMap{$ArgKey};
586 while ($Cnt > 0) {
[all …]
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/
H A DPerfHelperTest.cpp29 Counter Cnt(std::move(Event)); in TEST() local
30 Cnt.start(); in TEST()
31 Cnt.stop(); in TEST()
32 Cnt.read(); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/
H A DTrigramIndex.cpp32 unsigned Cnt = 0; in insert() local
70 Cnt++; in insert()
77 if (!Cnt) { in insert()
83 Counts.push_back(Cnt); in insert()
/llvm-project-15.0.7/clang/include/clang/Analysis/Support/
H A DBumpVector.h172 iterator insert(iterator I, size_t Cnt, const_reference E, in insert() argument
175 if (End + Cnt <= Capacity) { in insert()
177 move_range_right(I, End, Cnt); in insert()
178 construct_range(I, I + Cnt, E); in insert()
179 End += Cnt; in insert()
180 return I + Cnt; in insert()
183 grow(C, size() + Cnt); in insert()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h83 unsigned Cnt;
112 : Cnt(cnt), ACnt(acnt), T(t), RawKind(static_cast<unsigned>(k)), in RefVal()
127 unsigned getCount() const { return Cnt; } in getCount()
129 unsigned getCombinedCounts() const { return Cnt + ACnt; } in getCombinedCounts()
131 Cnt = 0; in clearCounts()
135 Cnt = i; in setCount()
218 return getKind() == X.getKind() && Cnt == X.Cnt && ACnt == X.ACnt && in hasSameState()
229 ID.AddInteger(Cnt); in Profile()
H A DRetainCountChecker.cpp1221 unsigned Cnt = V.getCount(); in handleAutoreleaseCounts() local
1226 ++Cnt; in handleAutoreleaseCounts()
1230 if (ACnt > Cnt && in handleAutoreleaseCounts()
1236 if (ACnt <= Cnt) { in handleAutoreleaseCounts()
1237 if (ACnt == Cnt) { in handleAutoreleaseCounts()
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DArchitectureSet.cpp30 size_t Cnt = 0; in count() local
33 ++Cnt; in count()
34 return Cnt; in count()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dversioninfo.test257 # GNU-NEXT: 0x0000: Rev: 1 Flags: none Index: 0 Cnt: 1 Name: VERSION1
258 # GNU-NEXT: 0x001c: Rev: 1 Flags: BASE Index: 0 Cnt: 1 Name: VERSION1
259 # GNU-NEXT: 0x0038: Rev: 1 Flags: WEAK Index: 0 Cnt: 1 Name: VERSION1
260 # GNU-NEXT: 0x0054: Rev: 1 Flags: INFO Index: 0 Cnt: 1 Name: VERSION1
261 # GNU-NEXT: 0x0070: Rev: 1 Flags: BASE | WEAK | INFO Index: 2 Cnt: 1 Name: VERSION1
262 # GNU-NEXT: 0x008c: Rev: 1 Flags: <unknown> Index: 3 Cnt: 3 Name: VERSION2
268 # GNU-NEXT: 0x0000: Version: 1 File: verneed1.so.0 Cnt: 5
274 # GNU-NEXT: 0x0060: Version: 1 File: verneed2.so.0 Cnt: 1
H A Dverneed-invalid.test17 # GNU-VERNEED-NAME-NEXT: 0x0000: Version: 1 File: somefile Cnt: 1
89 # GNU-NOLINK-NEXT: 0x0000: Version: 1 File: <corrupt vn_file: 9> Cnt: 1
225 # GNU-OFFSET-EQ-NEXT: 0x0000: Version: 1 File: <corrupt vn_file: 1> Cnt: 1
279 # GNU-OFFSET-GR-NEXT: 0x0000: Version: 1 File: <corrupt vn_file: 1> Cnt: 1
334 # INVALID-LINK-GNU-NEXT: 0x0000: Version: 1 File: <corrupt vn_file: 1> Cnt: 1
390 # INVALID-NAME-GNU-NEXT: 0x0000: Version: 1 File: foo Cnt: 1
405 # INVALID-NAME2-GNU-NEXT: 0x0000: Version: 1 File: foo Cnt: 1
584 # GNU-CUSTOM-DYNSTR-NEXT: 0x0000: Version: 1 File: j Cnt: 1
H A Dverneed-flags.yaml71 # GNU-VERDEF-NEXT: 0x0000: Version: 1 File: dso.so.0 Cnt: 6
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp173 unsigned Cnt = 0; in verifyVPBasicBlock() local
175 RecipeNumbering[&R] = Cnt++; in verifyVPBasicBlock()
226 unsigned Cnt = 0; in verifyPlanIsValid() local
230 BlockNumbering[VPB] = Cnt++; in verifyPlanIsValid()
H A DSLPVectorizer.cpp511 for (int Cnt = 0, E = VL.size(); Cnt < E; Cnt++) { in getSameOpcode() local
3779 ++Cnt; in reorderTopToBottom()
10171 for (int Cnt = E; Cnt > 0; --Cnt) { in vectorizeStores() local
10233 ++Cnt; in vectorizeStores()
11058 for (unsigned Cnt = 0, Sz = OrigReducedVals.size(); Cnt < Sz; ++Cnt) { in tryToReduce() local
11172 for (unsigned Cnt = 0, Sz = ReducedVals.size(); Cnt < Sz; ++Cnt) { in tryToReduce() local
11173 if (Cnt == I || (ShuffledExtracts && Cnt == I - 1)) in tryToReduce()
11183 for (unsigned Cnt = 0; Cnt < Pos; ++Cnt) { in tryToReduce() local
11189 for (unsigned Cnt = Pos + ReduxWidth; Cnt < NumReducedVals; ++Cnt) { in tryToReduce() local
11197 for (unsigned Cnt = 0; Cnt < Pos; ++Cnt) { in tryToReduce() local
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DReduction.cpp171 static uint32_t Cnt = 0; variable
231 ChunkTeamCount = atomic::inc(&Cnt, num_of_records - 1u, __ATOMIC_SEQ_CST); in __kmpc_nvptx_teams_reduce_nowait_v2()
298 Cnt = 0; in __kmpc_nvptx_teams_reduce_nowait_v2()
H A DWorkshare.cpp49 static uint64_t SHARED(Cnt);
331 Cnt = 0; in dispatch_init()
349 warp_res = atomic::add(&Cnt, change, __ATOMIC_SEQ_CST); in NextIter()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp541 if (!FO.UIntPtrCastRequired && Args[Cnt] != TargetArgs[Cnt]) { in emitOutlinedFunctionPrologue()
553 ++Cnt; in emitOutlinedFunctionPrologue()
589 LocalAddrs.insert({Args[Cnt], in emitOutlinedFunctionPrologue()
601 ++Cnt; in emitOutlinedFunctionPrologue()
4810 for (unsigned Cnt = 0, E = Data.ReductionVars.size(); Cnt < E; ++Cnt) { in EmitOMPTaskBasedDirective() local
4812 RedCG.emitAggregateType(CGF, Cnt); in EmitOMPTaskBasedDirective()
4857 for (unsigned Cnt = 0, E = InRedVars.size(); Cnt < E; ++Cnt) { in EmitOMPTaskBasedDirective() local
5085 for (unsigned Cnt = 0, E = Data.ReductionVars.size(); Cnt < E; ++Cnt) { in processInReduction() local
5087 RedCG.emitAggregateType(CGF, Cnt); in processInReduction()
5129 for (unsigned Cnt = 0, E = InRedVars.size(); Cnt < E; ++Cnt) { in processInReduction() local
[all …]
H A DCGOpenMPRuntimeGPU.cpp2183 llvm::Value *Cnt = nullptr; in emitInterWarpCopyFunction() local
2197 Cnt = CGF.EmitLoadOfScalar(CntAddr, /*Volatile=*/false, C.IntTy, Loc); in emitInterWarpCopyFunction()
2199 Bld.CreateICmpULT(Cnt, llvm::ConstantInt::get(CGM.IntTy, NumIters)); in emitInterWarpCopyFunction()
2224 ElemPtr = Bld.CreateGEP(ElemPtr, Cnt); in emitInterWarpCopyFunction()
2299 TargetElemPtr = Bld.CreateGEP(TargetElemPtr, Cnt); in emitInterWarpCopyFunction()
2314 Cnt = Bld.CreateNSWAdd(Cnt, llvm::ConstantInt::get(CGM.IntTy, /*V=*/1)); in emitInterWarpCopyFunction()
2315 CGF.EmitStoreOfScalar(Cnt, CntAddr, /*Volatile=*/false, C.IntTy); in emitInterWarpCopyFunction()
3304 int Cnt = 0; in emitReduction() local
3306 PrivatesReductions[Cnt] = cast<DeclRefExpr>(DRE)->getDecl(); in emitReduction()
3307 ++Cnt; in emitReduction()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp126 auto Cnt = get(CounterExpression(CounterExpression::Add, LHS, RHS)); in add() local
127 return Simplify ? simplify(Cnt) : Cnt; in add()
132 auto Cnt = get(CounterExpression(CounterExpression::Subtract, LHS, RHS)); in subtract() local
133 return Simplify ? simplify(Cnt) : Cnt; in subtract()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h594 reverse_iterator insert(reverse_iterator I, size_t Cnt, CFGElement E, in insert() argument
596 return Impl.insert(I, Cnt, E, C); in insert()
1170 iterator beginAutomaticObjDtorsInsert(iterator I, size_t Cnt, in beginAutomaticObjDtorsInsert() argument
1172 return iterator(Elements.insert(I.base(), Cnt, in beginAutomaticObjDtorsInsert()
1183 iterator beginLifetimeEndsInsert(iterator I, size_t Cnt, in beginLifetimeEndsInsert() argument
1186 Elements.insert(I.base(), Cnt, CFGLifetimeEnds(nullptr, nullptr), C)); in beginLifetimeEndsInsert()
1196 iterator beginScopeEndInsert(iterator I, size_t Cnt, BumpVectorContext &C) { in beginScopeEndInsert() argument
1198 Elements.insert(I.base(), Cnt, CFGScopeEnd(nullptr, nullptr), C)); in beginScopeEndInsert()
/llvm-project-15.0.7/lld/test/ELF/
H A Dpack-dyn-relocs-glibc.s19 # GLIBC-NEXT: 0x0000: Version: 1 File: libc.so.6 Cnt: 2
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp477 int64_t &Cnt) { in isVShiftRImm() argument
483 Cnt = *Cst; in isVShiftRImm()
485 return Cnt >= 1 && Cnt <= ElementBits; in isVShiftRImm()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h479 unsigned Cnt; variable
484 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) { in AllocaRegion()
489 unsigned Cnt, const MemRegion *superRegion);
1403 const AllocaRegion *getAllocaRegion(const Expr *Ex, unsigned Cnt,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h4860 void setLoopData(unsigned NumLoop, Expr *Cnt);
5901 return MapTypeModifiers[Cnt]; in getMapTypeModifier()
5911 return MapTypeModifiersLoc[Cnt]; in getMapTypeModifierLoc()
6810 assert(Cnt < NumberOfOMPMotionModifiers && in getMotionModifier()
6812 return MotionModifiers[Cnt]; in getMotionModifier()
6820 assert(Cnt < NumberOfOMPMotionModifiers && in getMotionModifierLoc()
6822 return MotionModifiersLoc[Cnt]; in getMotionModifierLoc()
7011 assert(Cnt < NumberOfOMPMotionModifiers && in getMotionModifier()
7013 return MotionModifiers[Cnt]; in getMotionModifier()
7021 assert(Cnt < NumberOfOMPMotionModifiers && in getMotionModifierLoc()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELF.h43 unsigned Cnt; member
59 unsigned Cnt; member
955 VD.Cnt = D->vd_cnt; in getVersionDefinitions()
1027 VN.Cnt = Verneed->vn_cnt; in getVersionDependencies()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1507 int Cnt = 1; in sortPtrAccesses() local
1517 auto Res = Offsets.emplace(Offset, Cnt); in sortPtrAccesses()
1522 ++Cnt; in sortPtrAccesses()
1528 Cnt = 0; in sortPtrAccesses()
1530 SortedIndices[Cnt] = Pair.second; in sortPtrAccesses()
1531 ++Cnt; in sortPtrAccesses()

12