/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | SyncDependenceAnalysis.cpp | 181 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 …]
|
D | DivergenceAnalysis.cpp | 244 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/ |
D | SyncDependenceAnalysis.cpp | 285 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 …]
|
D | DivergenceAnalysis.cpp | 237 for (auto *SuccBlock : successors(UserBlock)) { in analyzeLoopExitDivergence() local 238 if (!Visited.insert(SuccBlock).second) { in analyzeLoopExitDivergence() 241 TaintStack.push_back(SuccBlock); in analyzeLoopExitDivergence()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanPredicator.cpp | 120 for (VPBlockBase *SuccBlock : FromBlock->getSuccessors()) { in getEdgeTypeBetween() 121 if (SuccBlock == ToBlock) { in getEdgeTypeBetween()
|
D | VPlan.h | 1629 for (VPBlockBase *SuccBlock : PredBlock->getSuccessors()) { 1630 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlanPredicator.cpp | 120 for (VPBlockBase *SuccBlock : FromBlock->getSuccessors()) { in getEdgeTypeBetween() 121 if (SuccBlock == ToBlock) { in getEdgeTypeBetween()
|
D | VPlan.h | 1977 for (VPBlockBase *SuccBlock : PredBlock->getSuccessors()) { 1978 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))
|
/external/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 638 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/ |
D | MachineSink.cpp | 705 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo() 708 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo() 710 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 825 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo() 828 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo() 830 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
|
/external/llvm-project/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 232 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3706 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/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3200 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/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3859 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0); in tryToSimplifyUncondBranchWithICmpInIt() local 3861 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() || in tryToSimplifyUncondBranchWithICmpInIt() 3896 Builder.CreateBr(SuccBlock); in tryToSimplifyUncondBranchWithICmpInIt()
|