Searched refs:NewPH (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 64 BasicBlock *OrigPH, BasicBlock *NewPH, in ConnectProlog() argument 87 NewPN->addIncoming(PN->getIncomingValueForBlock(NewPH), OrigPH); in ConnectProlog() 106 PN->setIncomingValue(PN->getBasicBlockIndex(NewPH), NewPN); in ConnectProlog() 133 BranchInst::Create(Exit, NewPH, BrLoopExit, InsertPt); in ConnectProlog() 346 BasicBlock *NewPH = SplitBlock(PEnd, PEnd->getTerminator(), DT, LI); in UnrollRuntimeLoopProlog() local 418 ConnectProlog(L, BECount, Count, LastLoopBB, PEnd, PH, NewPH, VMap, in UnrollRuntimeLoopProlog()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 1442 MachineBasicBlock *NewPH = MF->CreateMachineBasicBlock(); in createPreheaderForLoop() local 1443 MF->insert(Header, NewPH); in createPreheaderForLoop() 1457 NewPH->insert(NewPH->end(), NewPN); in createPreheaderForLoop() 1486 PN->addOperand(MachineOperand::CreateMBB(NewPH)); in createPreheaderForLoop() 1503 MO.setMBB(NewPH); in createPreheaderForLoop() 1524 TII->InsertBranch(*PB, NewPH, nullptr, EmptyCond, DL); in createPreheaderForLoop() 1525 PB->ReplaceUsesOfBlockWith(Header, NewPH); in createPreheaderForLoop() 1539 TII->InsertBranch(*NewPH, Header, nullptr, EmptyCond, DL); in createPreheaderForLoop() 1540 NewPH->addSuccessor(Header); in createPreheaderForLoop() 1542 return NewPH; in createPreheaderForLoop()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 524 BasicBlock *NewPH = SplitCriticalEdge( in rotateLoop() local 527 NewPH->setName(NewHeader->getName() + ".lr.ph"); in rotateLoop()
|
D | LoopUnswitch.cpp | 731 BasicBlock *NewPH = SplitEdge(loopPreheader, loopHeader, DT, LI); in UnswitchTrivialCondition() local 746 EmitPreheaderBranchOnCondition(Cond, Val, NewExit, NewPH, in UnswitchTrivialCondition()
|
D | LoopStrengthReduce.cpp | 1904 PHINode *NewPH = PHINode::Create(DestTy, 2, "IV.S.", PH); in OptimizeShadowIV() local 1911 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV() 1913 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV() 1914 NewPH->addIncoming(NewIncr, PH->getIncomingBlock(Latch)); in OptimizeShadowIV() 1917 ShadowUse->replaceAllUsesWith(NewPH); in OptimizeShadowIV()
|