/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SimpleLoopUnswitch.cpp | 364 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 …]
|
D | SpeculateAroundPHIs.cpp | 109 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/ |
D | CFG.cpp | 42 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/ |
D | CFG.cpp | 42 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()
|
D | LazyValueInfo.cpp | 1856 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/ |
D | BasicBlockUtils.cpp | 625 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/ |
D | Local.cpp | 200 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/ |
D | SelectionDAGBuilder.h | 809 MachineBasicBlock *ParentBB);
|
D | SelectionDAGBuilder.cpp | 2031 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/ |
D | SelectionDAGBuilder.h | 839 MachineBasicBlock *ParentBB);
|
D | SelectionDAGBuilder.cpp | 2213 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/ |
D | SLPVectorizer.cpp | 4263 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/ |
D | SLPVectorizer.cpp | 6015 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()
|