Home
last modified time | relevance | path

Searched refs:MaxDepth (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachinePipeliner.h325 unsigned MaxDepth = 0; variable
388 MaxDepth = std::max(MaxDepth, SSD->getDepth(SU)); in computeNodeSetInfo()
394 unsigned getMaxDepth() { return MaxDepth; } in getMaxDepth()
401 MaxDepth = 0; in clear()
417 return MaxDepth > RHS.MaxDepth;
425 MaxDepth == RHS.MaxDepth;
H A DMachineInstr.h279 dumprImpl(const MachineRegisterInfo &MRI, unsigned Depth, unsigned MaxDepth,
1689 unsigned MaxDepth = UINT_MAX) const;
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h34 unsigned MaxDepth; variable
46 GISelKnownBits(MachineFunction &MF, unsigned MaxDepth = 6);
102 unsigned getMaxDepth() const { return MaxDepth; } in getMaxDepth()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp43 unsigned MaxDepth) { in isDereferenceableAndAlignedPointer() argument
47 if (MaxDepth-- == 0) in isDereferenceableAndAlignedPointer()
61 MaxDepth) && in isDereferenceableAndAlignedPointer()
64 MaxDepth); in isDereferenceableAndAlignedPointer()
72 Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
136 CtxI, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
143 TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
148 Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
153 DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
H A DValueTracking.cpp5214 const unsigned MaxDepth = 2; in directlyImpliesPoison() local
5215 if (Depth >= MaxDepth) in directlyImpliesPoison()
5248 const unsigned MaxDepth = 2; in impliesPoison() local
5249 if (Depth >= MaxDepth) in impliesPoison()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h224 bool isDeeplyNested(const Decl *D, unsigned MaxDepth = 10);
231 resolveForwardingParameters(const FunctionDecl *D, unsigned MaxDepth = 10);
H A DAST.cpp683 bool isDeeplyNested(const Decl *D, unsigned MaxDepth) { in isDeeplyNested() argument
687 if (++ContextDepth == MaxDepth) in isDeeplyNested()
924 resolveForwardingParameters(const FunctionDecl *D, unsigned MaxDepth) { in resolveForwardingParameters() argument
948 while (!Pack.empty() && CurrentFunction && Depth < MaxDepth) { in resolveForwardingParameters()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp98 BoundNodesTreeBuilder *Builder, int MaxDepth, in MatchChildASTVisitor() argument
102 MaxDepth(MaxDepth), IgnoreImplicitChildren(IgnoreImplicitChildren), in MatchChildASTVisitor()
178 if (CurrentDepth == 0 || (CurrentDepth <= MaxDepth && MaxDepth < INT_MAX)) in TraverseStmt()
371 if (CurrentDepth == 0 || CurrentDepth > MaxDepth) { in match()
410 const int MaxDepth; member in clang::ast_matchers::internal::__anon5fcafee50111::MatchChildASTVisitor
596 BoundNodesTreeBuilder *Builder, int MaxDepth, in memoizedMatchesRecursively() argument
600 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Bind); in memoizedMatchesRecursively()
609 Key.Type = MaxDepth == 1 ? MatchType::Child : MatchType::Descendants; in memoizedMatchesRecursively()
619 matchesRecursively(Node, Matcher, &Result.Nodes, MaxDepth, Bind); in memoizedMatchesRecursively()
631 BoundNodesTreeBuilder *Builder, int MaxDepth, in matchesRecursively() argument
[all …]
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1889 if (Stats.MaxDepth == 0) in updateLoopCountStatistic()
1891 else if (Stats.MaxDepth == 1) in updateLoopCountStatistic()
1893 else if (Stats.MaxDepth == 2) in updateLoopCountStatistic()
1895 else if (Stats.MaxDepth == 3) in updateLoopCountStatistic()
1897 else if (Stats.MaxDepth == 4) in updateLoopCountStatistic()
1899 else if (Stats.MaxDepth == 5) in updateLoopCountStatistic()
1907 if (Stats.MaxDepth == 0) in updateLoopCountStatistic()
1909 else if (Stats.MaxDepth == 1) in updateLoopCountStatistic()
1911 else if (Stats.MaxDepth == 2) in updateLoopCountStatistic()
1913 else if (Stats.MaxDepth == 3) in updateLoopCountStatistic()
[all …]
H A DScopInfo.cpp2564 if (Stats.MaxDepth == 0) in updateLoopCountStatistic()
2566 else if (Stats.MaxDepth == 1) in updateLoopCountStatistic()
2568 else if (Stats.MaxDepth == 2) in updateLoopCountStatistic()
2570 else if (Stats.MaxDepth == 3) in updateLoopCountStatistic()
2572 else if (Stats.MaxDepth == 4) in updateLoopCountStatistic()
2574 else if (Stats.MaxDepth == 5) in updateLoopCountStatistic()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp436 DepthInfo &MaxDepth = LoopDepth[I]; in checkForProfitableCmovCandidates() local
477 MaxDepth.Depth = std::max(MaxDepth.Depth, MIDepth); in checkForProfitableCmovCandidates()
478 MaxDepth.OptDepth = std::max(MaxDepth.OptDepth, MIDepthOpt); in checkForProfitableCmovCandidates()
H A DX86ISelLowering.cpp39047 unsigned MaxDepth, bool HasVariableMask, bool AllowVariableCrossLaneMask, in combineX86ShufflesRecursively() argument
39059 if (Depth >= MaxDepth) in combineX86ShufflesRecursively()
39286 if (Ops.size() < (MaxDepth - Depth)) { in combineX86ShufflesRecursively()
39301 Ops, i, Root, ResolvedMask, CombinedNodes, Depth + 1, MaxDepth, in combineX86ShufflesRecursively()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp932 unsigned MaxDepth = Slack + TailTrace.getInstrCycles(*PI.PHI).Depth; in shouldConvertIf() local
937 if (CondDepth > MaxDepth) { in shouldConvertIf()
938 unsigned Extra = CondDepth - MaxDepth; in shouldConvertIf()
950 if (TDepth > MaxDepth) { in shouldConvertIf()
951 unsigned Extra = TDepth - MaxDepth; in shouldConvertIf()
963 if (FDepth > MaxDepth) { in shouldConvertIf()
964 unsigned Extra = FDepth - MaxDepth; in shouldConvertIf()
H A DScheduleDAG.cpp330 unsigned MaxDepth = BestI->getSUnit()->getDepth(); in biasCriticalPath() local
333 if (I->getKind() == SDep::Data && I->getSUnit()->getDepth() > MaxDepth) in biasCriticalPath()
H A DMachineInstr.cpp1490 const MachineRegisterInfo &MRI, unsigned Depth, unsigned MaxDepth, in dumprImpl() argument
1492 if (Depth >= MaxDepth) in dumprImpl()
1510 NewMI->dumprImpl(MRI, Depth + 1, MaxDepth, AlreadySeenInstrs); in dumprImpl()
1515 unsigned MaxDepth) const { in dumpr()
1517 dumprImpl(MRI, 0, MaxDepth, AlreadySeenInstrs); in dumpr()
H A DMachinePipeliner.cpp2996 << " depth " << MaxDepth << " col " << Colocate << "\n"; in print()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp442 unsigned MaxDepth = 5) { in refineUsesAlignmentAndAA() argument
443 if (!MaxDepth || (A == 1 && !AliasScope)) in refineUsesAlignmentAndAA()
489 MaxDepth - 1); in refineUsesAlignmentAndAA()
496 refineUsesAlignmentAndAA(I, A, DL, AliasScope, NoAlias, MaxDepth - 1); in refineUsesAlignmentAndAA()
H A DSIISelLowering.h474 unsigned MaxDepth = 5) const;
476 unsigned MaxDepth = 5) const;
H A DSIISelLowering.cpp10000 unsigned MaxDepth) const { in isCanonicalized()
10014 if (MaxDepth == 0) in isCanonicalized()
10055 return isCanonicalized(DAG, Op.getOperand(0), MaxDepth - 1); in isCanonicalized()
10085 if (!isCanonicalized(DAG, Op.getOperand(I), MaxDepth - 1)) in isCanonicalized()
10093 isCanonicalized(DAG, Op.getOperand(2), MaxDepth - 1); in isCanonicalized()
10098 if (!isCanonicalized(DAG, SrcOp, MaxDepth - 1)) in isCanonicalized()
10106 return isCanonicalized(DAG, Op.getOperand(0), MaxDepth - 1); in isCanonicalized()
10110 isCanonicalized(DAG, Op.getOperand(1), MaxDepth - 1); in isCanonicalized()
10117 return isCanonicalized(DAG, Op.getOperand(0), MaxDepth - 1); in isCanonicalized()
10178 if (MaxDepth == 0) in isCanonicalized()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp31 GISelKnownBits::GISelKnownBits(MachineFunction &MF, unsigned MaxDepth) in GISelKnownBits() argument
33 DL(MF.getFunction().getParent()->getDataLayout()), MaxDepth(MaxDepth) {} in GISelKnownBits()
/llvm-project-15.0.7/polly/include/polly/
H A DScopDetection.h194 int MaxDepth; member
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp132 static const unsigned MaxDepth = 3; member in __anonff44bc220111::Vectorizer
567 if (Depth++ == MaxDepth) in lookThroughSelects()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclTemplate.h1164 static constexpr unsigned MaxDepth = (1U << DepthWidth) - 1;
1170 assert((D + 1) <= MaxDepth &&
1182 assert((D + 1) <= MaxDepth &&
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp925 static const unsigned MaxDepth = 6; variable
950 if (Depth++ == MaxDepth) in takeLog2()