Home
last modified time | relevance | path

Searched refs:NewPHI (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp210 PHINode *NewPHI = cast<PHINode>(VMap[I]); in CloneLoopBlocks() local
212 VMap[I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks()
213 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks()
215 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
216 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks()
218 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks()
219 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks()
220 NewPHI->setIncomingBlock(idx, NewLatch); in CloneLoopBlocks()
222 NewPHI->setIncomingValue(idx, VMap[InVal]); in CloneLoopBlocks()
DLoopUnroll.cpp352 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHINode[i]]); in UnrollLoop() local
353 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
358 New->getInstList().erase(NewPHI); in UnrollLoop()
DBasicBlockUtils.cpp436 PHINode *NewPHI = in UpdatePHINodes() local
439 AA->copyValue(PN, NewPHI); in UpdatePHINodes()
449 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
453 PN->addIncoming(NewPHI, NewBB); in UpdatePHINodes()
DSSAUpdater.cpp38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument
39 : AV(nullptr), ProtoType(nullptr), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp287 PHINode *NewPHI = PHINode::Create(I8PtrTy, HeaderLoopPredCount, in runOnLoop() local
302 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in runOnLoop()
307 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in runOnLoop()
315 NewPHI->addIncoming(PtrInc, *PI); in runOnLoop()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp40 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument
41 : AV(nullptr), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1097 PHINode *NewPHI = PHINode::Create(PN->getType(), 2, PN->getName() + ".copy", in changeIterationSpaceEnd() local
1100 NewPHI->addIncoming(PN->getIncomingValueForBlock(Preheader), Preheader); in changeIterationSpaceEnd()
1101 NewPHI->addIncoming(PN->getIncomingValueForBlock(LS.Latch), in changeIterationSpaceEnd()
1103 RRI.PHIValuesAtPseudoExit.push_back(NewPHI); in changeIterationSpaceEnd()
DIndVarSimplify.cpp401 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in HandleFloatingPointIV() local
402 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in HandleFloatingPointIV()
406 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in HandleFloatingPointIV()
408 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in HandleFloatingPointIV()
436 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in HandleFloatingPointIV()