| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | ScoreboardHazardRecognizer.h | 46 size_t Depth = 0; variable 58 size_t getDepth() const { return Depth; } in getDepth() 62 assert(Depth && !(Depth & (Depth - 1)) && 65 return Data[(Head + idx) & (Depth-1)]; 70 Depth = d; 71 Data = new unsigned[Depth]; 74 memset(Data, 0, Depth * sizeof(Data[0])); 79 Head = (Head + 1) & (Depth-1); in advance() 83 Head = (Head - 1) & (Depth-1); in recede()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 617 if (Depth == MaxDepth) in computeKnownBitsFromAssume() 1670 if (Depth == MaxDepth) in computeKnownBits() 2050 return isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q); in isKnownNonZero() 2106 if (isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q)) in isKnownNonZero() 2137 isKnownNonZero(X, Depth, Q) && isKnownNonZero(Y, Depth, Q)) in isKnownNonZero() 2322 if (Depth == MaxDepth) in ComputeNumSignBitsImpl() 2830 if (Depth == MaxDepth) in CannotBeNegativeZero() 2903 if (Depth == MaxDepth) in cannotBeOrderedLessThanZeroImpl() 3040 if (Depth == MaxDepth) in isKnownNeverNaN() 5084 if (Depth >= MaxDepth) in matchSelectPattern() [all …]
|
| H A D | LoopAccessAnalysis.cpp | 455 unsigned Depth) const { in printChecks() 460 OS.indent(Depth) << "Check " << N++ << ":\n"; in printChecks() 475 printChecks(OS, Checks, Depth); in print() 477 OS.indent(Depth) << "Grouped accesses:\n"; in print() 1709 raw_ostream &OS, unsigned Depth, in print() argument 1711 OS.indent(Depth) << DepName[Type] << ":\n"; in print() 2310 OS.indent(Depth) << "Dependences:\n"; in print() 2319 PtrRtChecking->print(OS, Depth); in print() 2326 OS.indent(Depth) << "SCEV assumptions:\n"; in print() 2327 PSE->getUnionPredicate().print(OS, Depth); in print() [all …]
|
| H A D | ScalarEvolution.cpp | 558 unsigned Depth) { in CompareValueComplexity() argument 1622 if (Depth > MaxExtDepth) { in getZeroExtendExpr() 1796 Depth + 1); in getZeroExtendExpr() 1850 Depth + 1); in getZeroExtendExpr() 1933 if (Depth > MaxExtDepth) { in getSignExtendExpr() 1983 Depth + 1); in getSignExtendExpr() 2128 Depth + 1); in getSignExtendExpr() 2408 if (Depth > MaxArithDepth) in getAddExpr() 2887 if (Depth > MaxArithDepth) in getMulExpr() 8826 if (Depth >= 3) in SimplifyICmpOperands() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Template.h | 100 const TemplateArgument &operator()(unsigned Depth, unsigned Index) const { in operator() 101 assert(NumRetainedOuterLevels <= Depth && Depth < getNumLevels()); in operator() 103 return TemplateArgumentLists[getNumLevels() - Depth - 1][Index]; in operator() 110 bool hasTemplateArgument(unsigned Depth, unsigned Index) const { in hasTemplateArgument() argument 111 assert(Depth < getNumLevels()); in hasTemplateArgument() 113 if (Depth < NumRetainedOuterLevels) in hasTemplateArgument() 116 if (Index >= TemplateArgumentLists[getNumLevels() - Depth - 1].size()) in hasTemplateArgument() 119 return !(*this)(Depth, Index).isNull(); in hasTemplateArgument() 123 void setArgument(unsigned Depth, unsigned Index, in setArgument() argument 125 assert(NumRetainedOuterLevels <= Depth && Depth < getNumLevels()); in setArgument() [all …]
|
| H A D | Scope.h | 148 unsigned short Depth; variable 264 unsigned getDepth() const { return Depth; } in getDepth() 452 bool Contains(const Scope& rhs) const { return Depth < rhs.Depth; } in Contains()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 121 assert(Depth <= 6 && "Limit Search Depth"); in SimplifyDemandedUseBits() 130 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 143 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 150 if (Depth != 0 && !I->hasOneUse()) in SimplifyDemandedUseBits() 159 if (Depth == 0 && !V->hasOneUse()) in SimplifyDemandedUseBits() 164 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 170 Depth + 1)) in SimplifyDemandedUseBits() 204 Depth + 1)) in SimplifyDemandedUseBits() 750 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 1147 if (Depth == 10) in SimplifyDemandedVectorElts() [all …]
|
| H A D | InstCombineInternal.h | 674 unsigned Depth, const Instruction *CxtI) const { in computeKnownBits() argument 675 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits() 678 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() argument 680 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits() 684 unsigned Depth = 0, 691 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, &AC, CxtI, &DT); 694 unsigned ComputeNumSignBits(const Value *Op, unsigned Depth = 0, 696 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT); 780 unsigned Depth, Instruction *CxtI); 783 unsigned Depth = 0); [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 55 const DataLayout &DL, unsigned Depth = 0, 64 unsigned Depth = 0, AssumptionCache *AC = nullptr, 90 bool OrZero = false, unsigned Depth = 0, 104 bool isKnownNonZero(const Value *V, const DataLayout &DL, unsigned Depth = 0, 118 unsigned Depth = 0, 159 unsigned Depth = 0, AssumptionCache *AC = nullptr, 184 unsigned Depth = 0); 194 unsigned Depth = 0); 210 unsigned Depth = 0); 582 unsigned Depth = 0); [all …]
|
| H A D | ScalarEvolution.h | 530 unsigned Depth = 0); 533 unsigned Depth = 0) { 535 return getAddExpr(Ops, Flags, Depth); 539 unsigned Depth = 0) { 541 return getAddExpr(Ops, Flags, Depth); 545 unsigned Depth = 0); 548 unsigned Depth = 0) { 550 return getMulExpr(Ops, Flags, Depth); 554 unsigned Depth = 0) { 556 return getMulExpr(Ops, Flags, Depth); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | Signals.cpp | 92 static bool findModulesAndOffsets(void **StackTrace, int Depth, 108 int Depth, llvm::raw_ostream &OS) { in printSymbolizedStackTrace() argument 139 std::vector<const char *> Modules(Depth, nullptr); in printSymbolizedStackTrace() 140 std::vector<intptr_t> Offsets(Depth, 0); in printSymbolizedStackTrace() 141 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace() 153 for (int i = 0; i < Depth; i++) { in printSymbolizedStackTrace() 184 for (int i = 0; i < Depth; i++) { in printSymbolizedStackTrace() 187 std::log10(Depth) + 2) in printSymbolizedStackTrace()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/ |
| H A D | WebAssemblyInstPrinter.cpp | 163 uint64_t Depth = MI->getOperand(i).getImm(); in printInst() local 164 if (!Printed.insert(Depth).second) in printInst() 168 if (Depth > EHPadStack.size()) { in printInst() 170 } else if (Depth == EHPadStack.size()) { in printInst() 173 printAnnotation(OS, utostr(Depth) + ": " + "to caller"); in printInst() 175 uint64_t CatchNo = EHPadStack.rbegin()[Depth]; in printInst() 176 printAnnotation(OS, utostr(Depth) + ": " + "down to catch" + in printInst() 181 if (Depth >= ControlFlowStack.size()) { in printInst() 184 const auto &Pair = ControlFlowStack.rbegin()[Depth]; in printInst() 185 printAnnotation(OS, utostr(Depth) + ": " + in printInst()
|
| /freebsd-12.1/contrib/expat/examples/ |
| H A D | outline.c | 46 int Depth; variable 54 for (i = 0; i < Depth; i++) in start() 64 Depth++; in start() 73 Depth--; in end()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 358 uint32_t Depth = 0; in extractDIEsToVector() local 362 Depth)) { in extractDIEsToVector() 381 ++Depth; in extractDIEsToVector() 384 if (Depth > 0) in extractDIEsToVector() 385 --Depth; in extractDIEsToVector() 386 if (Depth == 0) in extractDIEsToVector() 663 if (Depth == 0) in getParent() 666 if (Depth == 1) in getParent() 680 uint32_t Depth = Die->getDepth(); in getSibling() local 682 if (Depth == 0) in getSibling() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 380 unsigned Depth; in checkForProfitableCmovCandidates() member 446 MIDepth = std::max(MIDepth, Info.Depth); in checkForProfitableCmovCandidates() 467 MaxDepth.Depth = std::max(MaxDepth.Depth, MIDepth); in checkForProfitableCmovCandidates() 473 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates() 474 LoopDepth[1].Depth - LoopDepth[1].OptDepth}; in checkForProfitableCmovCandidates() 508 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates() 511 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates() 512 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates() 549 DepthMap[OperandToDefMap.lookup(&MI->getOperand(3))].Depth; in checkForProfitableCmovCandidates() 551 DepthMap[OperandToDefMap.lookup(&MI->getOperand(1))].Depth, in checkForProfitableCmovCandidates() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugInfoEntry.h | 30 uint32_t Depth = 0; variable 45 uint32_t Depth); 48 uint32_t getDepth() const { return Depth; } in getDepth()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 44 static bool MayAutorelease(ImmutableCallSite CS, unsigned Depth = 0); 71 bool ObjCARCAPElim::MayAutorelease(ImmutableCallSite CS, unsigned Depth) { in MayAutorelease() argument 80 if (Depth < 3 && in MayAutorelease() 82 MayAutorelease(JCS, Depth + 1)) in MayAutorelease()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | ClangOptionDocEmitter.cpp | 207 void emitHeading(int Depth, std::string Heading, raw_ostream &OS) { in emitHeading() argument 208 assert(Depth < 8 && "groups nested too deeply"); in emitHeading() 210 << std::string(Heading.size(), "=~-_'+<>"[Depth]) << "\n"; in emitHeading() 354 void emitDocumentation(int Depth, const Documentation &Doc, 357 void emitGroup(int Depth, const DocumentedGroup &Group, const Record *DocInfo, in emitGroup() argument 362 emitHeading(Depth, in emitGroup() 372 emitDocumentation(Depth + 1, Group, DocInfo, OS); in emitGroup() 375 void emitDocumentation(int Depth, const Documentation &Doc, in emitDocumentation() argument 380 emitGroup(Depth, G, DocInfo, OS); in emitDocumentation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Scope.cpp | 35 Depth = parent->Depth + 1; in setFlags() 48 Depth = 0; in setFlags() 189 OS << "Depth: " << Depth << '\n'; in dumpImpl()
|
| H A D | SemaTemplateDeduction.cpp | 735 unsigned Depth, Index; in addPacks() local 737 if (Depth == Info.getDeducedDepth()) in addPacks() 4475 TemplateDeductionInfo Info(Loc, Depth); in DeduceAutoType() 5222 unsigned Depth, in MarkUsedTemplateParameters() argument 5253 if (NTTP->getDepth() == Depth) in MarkUsedTemplateParameters() 5268 unsigned Depth, in MarkUsedTemplateParameters() argument 5290 if (TTP->getDepth() == Depth) in MarkUsedTemplateParameters() 5324 Depth, in MarkUsedTemplateParameters() 5332 Depth, in MarkUsedTemplateParameters() 5341 Depth, in MarkUsedTemplateParameters() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 643 unsigned Depth = 0, Index = 0; in CheckParameterPacksForExpansion() local 649 Depth = TTP->getDepth(); in CheckParameterPacksForExpansion() 657 std::tie(Depth, Index) = getDepthAndIndex(ND); in CheckParameterPacksForExpansion() 684 if (Depth >= TemplateArgs.getNumLevels() || in CheckParameterPacksForExpansion() 691 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion() 773 unsigned Depth; in getNumArgumentsInExpansion() local 778 Depth = TTP->getDepth(); in getNumArgumentsInExpansion() 800 std::tie(Depth, Index) = getDepthAndIndex(ND); in getNumArgumentsInExpansion() 802 if (Depth >= TemplateArgs.getNumLevels() || in getNumArgumentsInExpansion() 803 !TemplateArgs.hasTemplateArgument(Depth, Index)) in getNumArgumentsInExpansion() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/Common/ |
| H A D | Timer.cpp | 66 void Timer::print(int Depth, double TotalDuration, bool Recurse) const { in print() argument 71 std::string S = std::string(Depth * 2, ' ') + Name + std::string(":"); in print() 78 Child->print(Depth + 1, TotalDuration); in print()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2316 if (Depth == 6) in computeKnownBits() 2446 Known = computeKnownBits(Sub, Depth + 1); in computeKnownBits() 2478 Known = computeKnownBits(N0, Depth + 1); in computeKnownBits() 2517 Depth + 1); in computeKnownBits() 2890 Depth + 1); in computeKnownBits() 3297 if (Depth == 6) in ComputeNumSignBits() 3694 return ComputeNumSignBits(Src, Depth + 1); in ComputeNumSignBits() 3740 Tmp = ComputeNumSignBits(Sub, Depth + 1); in ComputeNumSignBits() 3742 Tmp2 = ComputeNumSignBits(Src, Depth + 1); in ComputeNumSignBits() 3818 if (Depth == 6) in isKnownNeverNaN() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 322 unsigned Depth, SmallVectorImpl<NamedDecl *> &TemplateParams, in ParseTemplateParameters() argument 333 Failed = ParseTemplateParameterList(Depth, TemplateParams); in ParseTemplateParameters() 360 Parser::ParseTemplateParameterList(const unsigned Depth, in ParseTemplateParameterList() argument 365 = ParseTemplateParameter(Depth, TemplateParams.size())) { in ParseTemplateParameterList() 494 return ParseTypeParameter(Depth, Position); in ParseTemplateParameter() 498 return ParseTemplateTemplateParameter(Depth, Position); in ParseTemplateParameter() 503 return ParseNonTypeTemplateParameter(Depth, Position); in ParseTemplateParameter() 515 NamedDecl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { in ParseTypeParameter() argument 587 if (ParseTemplateParameters(Depth + 1, TemplateParams, LAngleLoc, in ParseTemplateTemplateParameter() 650 Actions.ActOnTemplateParameterList(Depth, SourceLocation(), in ParseTemplateTemplateParameter() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Demangle/ |
| H A D | ItaniumDemangle.cpp | 67 unsigned Depth = 0; member 102 ++Depth; in print() 113 --Depth; in print() 181 for (unsigned I = 0; I != Depth; ++I) in newLine() 216 Depth += 2; in operator ()() 220 Depth -= 2; in operator ()() 224 Depth += 2; in operator ()() 234 Depth -= 2; in operator ()()
|