Home
last modified time | relevance | path

Searched refs:getSingleSuccessor (Results 1 – 25 of 68) sorted by relevance

123

/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanSlpTest.cpp96 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
101 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F()
102 VPBasicBlock *Body = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
169 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
173 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F()
174 VPBasicBlock *Body = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
240 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
245 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F()
246 VPBasicBlock *Body = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
303 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
[all …]
DVPlanPredicatorTest.cpp66 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
71 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
72 VPBlockBase *InnerLoopH = H->getSingleSuccessor(); in TEST_F()
83 VPBlockBase *InnerLoopLinSucc = InnerLoopH->getSingleSuccessor(); in TEST_F()
84 VPBlockBase *OuterIfLinSucc = OuterIf->getSingleSuccessor(); in TEST_F()
85 VPBlockBase *InnerIfLinSucc = InnerIf->getSingleSuccessor(); in TEST_F()
167 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
172 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
173 VPBlockBase *OuterIfCmpBlk = H->getSingleSuccessor(); in TEST_F()
177 VPBlockBase *TSuccSucc = InnerIfTSucc->getSingleSuccessor(); in TEST_F()
[all …]
DVPlanHCFGTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
45 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F()
50 VPBasicBlock *VecBB = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
158 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
167 EXPECT_NE(nullptr, Entry->getSingleSuccessor()); in TEST_F()
171 VPBasicBlock *VecBB = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
DVPlanLoopInfoTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
52 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
55 VPBlockBase *Latch = IfThen->getSingleSuccessor(); in TEST_F()
DVPlanDominatorTreeTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
50 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
53 VPBlockBase *Latch = IfThen->getSingleSuccessor(); in TEST_F()
/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp179 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
185 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
193 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
194 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
195 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
DLoopSimplifyCFG.cpp53 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in simplifyLoopCFG()
DMergedLoadStoreMotion.cpp162 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor(); in getDiamondTail()
183 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()
184 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp184 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
190 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
198 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
199 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
200 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
DMergedLoadStoreMotion.cpp134 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor(); in getDiamondTail()
155 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()
156 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp185 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
191 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
199 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
200 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
201 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
DMergedLoadStoreMotion.cpp134 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor(); in getDiamondTail()
155 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()
156 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
/external/llvm-project/llvm/lib/Transforms/Utils/
DMatrixUtils.cpp86 BasicBlock *ColLatch = ColBody->getSingleSuccessor(); in CreateTiledLoops()
90 RowLoopLatch = RowBody->getSingleSuccessor(); in CreateTiledLoops()
95 InnerLoopLatch = InnerBody->getSingleSuccessor(); in CreateTiledLoops()
/external/llvm/include/llvm/IR/
DBasicBlock.h210 BasicBlock *getSingleSuccessor();
211 const BasicBlock *getSingleSuccessor() const {
212 return const_cast<BasicBlock*>(this)->getSingleSuccessor();
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h211 BasicBlock *getSingleSuccessor();
212 const BasicBlock *getSingleSuccessor() const { in getSingleSuccessor() function
213 return const_cast<BasicBlock*>(this)->getSingleSuccessor(); in getSingleSuccessor()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DBasicBlock.h254 const BasicBlock *getSingleSuccessor() const;
255 BasicBlock *getSingleSuccessor() { in getSingleSuccessor() function
257 static_cast<const BasicBlock *>(this)->getSingleSuccessor()); in getSingleSuccessor()
/external/llvm-project/llvm/include/llvm/IR/
DBasicBlock.h271 const BasicBlock *getSingleSuccessor() const;
272 BasicBlock *getSingleSuccessor() { in getSingleSuccessor() function
274 static_cast<const BasicBlock *>(this)->getSingleSuccessor()); in getSingleSuccessor()
/external/llvm-project/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp205 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
272 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
301 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
372 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
DBlockFrequencyInfoTest.cpp67 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
/external/llvm-project/llvm/lib/Analysis/
DLoopNestAnalysis.cpp277 Succ->getSingleSuccessor() == OuterLoopLatch) { in checkLoopsStructure()
296 const BasicBlock *SuccInner = InnerLoopExit->getSingleSuccessor(); in checkLoopsStructure()
/external/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp68 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
/external/llvm-project/llvm/examples/IRTransforms/
DSimplifyCFG.cpp274 if (!Pred || Pred->getSingleSuccessor() != &BB) in mergeIntoSinglePredecessor_v1()
316 if (!Pred || Pred->getSingleSuccessor() != &BB) in mergeIntoSinglePredecessor_v2()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DSizeOptsTest.cpp68 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.cpp406 BasicBlock *VectorHeaderBB = VectorPreHeaderBB->getSingleSuccessor(); in execute()
480 BasicBlock *LoopHeaderBB = LoopPreHeaderBB->getSingleSuccessor(); in updateDominatorTree()
499 if (PostDomSucc->getSingleSuccessor() == InterimSucc) { in updateDominatorTree()
503 assert(InterimSucc->getSingleSuccessor() == PostDomSucc && in updateDominatorTree()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp494 BasicBlock *SuccBB = CallBB->getSingleSuccessor(); in shrinkWrapCI()
501 << *CallBB->getSingleSuccessor() << "\n"); in shrinkWrapCI()

123