Home
last modified time | relevance | path

Searched refs:getSinglePredecessor (Results 1 – 25 of 149) sorted by relevance

123456

/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp178 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
184 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
191 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
192 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
DLoopSimplifyCFG.cpp52 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
DMergedLoadStoreMotion.cpp178 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
180 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
220 BasicBlock *Head = BB0->getSinglePredecessor(); in canHoistFromBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp183 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
189 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
196 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
197 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
DMergedLoadStoreMotion.cpp150 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
152 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp184 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
190 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
197 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
198 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
DConstraintElimination.cpp223 if (FalseSuccessor->getSinglePredecessor()) { in eliminateConstraints()
238 if (TrueSuccessor->getSinglePredecessor()) { in eliminateConstraints()
251 if (Br->getSuccessor(0)->getSinglePredecessor()) in eliminateConstraints()
253 if (Br->getSuccessor(1)->getSinglePredecessor()) in eliminateConstraints()
DMergedLoadStoreMotion.cpp150 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
152 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
DJumpThreading.cpp247 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata()
1247 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in processImpliedCondition()
1275 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
1300 if (LoadBB->getSinglePredecessor()) in simplifyPartiallyRedundantLoad()
1387 SinglePredBB = SinglePredBB->getSinglePredecessor(); in simplifyPartiallyRedundantLoad()
1569 BasicBlock *PredBB = BB->getSinglePredecessor(); in evaluateOnPredecessorEdge()
1956 BasicBlock *SinglePred = BB->getSinglePredecessor(); in maybeMergeBasicBlockIntoOnlyPred()
2115 BasicBlock *PredBB = BB->getSinglePredecessor(); in maybethreadThroughTwoBasicBlocks()
2128 if (PredBB->getSinglePredecessor()) in maybethreadThroughTwoBasicBlocks()
2953 auto *Parent = Pred1->getSinglePredecessor(); in processGuards()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DMatrixUtils.cpp96 ColumnLoopHeader = ColBody->getSinglePredecessor(); in CreateTiledLoops()
97 RowLoopHeader = RowBody->getSinglePredecessor(); in CreateTiledLoops()
98 InnerLoopHeader = InnerBody->getSinglePredecessor(); in CreateTiledLoops()
DFlattenCFG.cpp157 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
253 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DDemoteRegToStack.cpp47 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h191 BasicBlock *getSinglePredecessor();
192 const BasicBlock *getSinglePredecessor() const { in getSinglePredecessor() function
193 return const_cast<BasicBlock*>(this)->getSinglePredecessor(); in getSinglePredecessor()
/external/llvm/include/llvm/IR/
DBasicBlock.h190 BasicBlock *getSinglePredecessor();
191 const BasicBlock *getSinglePredecessor() const {
192 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DBasicBlock.h226 const BasicBlock *getSinglePredecessor() const;
227 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function
229 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp343 if (!Preheader->getSinglePredecessor()) in CanGenerateTest()
346 BasicBlock *Pred = Preheader->getSinglePredecessor(); in CanGenerateTest()
401 if (UseLoopGuard && BB->getSinglePredecessor() && in InitLoopCount()
403 BB = BB->getSinglePredecessor(); in InitLoopCount()
/external/llvm-project/llvm/lib/CodeGen/
DHardwareLoops.cpp346 if (!Preheader->getSinglePredecessor()) in CanGenerateTest()
349 BasicBlock *Pred = Preheader->getSinglePredecessor(); in CanGenerateTest()
399 if (UseLoopGuard && BB->getSinglePredecessor() && in InitLoopCount()
401 BasicBlock *Predecessor = BB->getSinglePredecessor(); in InitLoopCount()
/external/llvm-project/llvm/include/llvm/IR/
DBasicBlock.h243 const BasicBlock *getSinglePredecessor() const;
244 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function
246 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAdjustOpt.cpp166 BasicBlock *B2 = BB.getSinglePredecessor(); in serializeICMPCrossBB()
170 BasicBlock *B1 = B2->getSinglePredecessor(); in serializeICMPCrossBB()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp37 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
222 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
726 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
751 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
752 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
DFlattenCFG.cpp145 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
241 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DDemoteRegToStack.cpp46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
/external/llvm-project/llvm/examples/IRTransforms/
DSimplifyCFG.cpp271 BasicBlock *Pred = BB.getSinglePredecessor(); in mergeIntoSinglePredecessor_v1()
313 BasicBlock *Pred = BB.getSinglePredecessor(); in mergeIntoSinglePredecessor_v2()
/external/llvm-project/llvm/lib/Target/ARM/
DMVETailPredication.cpp170 if (!Preheader->getSinglePredecessor()) in runOnLoop()
172 Setup = FindLoopIterations(Preheader->getSinglePredecessor()); in runOnLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp157 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
253 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()

123456