Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h181 iterator insert(iterator I, size_t Cnt, const_reference E, in insert() argument
184 if (End + Cnt <= Capacity) { in insert()
186 move_range_right(I, End, Cnt); in insert()
187 construct_range(I, I + Cnt, E); in insert()
188 End += Cnt; in insert()
189 return I + Cnt; in insert()
192 grow(C, size() + Cnt); in insert()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h82 unsigned Cnt;
111 : Cnt(cnt), ACnt(acnt), T(t), RawKind(static_cast<unsigned>(k)), in RefVal()
126 unsigned getCount() const { return Cnt; } in getCount()
128 unsigned getCombinedCounts() const { return Cnt + ACnt; } in getCombinedCounts()
130 Cnt = 0; in clearCounts()
134 Cnt = i; in setCount()
217 return getKind() == X.getKind() && Cnt == X.Cnt && ACnt == X.ACnt && in hasSameState()
228 ID.AddInteger(Cnt); in Profile()
H A DRetainCountChecker.cpp1208 unsigned Cnt = V.getCount(); in handleAutoreleaseCounts() local
1213 ++Cnt; in handleAutoreleaseCounts()
1217 if (ACnt > Cnt && in handleAutoreleaseCounts()
1223 if (ACnt <= Cnt) { in handleAutoreleaseCounts()
1224 if (ACnt == Cnt) { in handleAutoreleaseCounts()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DArchitectureSet.cpp30 size_t Cnt = 0; in count() local
33 ++Cnt; in count()
34 return Cnt; in count()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValue.h244 unsigned Cnt = 0; in hasNUsesOrMore() local
246 if (++Cnt >= Num) in hasNUsesOrMore()
253 unsigned Cnt = 0; in hasNUses() local
255 if (++Cnt > Num) in hasNUses()
258 return Cnt == Num; in hasNUses()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp180 [&CGF](unsigned Cnt, const Stmt *CurStmt) { in emitPreInitStmt() argument
595 unsigned Cnt = CD->getContextParamPosition(); in emitOutlinedFunctionPrologue() local
600 if (!FO.UIntPtrCastRequired && Args[Cnt] != TargetArgs[Cnt]) { in emitOutlinedFunctionPrologue()
601 LocalAddr = CGM.getOpenMPRuntime().getParameterAddress(CGF, Args[Cnt], in emitOutlinedFunctionPrologue()
602 TargetArgs[Cnt]); in emitOutlinedFunctionPrologue()
604 LocalAddr = CGF.GetAddrOfLocalVar(Args[Cnt]); in emitOutlinedFunctionPrologue()
611 LocalAddrs.insert({Args[Cnt], {CurVD, LocalAddr}}); in emitOutlinedFunctionPrologue()
612 ++Cnt; in emitOutlinedFunctionPrologue()
617 LValue ArgLVal = CGF.MakeAddrLValue(LocalAddr, Args[Cnt]->getType(), in emitOutlinedFunctionPrologue()
623 Args[Cnt]->getName(), ArgLVal), in emitOutlinedFunctionPrologue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DReOptimizeLayer.cpp104 Value *Cnt = IRB.CreateLoad(I64Ty, Counter); in reoptimizeIfCallFrequent() local
106 Value *Cmp = IRB.CreateICmpEQ(Cnt, Threshold); in reoptimizeIfCallFrequent()
107 Value *Added = IRB.CreateAdd(Cnt, ConstantInt::get(I64Ty, 1)); in reoptimizeIfCallFrequent()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWindowScheduler.cpp313 for (size_t Cnt = 1; Cnt < DuplicateNum; ++Cnt) { in generateTripleMBB() local
316 (MI->isTerminator() && Cnt < DuplicateNum - 1)) in generateTripleMBB()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2961 unsigned Cnt = 0; in shouldBroadcast() local
2999 ++Cnt; in shouldBroadcast()
3006 return getNumLanes() == 2 || Cnt > 1; in shouldBroadcast()
3229 unsigned Cnt = 0; in print() local
3231 OS << "Operand " << Cnt++ << "\n"; in print()
5660 int Cnt = 0; in calculateRtStride() local
5681 auto Res = Offsets.emplace(Dist, Cnt); in calculateRtStride()
5686 ++Cnt; in calculateRtStride()
5694 Cnt = 0; in calculateRtStride()
5696 SortedIndices[Cnt] = Pair.second; in calculateRtStride()
[all …]
H A DVPlanVerifier.cpp219 unsigned Cnt = 0; in verifyVPBasicBlock() local
221 RecipeNumbering[&R] = Cnt++; in verifyVPBasicBlock()
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dbd9571mwv.txt37 documentation for the "BKUP Mode Cnt" register.
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp128 auto Cnt = get(CounterExpression(CounterExpression::Add, LHS, RHS)); in add() local
129 return Simplify ? simplify(Cnt) : Cnt; in add()
134 auto Cnt = get(CounterExpression(CounterExpression::Subtract, LHS, RHS)); in subtract() local
135 return Simplify ? simplify(Cnt) : Cnt; in subtract()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h5592 void setLoopData(unsigned NumLoop, Expr *Cnt);
6618 OpenMPMapModifierKind getMapTypeModifier(unsigned Cnt) const LLVM_READONLY { in getMapTypeModifier() argument
6619 assert(Cnt < NumberOfOMPMapClauseModifiers && in getMapTypeModifier()
6621 return MapTypeModifiers[Cnt]; in getMapTypeModifier()
6628 SourceLocation getMapTypeModifierLoc(unsigned Cnt) const LLVM_READONLY { in getMapTypeModifierLoc() argument
6629 assert(Cnt < NumberOfOMPMapClauseModifiers && in getMapTypeModifierLoc()
6631 return MapTypeModifiersLoc[Cnt]; in getMapTypeModifierLoc()
7608 OpenMPMotionModifierKind getMotionModifier(unsigned Cnt) const LLVM_READONLY { in getMotionModifier() argument
7609 assert(Cnt < NumberOfOMPMotionModifiers && in getMotionModifier()
7611 return MotionModifiers[Cnt]; in getMotionModifier()
[all …]
H A DStmtOpenMP.h904 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *CurStmt) { in doForAllLoops()
905 return Callback(Cnt, CurStmt); in doForAllLoops()
929 auto &&NewCallback = [Callback](unsigned Cnt, const Stmt *CurStmt) { in doForAllLoops()
930 return Callback(Cnt, CurStmt); in doForAllLoops()
944 auto &&NewCallback = [Callback](unsigned Cnt, Stmt *Loop, Stmt *Body) { in doForAllLoopsBodies()
945 Callback(Cnt, Loop, Body); in doForAllLoopsBodies()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp530 int64_t &Cnt) { in isVShiftRImm() argument
536 Cnt = *Cst; in isVShiftRImm()
538 return Cnt >= 1 && Cnt <= ElementBits; in isVShiftRImm()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h511 unsigned Cnt; variable
516 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) { in AllocaRegion()
521 unsigned Cnt, const MemRegion *superRegion);
1494 const AllocaRegion *getAllocaRegion(const Expr *Ex, unsigned Cnt,
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h47 uint16_t Cnt; member
63 unsigned Cnt; member
1098 VD.Cnt = D->vd_cnt; in getVersionDefinitions()
1170 VN.Cnt = Verneed->vn_cnt; in getVersionDependencies()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp5125 for (unsigned Cnt = 0, End = AllowedNameModifiers.size(); Cnt < End; in checkIfClauses() local
5126 ++Cnt) { in checkIfClauses()
5127 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
5792 for (int Cnt = 0, EndCnt = Clauses.size(); Cnt < EndCnt; ++Cnt) { in processImplicitMapsWithDefaultMappers() local
5793 auto *C = dyn_cast<OMPMapClause>(Clauses[Cnt]); in processImplicitMapsWithDefaultMappers()
9060 Expr *Cnt = SemaRef.DefaultLvalueConversion(Counter).get(); in buildOrderedLoopData() local
9061 if (!Cnt) in buildOrderedLoopData()
9067 Cnt = SemaRef.BuildBinOp(S, Loc, BOK, Cnt, Inc).get(); in buildOrderedLoopData()
9068 if (!Cnt) in buildOrderedLoopData()
9077 *TestIsLessOp ? Cnt : tryBuildCapture(SemaRef, LB, Captures).get(); in buildOrderedLoopData()
[all …]
H A DSemaStmtAsm.cpp561 for (unsigned Cnt = ConstraintIdx - NumOperands; I != E; ++I) in ActOnGCCAsmStmt() local
562 if (OutputConstraintInfos[I].isReadWrite() && Cnt-- == 0) { in ActOnGCCAsmStmt()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp183 const ConstantFP *Cnt = MO.getFPImm(); in lowerOperand() local
184 const APFloat &Val = Cnt->getValueAPF(); in lowerOperand()
186 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp131 for (unsigned Cnt = 0; Cnt < NumLoops; ++Cnt) { in doForAllLoops() local
159 if (Callback(Cnt, CurStmt)) in doForAllLoops()
184 [Callback](unsigned Cnt, Stmt *Loop) { in doForAllLoopsBodies() argument
195 Callback(Cnt, Loop, Body); in doForAllLoopsBodies()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h622 reverse_iterator insert(reverse_iterator I, size_t Cnt, CFGElement E, in insert() argument
624 return Impl.insert(I, Cnt, E, C); in insert()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6676 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6689 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
6697 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
6700 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6702 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6712 int64_t &Cnt) { in isVShiftRImm() argument
6715 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6718 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
6719 if (Cnt >= -(isNarrow ? ElementBits / 2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
6720 Cnt = -Cnt; in isVShiftRImm()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1967 int Cnt = 0; in trySimplifyPath() local
1980 ++Cnt; in trySimplifyPath()
1981 } else if (Cnt) { in trySimplifyPath()
1982 --Cnt; in trySimplifyPath()

12