Home
last modified time | relevance | path

Searched refs:ParentBB (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp364 auto *ParentBB = BI.getParent(); in unswitchTrivialBranch() local
365 if (!areLoopExitPHIsLoopInvariant(L, *ParentBB, *LoopExitBB)) in unswitchTrivialBranch()
438 BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch()
456 rewritePHINodesForUnswitchedExitBlock(*UnswitchedBB, *ParentBB, *OldPH); in unswitchTrivialBranch()
459 *ParentBB, *OldPH, FullUnswitch); in unswitchTrivialBranch()
465 DTUpdates.push_back({DT.Delete, ParentBB, LoopExitBB}); in unswitchTrivialBranch()
525 auto *ParentBB = SI.getParent(); in unswitchTrivialSwitch() local
531 areLoopExitPHIsLoopInvariant(L, *ParentBB, *SuccBB)) in unswitchTrivialSwitch()
536 areLoopExitPHIsLoopInvariant(L, *ParentBB, *SI.getDefaultDest()) && in unswitchTrivialSwitch()
626 rewritePHINodesForUnswitchedExitBlock(*DefaultExitBB, *ParentBB, *OldPH); in unswitchTrivialSwitch()
[all …]
DSpeculateAroundPHIs.cpp109 auto *ParentBB = OpI->getParent(); in isSafeToSpeculatePHIUsers() local
110 if (ParentBB == PhiBB) { in isSafeToSpeculatePHIUsers()
115 } else if (DT.dominates(ParentBB, PhiBB)) { in isSafeToSpeculatePHIUsers()
127 if (UnsafeSet.count(OpI) || ParentBB != PhiBB || in isSafeToSpeculatePHIUsers()
560 auto *ParentBB = SpecPNs[0]->getParent(); in speculatePHIs() local
565 PredBB, ParentBB, in speculatePHIs()
573 assert(PredBB->getSingleSuccessor() == ParentBB && in speculatePHIs()
622 if (!OpPN || OpPN->getParent() != ParentBB) in speculatePHIs()
647 assert(PredBB->getSingleSuccessor() == ParentBB && in speculatePHIs()
/external/llvm/lib/Analysis/
DCFG.cpp42 const BasicBlock *ParentBB = Top.first; in FindFunctionBackedges() local
46 while (I != succ_end(ParentBB)) { in FindFunctionBackedges()
54 Result.push_back(std::make_pair(ParentBB, BB)); in FindFunctionBackedges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFG.cpp42 const BasicBlock *ParentBB = Top.first; in FindFunctionBackedges() local
46 while (I != succ_end(ParentBB)) { in FindFunctionBackedges()
54 Result.push_back(std::make_pair(ParentBB, BB)); in FindFunctionBackedges()
DLazyValueInfo.cpp1856 auto *ParentBB = I->getParent(); in emitInstructionAnnot() local
1873 printResult(ParentBB); in emitInstructionAnnot()
1876 for (auto *BBSucc : successors(ParentBB)) in emitInstructionAnnot()
1877 if (DT.dominates(ParentBB, BBSucc)) in emitInstructionAnnot()
1883 if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent())) in emitInstructionAnnot()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicBlockUtils.cpp625 const BasicBlock *ParentBB = Top.first; in FindFunctionBackedges() local
629 while (I != succ_end(ParentBB)) { in FindFunctionBackedges()
637 Result.push_back(std::make_pair(ParentBB, BB)); in FindFunctionBackedges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp200 BasicBlock *ParentBB = SI->getParent(); in ConstantFoldTerminator() local
201 DefaultDest->removePredecessor(ParentBB); in ConstantFoldTerminator()
205 DDT->deleteEdge(ParentBB, DefaultDest); in ConstantFoldTerminator()
310 BasicBlock *ParentBB = IBI->getParent(); in ConstantFoldTerminator() local
312 DestBB->removePredecessor(ParentBB); in ConstantFoldTerminator()
314 Updates.push_back({DominatorTree::Delete, ParentBB, DestBB}); in ConstantFoldTerminator()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h809 MachineBasicBlock *ParentBB);
DSelectionDAGBuilder.cpp2031 MachineBasicBlock *ParentBB) { in visitSPDescriptorParent() argument
2037 MachineFrameInfo *MFI = ParentBB->getParent()->getFrameInfo(); in visitSPDescriptorParent()
2043 const Module &M = *ParentBB->getParent()->getFunction()->getParent(); in visitSPDescriptorParent()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h839 MachineBasicBlock *ParentBB);
DSelectionDAGBuilder.cpp2213 MachineBasicBlock *ParentBB) { in visitSPDescriptorParent() argument
2219 MachineFrameInfo &MFI = ParentBB->getParent()->getFrameInfo(); in visitSPDescriptorParent()
2225 const Module &M = *ParentBB->getParent()->getFunction().getParent(); in visitSPDescriptorParent()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4263 BasicBlock *ParentBB, LoopInfo *LI) { in getReductionValue() argument
4276 if (P->getIncomingBlock(0) == ParentBB) { in getReductionValue()
4278 } else if (P->getIncomingBlock(1) == ParentBB) { in getReductionValue()
4286 Loop *BBL = LI->getLoopFor(ParentBB); in getReductionValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6015 BasicBlock *ParentBB, LoopInfo *LI) { in getReductionValue() argument
6027 if (P->getIncomingBlock(0) == ParentBB) { in getReductionValue()
6029 } else if (P->getIncomingBlock(1) == ParentBB) { in getReductionValue()
6037 Loop *BBL = LI->getLoopFor(ParentBB); in getReductionValue()