Home
last modified time | relevance | path

Searched refs:NewPH (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1890 MachineBasicBlock *NewPH = MF->CreateMachineBasicBlock(); in createPreheaderForLoop() local
1891 MF->insert(Header->getIterator(), NewPH); in createPreheaderForLoop()
1905 NewPH->insert(NewPH->end(), NewPN); in createPreheaderForLoop()
1937 PN->addOperand(MachineOperand::CreateMBB(NewPH)); in createPreheaderForLoop()
1953 MO.setMBB(NewPH); in createPreheaderForLoop()
1974 TII->insertBranch(*PB, NewPH, nullptr, EmptyCond, DL); in createPreheaderForLoop()
1975 PB->ReplaceUsesOfBlockWith(Header, NewPH); in createPreheaderForLoop()
1989 TII->insertBranch(*NewPH, Header, nullptr, EmptyCond, DL); in createPreheaderForLoop()
1990 NewPH->addSuccessor(Header); in createPreheaderForLoop()
1994 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp770 BasicBlock *NewPH = CloneBasicBlock(OrigPH, VMap, NameSuffix, F); in cloneLoopWithPreheader() local
772 VMap[OrigPH] = NewPH; in cloneLoopWithPreheader()
773 Blocks.push_back(NewPH); in cloneLoopWithPreheader()
777 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
780 DT->addNewBlock(NewPH, LoopDomBB); in cloneLoopWithPreheader()
812 DT->addNewBlock(NewBB, NewPH); in cloneLoopWithPreheader()
826 NewPH); in cloneLoopWithPreheader()
DLoopRotationUtils.cpp464 BasicBlock *NewPH = SplitCriticalEdge( in rotateLoop() local
467 NewPH->setName(NewHeader->getName() + ".lr.ph"); in rotateLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp449 BasicBlock *NewPH = SplitEdge(OldPH, L.getHeader(), &DT, &LI, MSSAU); in unswitchTrivialBranch() local
488 BI.setSuccessor(1 - LoopExitSuccIdx, NewPH); in unswitchTrivialBranch()
501 *UnswitchedBB, *NewPH); in unswitchTrivialBranch()
552 hoistLoopToNewParent(L, *NewPH, DT, LI, MSSAU, SE); in unswitchTrivialBranch()
689 BasicBlock *NewPH = SplitEdge(OldPH, L.getHeader(), &DT, &LI, MSSAU); in unswitchTrivialSwitch() local
693 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
767 NewSIW.addCase(Case.getCaseValue(), NewPH, in unswitchTrivialSwitch()
845 hoistLoopToNewParent(L, *NewPH, DT, LI, MSSAU, SE); in unswitchTrivialSwitch()
DLoopUnswitch.cpp1016 BasicBlock *NewPH = SplitEdge(loopPreheader, loopHeader, DT, LI, MSSAU.get()); in UnswitchTrivialCondition() local
1034 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, OldBranch, TI); in UnswitchTrivialCondition()
DLoopStrengthReduce.cpp2166 PHINode *NewPH = PHINode::Create(DestTy, 2, "IV.S.", PH); in OptimizeShadowIV() local
2173 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
2175 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV()
2176 NewPH->addIncoming(NewIncr, PH->getIncomingBlock(Latch)); in OptimizeShadowIV()
2179 ShadowUse->replaceAllUsesWith(NewPH); in OptimizeShadowIV()