Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp181 void visitSuccessor(const BasicBlock &SuccBlock, const Loop *ParentLoop, in visitSuccessor()
185 if (ParentLoop && !ParentLoop->contains(&SuccBlock)) { in visitSuccessor()
186 DefMap.emplace(&SuccBlock, &DefBlock); in visitSuccessor()
187 ReachedLoopExits.insert(&SuccBlock); in visitSuccessor()
192 auto ItLastDef = DefMap.find(&SuccBlock); in visitSuccessor()
194 addPending(SuccBlock, DefBlock); in visitSuccessor()
201 if (!JoinBlocks->insert(&SuccBlock).second) in visitSuccessor()
205 addPending(SuccBlock, SuccBlock); in visitSuccessor()
227 for (const auto *SuccBlock : NodeSuccessors) { in computeJoinPoints() local
228 DefMap.emplace(SuccBlock, SuccBlock); in computeJoinPoints()
[all …]
DDivergenceAnalysis.cpp244 for (auto *SuccBlock : successors(UserBlock)) { in taintLoopLiveOuts() local
245 if (!Visited.insert(SuccBlock).second) { in taintLoopLiveOuts()
248 TaintStack.push_back(SuccBlock); in taintLoopLiveOuts()
/external/llvm-project/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp285 bool computeJoin(const BasicBlock &SuccBlock, const BasicBlock &PushedLabel) { in computeJoin()
286 auto SuccIdx = LoopPOT.getIndexOf(SuccBlock); in computeJoin()
296 BlockLabels[SuccIdx] = &SuccBlock; in computeJoin()
319 bool visitEdge(const BasicBlock &SuccBlock, const BasicBlock &DefBlock) { in visitEdge()
320 if (!computeJoin(SuccBlock, DefBlock)) in visitEdge()
324 DivDesc->JoinDivBlocks.insert(&SuccBlock); in visitEdge()
325 LLVM_DEBUG(dbgs() << "\tDivergent join: " << SuccBlock.getName()); in visitEdge()
344 for (const auto *SuccBlock : successors(&DivTermBlock)) { in computeJoinPoints() local
345 auto SuccIdx = LoopPOT.getIndexOf(*SuccBlock); in computeJoinPoints()
346 BlockLabels[SuccIdx] = SuccBlock; in computeJoinPoints()
[all …]
DDivergenceAnalysis.cpp237 for (auto *SuccBlock : successors(UserBlock)) { in analyzeLoopExitDivergence() local
238 if (!Visited.insert(SuccBlock).second) { in analyzeLoopExitDivergence()
241 TaintStack.push_back(SuccBlock); in analyzeLoopExitDivergence()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp120 for (VPBlockBase *SuccBlock : FromBlock->getSuccessors()) { in getEdgeTypeBetween()
121 if (SuccBlock == ToBlock) { in getEdgeTypeBetween()
DVPlan.h1977 for (VPBlockBase *SuccBlock : PredBlock->getSuccessors()) {
1978 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp120 for (VPBlockBase *SuccBlock : FromBlock->getSuccessors()) { in getEdgeTypeBetween()
121 if (SuccBlock == ToBlock) { in getEdgeTypeBetween()
DVPlan.h1629 for (VPBlockBase *SuccBlock : PredBlock->getSuccessors()) {
1630 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))
/external/llvm/lib/CodeGen/
DMachineSink.cpp638 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo()
641 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo()
643 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSink.cpp705 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo()
708 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo()
710 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
/external/llvm-project/llvm/lib/CodeGen/
DMachineSink.cpp825 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo()
828 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo()
830 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp232 if (CFGBlock *SuccBlock = *I) { in checkForRecursiveFunctionCall() local
233 if (!Visited.insert(SuccBlock).second) in checkForRecursiveFunctionCall()
237 if (ExitID == SuccBlock->getBlockID()) in checkForRecursiveFunctionCall()
241 if (hasRecursiveCallInPath(FD, *SuccBlock)) { in checkForRecursiveFunctionCall()
246 WorkList.push_back(SuccBlock); in checkForRecursiveFunctionCall()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3200 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0); in TryToSimplifyUncondBranchWithICmpInIt() local
3202 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() || in TryToSimplifyUncondBranchWithICmpInIt()
3243 Builder.CreateBr(SuccBlock); in TryToSimplifyUncondBranchWithICmpInIt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3706 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0); in tryToSimplifyUncondBranchWithICmpInIt() local
3708 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() || in tryToSimplifyUncondBranchWithICmpInIt()
3743 Builder.CreateBr(SuccBlock); in tryToSimplifyUncondBranchWithICmpInIt()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3859 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0); in tryToSimplifyUncondBranchWithICmpInIt() local
3861 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() || in tryToSimplifyUncondBranchWithICmpInIt()
3896 Builder.CreateBr(SuccBlock); in tryToSimplifyUncondBranchWithICmpInIt()