Searched refs:UsePhi (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1255 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local 1256 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse() 1260 if (UsePhi->getNumOperands() != 1) in widenIVUse() 1266 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse() 1270 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse() 1271 UsePhi); in widenIVUse() 1272 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse() 1275 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse() 1276 DeadInsts.emplace_back(UsePhi); in widenIVUse() 1277 DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi in widenIVUse()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 1692 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local 1693 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse() 1697 if (UsePhi->getNumOperands() != 1) in widenIVUse() 1703 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse() 1707 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse() 1708 UsePhi); in widenIVUse() 1709 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse() 1712 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse() 1713 DeadInsts.emplace_back(UsePhi); in widenIVUse() 1714 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1549 if (PHINode *UsePhi = dyn_cast<PHINode>(DU.NarrowUse)) { in widenIVUse() local 1550 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse() 1554 if (UsePhi->getNumOperands() != 1) in widenIVUse() 1560 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse() 1564 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide", in widenIVUse() 1565 UsePhi); in widenIVUse() 1566 WidePhi->addIncoming(DU.WideDef, UsePhi->getIncomingBlock(0)); in widenIVUse() 1569 UsePhi->replaceAllUsesWith(Trunc); in widenIVUse() 1570 DeadInsts.emplace_back(UsePhi); in widenIVUse() 1571 LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to " in widenIVUse()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 438 bool UsePhi = UsePHICounter || ForceHardwareLoopPHI; in InsertIterationSetup() local 440 : (UsePhi ? Intrinsic::start_loop_iterations in InsertIterationSetup()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 197 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local 198 tryRemoveTrivialPhi(UsePhi); in recursePhi()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 199 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi() local 200 tryRemoveTrivialPhi(UsePhi); in recursePhi()
|