Home
last modified time | relevance | path

Searched refs:getLevel (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DBreadthFirstIteratorTest.cpp27 EXPECT_EQ(It.getLevel(), 0U); in TEST()
30 EXPECT_EQ(It.getLevel(), 1U); in TEST()
33 EXPECT_EQ(It.getLevel(), 1U); in TEST()
36 EXPECT_EQ(It.getLevel(), 2U); in TEST()
58 EXPECT_EQ(It.getLevel(), 0U); in TEST()
61 EXPECT_EQ(It.getLevel(), 1U); in TEST()
64 EXPECT_EQ(It.getLevel(), 2U); in TEST()
67 EXPECT_EQ(It.getLevel(), 3U); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h294 if (TN && TN->getLevel() < MinLevel)
633 return LHS->getLevel() < RHS->getLevel(); in operator()
754 const unsigned NCDLevel = NCD->getLevel(); in InsertReachable()
766 if (NCDLevel + 1 >= To->getLevel()) in InsertReachable()
855 assert(TN->getLevel() == TN->getIDom()->getLevel() + 1 && in UpdateInsertion()
1051 const unsigned Level = ToTN->getLevel(); in DeleteUnreachable()
1058 if (TN->getLevel() > Level) return true; in DeleteUnreachable()
1084 if (NCD != TN && NCD->getLevel() < MinNode->getLevel()) MinNode = NCD; in DeleteUnreachable()
1306 if (!IDom && TN->getLevel() != 0) { in VerifyLevels()
1314 if (IDom && TN->getLevel() != IDom->getLevel() + 1) { in VerifyLevels()
[all …]
H A DGenericDomTree.h90 unsigned getLevel() const { return Level; }
180 << Node->getLevel() << "]\n";
435 if (A->getLevel() >= B->getLevel()) return false;
489 if (NodeA->getLevel() < NodeB->getLevel()) std::swap(NodeA, NodeB);
892 const unsigned ALevel = A->getLevel();
897 while ((IDom = B->getIDom()) != nullptr && IDom->getLevel() >= ALevel)
H A DGenericIteratedDominanceFrontier.h153 PQ.push({Node, std::make_pair(Node->getLevel(), Node->getDFSNumIn())}); in calculate()
179 const unsigned SuccLevel = SuccNode->getLevel(); in calculate()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DPlistReporter.cpp86 if (D.getLevel() == DiagnosticsEngine::Ignored) in writeARCDiagsToPlist()
98 EmitString(o, getLevelName(D.getLevel())) << '\n'; in writeARCDiagsToPlist()
H A DTransProtectedScope.cpp137 for (; DiagI != DiagE && DiagI->getLevel() == DiagnosticsEngine::Note; in handleProtectedScopeError()
148 assert(Diag.getLevel() == DiagnosticsEngine::Note); in handleProtectedNote()
H A DARCMT.cpp45 if (eraseS->getLevel() != DiagnosticsEngine::Note) in clearDiagnostic()
46 while (I != List.end() && I->getLevel() == DiagnosticsEngine::Note) in clearDiagnostic()
88 if (I->getLevel() >= DiagnosticsEngine::Error) in hasErrors()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDominatorTreeTest.cpp265 EXPECT_EQ(DT->getNode(BB0)->getLevel(), 0U); in TEST()
266 EXPECT_EQ(DT->getNode(BB1)->getLevel(), 1U); in TEST()
267 EXPECT_EQ(DT->getNode(BB2)->getLevel(), 1U); in TEST()
268 EXPECT_EQ(DT->getNode(BB4)->getLevel(), 1U); in TEST()
289 EXPECT_EQ(DT->getNode(BB0)->getLevel(), 0U); in TEST()
290 EXPECT_EQ(DT->getNode(BB1)->getLevel(), 1U); in TEST()
291 EXPECT_EQ(DT->getNode(BB2)->getLevel(), 1U); in TEST()
292 EXPECT_EQ(DT->getNode(BB3)->getLevel(), 2U); in TEST()
293 EXPECT_EQ(DT->getNode(BB4)->getLevel(), 1U); in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DAttrImpl.cpp158 if (Level <= Attr->getLevel()) { in getActiveAttr()
159 Level = Attr->getLevel(); in getActiveAttr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.h268 Level getLevel() const { return CurrentLevel; } in getLevel() function
328 return ConfidenceLevel.getLevel(); in getConfidenceLevel()
H A DLoopConvertCheck.cpp946 ConfidenceLevel.getLevel() < MinConfidence) in check()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp27 switch (Diag.getLevel()) { in getSeverity()
H A DCIndex.cpp95 if (D->getLevel() >= DiagnosticsEngine::Error && in isASTReadError()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DBreadthFirstIterator.h145 unsigned getLevel() const { return Level; } in getLevel() function
/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnosticIDs.cpp376 DiagnosticIDs::Level getLevel(unsigned DiagID) const { in getLevel() function in clang::diag::CustomDiagInfo
496 return CustomDiagInfo->getLevel(DiagID); in getDiagnosticLevel()
850 return CustomDiagInfo->getLevel(DiagID) >= DiagnosticIDs::Error; in isUnrecoverable()
H A DDiagnostic.cpp519 Level DiagLevel = storedDiag.getLevel(); in Report()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp105 return DA->getLevel() < DB->getLevel(); in domTreeLevelBefore()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp146 Ret = std::max(Ret, TN->getLevel()); in getMaxDominatorTreeDepth()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp144 emitDiagnostic(Diag.getLocation(), Diag.getLevel(), Diag.getMessage(), in emitStoredDiagnostic()
H A DASTUnit.cpp1251 OutDiag.Level = InDiag.getLevel(); in makeStandaloneDiagnostic()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h1707 DiagnosticsEngine::Level getLevel() const { return Level; } in getLevel() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp22592 ActiveAttr.value()->getLevel() == Level) { in ActOnOpenMPDeclareTargetName()
22600 ActiveAttr.value()->getLevel() == Level) { in ActOnOpenMPDeclareTargetName()
22605 if (ActiveAttr && ActiveAttr.value()->getLevel() == Level) in ActOnOpenMPDeclareTargetName()
22705 if (ActiveAttr && ActiveAttr.value()->getLevel() >= Level) in checkDeclIsAllowedInOpenMPTarget()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp2962 if (!ActiveAttr || (*ActiveAttr)->getLevel() != (unsigned)-1) in MayBeEmittedEagerly()