Home
last modified time | relevance | path

Searched refs:getDFSNumIn (Results 1 – 15 of 15) sorted by relevance

/external/llvm/unittests/IR/
DDominatorTreeTest.cpp180 EXPECT_EQ(DT->getNode(BB0)->getDFSNumIn(), 0UL); in runOnFunction()
182 EXPECT_EQ(DT->getNode(BB1)->getDFSNumIn(), 1UL); in runOnFunction()
184 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 5UL); in runOnFunction()
186 EXPECT_EQ(DT->getNode(BB4)->getDFSNumIn(), 3UL); in runOnFunction()
195 EXPECT_EQ(DT->getNode(BB0)->getDFSNumIn(), 0UL); in runOnFunction()
197 EXPECT_EQ(DT->getNode(BB1)->getDFSNumIn(), 1UL); in runOnFunction()
199 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 7UL); in runOnFunction()
201 EXPECT_EQ(DT->getNode(BB3)->getDFSNumIn(), 2UL); in runOnFunction()
203 EXPECT_EQ(DT->getNode(BB4)->getDFSNumIn(), 5UL); in runOnFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DOrderedInstructions.cpp49 return DA->getDFSNumIn() < DB->getDFSNumIn(); in dfsBefore()
/external/llvm-project/llvm/unittests/IR/
DDominatorTreeTest.cpp255 EXPECT_EQ(DT->getNode(BB0)->getDFSNumIn(), 0UL); in TEST()
257 EXPECT_EQ(DT->getNode(BB1)->getDFSNumIn(), 1UL); in TEST()
259 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 5UL); in TEST()
261 EXPECT_EQ(DT->getNode(BB4)->getDFSNumIn(), 3UL); in TEST()
277 EXPECT_EQ(DT->getNode(BB0)->getDFSNumIn(), 0UL); in TEST()
279 EXPECT_EQ(DT->getNode(BB1)->getDFSNumIn(), 1UL); in TEST()
281 EXPECT_EQ(DT->getNode(BB2)->getDFSNumIn(), 7UL); in TEST()
283 EXPECT_EQ(DT->getNode(BB3)->getDFSNumIn(), 2UL); in TEST()
285 EXPECT_EQ(DT->getNode(BB4)->getDFSNumIn(), 5UL); in TEST()
691 EXPECT_EQ(DT->getNode(A)->getDFSNumIn(), 0UL); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp182 assert(DomASrc->getDFSNumIn() == (unsigned)A.DFSIn && in comparePHIRelated()
184 assert(DomBSrc->getDFSNumIn() == (unsigned)B.DFSIn && in comparePHIRelated()
195 unsigned AIn = DomADest->getDFSNumIn(); in comparePHIRelated()
196 unsigned BIn = DomBDest->getDFSNumIn(); in comparePHIRelated()
314 VD.DFSIn = DomNode->getDFSNumIn(); in convertUsesToDFSOrdered()
624 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
637 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
650 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericIteratedDominanceFrontier.h149 PQ.push({Node, std::make_pair(Node->getLevel(), Node->getDFSNumIn())}); in calculate()
193 SuccNode, std::make_pair(SuccLevel, SuccNode->getDFSNumIn()))); in calculate()
DGenericDomTreeConstruction.h1379 errs() << BlockNamePrinter(TN) << " {" << TN->getDFSNumIn() << ", " in VerifyDFSNumbers()
1385 if (Root->getDFSNumIn() != 0) { in VerifyDFSNumbers()
1400 if (Node->getDFSNumIn() + 1 != Node->getDFSNumOut()) { in VerifyDFSNumbers()
1415 return Ch1->getDFSNumIn() < Ch2->getDFSNumIn(); in VerifyDFSNumbers()
1443 if (Children.front()->getDFSNumIn() != Node->getDFSNumIn() + 1) { in VerifyDFSNumbers()
1454 if (Children[i]->getDFSNumOut() + 1 != Children[i + 1]->getDFSNumIn()) { in VerifyDFSNumbers()
DGenericDomTree.h137 unsigned getDFSNumIn() const { return DFSNumIn; }
173 O << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "} ["
/external/llvm-project/llvm/include/llvm/Support/
DGenericIteratedDominanceFrontier.h153 PQ.push({Node, std::make_pair(Node->getLevel(), Node->getDFSNumIn())}); in calculate()
193 SuccNode, std::make_pair(SuccLevel, SuccNode->getDFSNumIn()))); in calculate()
DGenericDomTreeConstruction.h1341 errs() << BlockNamePrinter(TN) << " {" << TN->getDFSNumIn() << ", " in VerifyDFSNumbers()
1347 if (Root->getDFSNumIn() != 0) { in VerifyDFSNumbers()
1362 if (Node->getDFSNumIn() + 1 != Node->getDFSNumOut()) { in VerifyDFSNumbers()
1377 return Ch1->getDFSNumIn() < Ch2->getDFSNumIn(); in VerifyDFSNumbers()
1405 if (Children.front()->getDFSNumIn() != Node->getDFSNumIn() + 1) { in VerifyDFSNumbers()
1416 if (Children[i]->getDFSNumOut() + 1 != Children[i + 1]->getDFSNumIn()) { in VerifyDFSNumbers()
DGenericDomTree.h143 unsigned getDFSNumIn() const { return DFSNumIn; }
179 O << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "} ["
/external/llvm-project/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp177 assert(DomASrc->getDFSNumIn() == (unsigned)A.DFSIn && in comparePHIRelated()
179 assert(DomBSrc->getDFSNumIn() == (unsigned)B.DFSIn && in comparePHIRelated()
190 unsigned AIn = DomADest->getDFSNumIn(); in comparePHIRelated()
191 unsigned BIn = DomBDest->getDFSNumIn(); in comparePHIRelated()
362 VD.DFSIn = DomNode->getDFSNumIn(); in convertUsesToDFSOrdered()
680 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
693 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
706 VD.DFSIn = DomNode->getDFSNumIn(); in renameUses()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstraintElimination.cpp182 : NumIn(DTN->getDFSNumIn()), NumOut(DTN->getDFSNumOut()), IsBlock(true), in ConstraintOrBlock()
185 : NumIn(DTN->getDFSNumIn()), NumOut(DTN->getDFSNumOut()), IsBlock(false), in ConstraintOrBlock()
DNewGVN.cpp3525 VDDef.DFSIn = DomNode->getDFSNumIn(); in convertClassToDFSOrdered()
3584 VDUse.DFSIn = DomNode->getDFSNumIn(); in convertClassToDFSOrdered()
3614 VD.DFSIn = DomNode->getDFSNumIn(); in convertClassToLoadsAndStores()
/external/llvm/include/llvm/Support/
DGenericDomTree.h144 unsigned getDFSNumIn() const { return DFSNumIn; } in getDFSNumIn() function
163 o << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "}";
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp3572 VDDef.DFSIn = DomNode->getDFSNumIn(); in convertClassToDFSOrdered()
3631 VDUse.DFSIn = DomNode->getDFSNumIn(); in convertClassToDFSOrdered()
3661 VD.DFSIn = DomNode->getDFSNumIn(); in convertClassToLoadsAndStores()