Home
last modified time | relevance | path

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

12

/external/clang/tools/scan-build/libexec/
Dccc-analyzer537 my $Cnt = $CompileOptionMap{$ArgKey};
539 while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
550 my $Cnt = $LinkerOptionMap{$ArgKey};
552 while ($Cnt > 0) { ++$i; --$Cnt; push @LinkOpts, $ARGV[$i]; }
559 my $Cnt = $CompilerLinkerOptionMap{$ArgKey};
565 $i += $Cnt;
574 while ($Cnt > 0) {
575 ++$i; --$Cnt;
584 my $Cnt = $IgnoredOptionMap{$ArgKey};
585 while ($Cnt > 0) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DPerfHelper.h95 Counter Cnt(Event); in Measure()
96 Cnt.start(); in Measure()
98 Cnt.stop(); in Measure()
99 Callback(Event, Cnt.read()); in Measure()
/external/clang/include/clang/Analysis/Support/
DBumpVector.h167 iterator insert(iterator I, size_t Cnt, const_reference E, in insert() argument
170 if (End + Cnt <= Capacity) { in insert()
172 move_range_right(I, End, Cnt); in insert()
173 construct_range(I, I + Cnt, E); in insert()
174 End += Cnt; in insert()
175 return I + Cnt; in insert()
178 grow(C, size() + Cnt); in insert()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTrigramIndex.cpp36 unsigned Cnt = 0; in insert() local
74 Cnt++; in insert()
81 if (!Cnt) { in insert()
87 Counts.push_back(Cnt); in insert()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp110 unsigned Cnt; member in __anonf8e0d6ba0111::RefVal
139 : Cnt(cnt), ACnt(acnt), T(t), RawKind(static_cast<unsigned>(k)), in RefVal()
154 unsigned getCount() const { return Cnt; } in getCount()
156 unsigned getCombinedCounts() const { return Cnt + ACnt; } in getCombinedCounts()
158 Cnt = 0; in clearCounts()
162 Cnt = i; in setCount()
248 return getKind() == X.getKind() && Cnt == X.Cnt && ACnt == X.ACnt && in hasSameState()
259 ID.AddInteger(Cnt); in Profile()
3740 unsigned Cnt = V.getCount(); in handleAutoreleaseCounts() local
3745 ++Cnt; in handleAutoreleaseCounts()
[all …]
/external/clang/include/clang/Analysis/
DCFG.h367 reverse_iterator insert(reverse_iterator I, size_t Cnt, CFGElement E, in insert() argument
369 return Impl.insert(I, Cnt, E, C); in insert()
692 iterator beginAutomaticObjDtorsInsert(iterator I, size_t Cnt, in beginAutomaticObjDtorsInsert() argument
694 return iterator(Elements.insert(I.base(), Cnt, in beginAutomaticObjDtorsInsert()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h444 unsigned Cnt; // Block counter. Used to distinguish different pieces of
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {} in AllocaRegion()
462 unsigned Cnt, const MemRegion *superRegion);
1177 const AllocaRegion *getAllocaRegion(const Expr *Ex, unsigned Cnt,
/external/clang/lib/Sema/
DSemaOpenMP.cpp3353 for (unsigned Cnt = 0, End = AllowedNameModifiers.size(); Cnt < End; in checkIfClauses() local
3354 ++Cnt) { in checkIfClauses()
3355 OpenMPDirectiveKind NM = AllowedNameModifiers[Cnt]; in checkIfClauses()
4964 for (unsigned Cnt = 0; Cnt < NestedLoopCount; ++Cnt) { in CheckOpenMPLoop() local
4965 if (CheckOpenMPIterationSpace(DKind, CurStmt, SemaRef, DSA, Cnt, in CheckOpenMPLoop()
4968 IterSpaces[Cnt], Captures)) in CheckOpenMPLoop()
5036 for (unsigned Cnt = 1; Cnt < NestedLoopCount; ++Cnt) { in CheckOpenMPLoop() local
5039 PreCond.get(), IterSpaces[Cnt].PreCond); in CheckOpenMPLoop()
5041 auto N = IterSpaces[Cnt].NumIterations; in CheckOpenMPLoop()
5257 for (int Cnt = NestedLoopCount - 1; Cnt >= 0; --Cnt) { in CheckOpenMPLoop() local
[all …]
DSemaStmtAsm.cpp375 for (unsigned Cnt = ConstraintIdx - NumOperands; I != E; ++I) in ActOnGCCAsmStmt() local
376 if (OutputConstraintInfos[I].isReadWrite() && Cnt-- == 0) { in ActOnGCCAsmStmt()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp7492 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
7504 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
7512 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
7515 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
7517 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm()
7527 int64_t &Cnt) { in isVShiftRImm() argument
7530 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
7533 Cnt = -Cnt; in isVShiftRImm()
7534 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
7568 int64_t Cnt; in PerformIntrinsicCombine() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp364 for (int Cnt = 0, E = VL.size(); Cnt < E; Cnt++) { in getSameOpcode() local
365 unsigned InstOpcode = cast<Instruction>(VL[Cnt])->getOpcode(); in getSameOpcode()
366 if (IsBinOp && isa<BinaryOperator>(VL[Cnt])) { in getSameOpcode()
371 AltIndex = Cnt; in getSameOpcode()
374 } else if (IsCastOp && isa<CastInst>(VL[Cnt])) { in getSameOpcode()
376 Type *Ty1 = cast<Instruction>(VL[Cnt])->getOperand(0)->getType(); in getSameOpcode()
382 AltIndex = Cnt; in getSameOpcode()
4759 unsigned Cnt = 0; in vectorizeStores() local
4762 IndexQueue[Cnt] = Idx - Offset; in vectorizeStores()
4763 ++Cnt; in vectorizeStores()
[all …]
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp261 unsigned Cnt = CD->getContextParamPosition(); in GenerateOpenMPCapturedStmtFunction() local
267 setAddrOfLocalVar(I->getCapturedVar(), GetAddrOfLocalVar(Args[Cnt])); in GenerateOpenMPCapturedStmtFunction()
268 ++Cnt; in GenerateOpenMPCapturedStmtFunction()
274 MakeAddrLValue(GetAddrOfLocalVar(Args[Cnt]), Args[Cnt]->getType(), in GenerateOpenMPCapturedStmtFunction()
279 Args[Cnt]->getName(), ArgLVal), in GenerateOpenMPCapturedStmtFunction()
301 Args[Cnt]->getName(), ArgLVal, in GenerateOpenMPCapturedStmtFunction()
307 EmitLoadOfLValue(ArgLVal, Args[Cnt]->getLocation()).getScalarVal(); in GenerateOpenMPCapturedStmtFunction()
309 ++Cnt; in GenerateOpenMPCapturedStmtFunction()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10500 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
10512 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
10520 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
10523 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
10525 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm()
10535 int64_t &Cnt) { in isVShiftRImm() argument
10538 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
10541 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
10542 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
10543 Cnt = -Cnt; in isVShiftRImm()
[all …]
/external/clang/lib/Lex/
DPPDirectives.cpp1648 int Cnt = 0; in trySimplifyPath() local
1655 ++Cnt; in trySimplifyPath()
1656 } else if (Cnt) { in trySimplifyPath()
1657 --Cnt; in trySimplifyPath()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp345 for (size_t Idx = 0, Cnt = SectionSizes.size(); Idx < Cnt; Idx++) { in computeAllocationSizeForSections() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp12157 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
12169 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
12177 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
12180 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
12182 return (Cnt >= 0 && (isLong ? Cnt-1 : Cnt) < ElementBits); in isVShiftLImm()
12192 int64_t &Cnt) { in isVShiftRImm() argument
12195 if (! getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
12198 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits/2 : ElementBits)); in isVShiftRImm()
12199 if (Cnt >= -(isNarrow ? ElementBits/2 : ElementBits) && Cnt <= -1) { in isVShiftRImm()
12200 Cnt = -Cnt; in isVShiftRImm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp396 for (size_t Idx = 0, Cnt = SectionSizes.size(); Idx < Cnt; Idx++) { in computeAllocationSizeForSections() local
/external/clang/include/clang/AST/
DStmtOpenMP.h726 for (unsigned Cnt = 1; Cnt < CollapsedNum; ++Cnt) { in getBody() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp258 const ConstantFP *Cnt = MO.getFPImm(); in lowerOperand() local
259 const APFloat &Val = Cnt->getValueAPF(); in lowerOperand()
261 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dsancov.cpp701 uint32_t Cnt = Sec.size / Stride; in findMachOIndirectCovFunctions() local
703 for (uint32_t J = 0; J < Cnt && N + J < Dysymtab.nindirectsyms; J++) { in findMachOIndirectCovFunctions()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6584 static bool getVShiftImm(SDValue Op, unsigned ElementBits, int64_t &Cnt) { in getVShiftImm() argument
6596 Cnt = SplatBits.getSExtValue(); in getVShiftImm()
6604 static bool isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) { in isVShiftLImm() argument
6607 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftLImm()
6609 return (Cnt >= 0 && (isLong ? Cnt - 1 : Cnt) < ElementBits); in isVShiftLImm()
6615 static bool isVShiftRImm(SDValue Op, EVT VT, bool isNarrow, int64_t &Cnt) { in isVShiftRImm() argument
6618 if (!getVShiftImm(Op, ElementBits, Cnt)) in isVShiftRImm()
6620 return (Cnt >= 1 && Cnt <= (isNarrow ? ElementBits / 2 : ElementBits)); in isVShiftRImm()
6627 int64_t Cnt; in LowerVectorSRA_SRL_SHL() local
6638 if (isVShiftLImm(Op.getOperand(1), VT, false, Cnt) && Cnt < EltSize) in LowerVectorSRA_SRL_SHL()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenSchedule.cpp1195 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(), in getIntersectingVariants() local
1197 if (!Cnt) in getIntersectingVariants()
1199 if (Cnt > 1) { in getIntersectingVariants()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp279 const ConstantFP *Cnt = MO.getFPImm(); in lowerOperand() local
280 const APFloat &Val = Cnt->getValueAPF(); in lowerOperand()
282 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp284 ProfileRegion(ID, Ex, Cnt, superRegion); in Profile()
453 os << "alloca{" << static_cast<const void*>(Ex) << ',' << Cnt << '}'; in dumpToStream()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp1108 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(), in getIntersectingVariants() local
1110 if (!Cnt) in getIntersectingVariants()
1112 if (Cnt > 1) { in getIntersectingVariants()

12