Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp339 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks() local
342 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
343 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks()
344 NewPHI->removeIncomingValue(Latch, false); in CloneLoopBlocks()
346 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks()
347 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks()
350 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
351 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks()
353 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks()
354 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks()
[all …]
DLoopUnroll.cpp427 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHI]); in UnrollLoop() local
428 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
433 New->getInstList().erase(NewPHI); in UnrollLoop()
DSSAUpdater.cpp38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument
39 : AV(nullptr), ProtoType(nullptr), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
DBasicBlockUtils.cpp397 PHINode *NewPHI = in UpdatePHINodes() local
408 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
412 PN->addIncoming(NewPHI, NewBB); in UpdatePHINodes()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp335 PHINode *NewPHI = PHINode::Create(I8PtrTy, HeaderLoopPredCount, in runOnLoop() local
350 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in runOnLoop()
355 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in runOnLoop()
363 NewPHI->addIncoming(PtrInc, *PI); in runOnLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp256 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHINode[i]]); in UnrollLoop() local
257 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
262 New->getInstList().erase(NewPHI); in UnrollLoop()
DBasicBlockUtils.cpp425 PHINode *NewPHI = in UpdatePHINodes() local
427 if (AA) AA->copyValue(PN, NewPHI); in UpdatePHINodes()
432 NewPHI->addIncoming(V, Preds[i]); in UpdatePHINodes()
435 InVal = NewPHI; in UpdatePHINodes()
DSSAUpdater.cpp38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument
39 : AV(0), ProtoType(0), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp308 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace() local
311 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
314 return NewPHI; in cloneInstructionWithNewAddressSpace()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineSSAUpdater.cpp38 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument
39 : AV(0), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp39 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument
40 : AV(nullptr), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
DPeepholeOptimizer.cpp855 MachineInstr *NewPHI = insertPHI(MRI, TII, NewPHISrcs, OrigPHI); in getNewSource() local
858 DEBUG(dbgs() << " With: " << *NewPHI); in getNewSource()
859 const MachineOperand &MODef = NewPHI->getOperand(0); in getNewSource()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp408 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in HandleFloatingPointIV() local
409 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in HandleFloatingPointIV()
413 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in HandleFloatingPointIV()
415 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in HandleFloatingPointIV()
443 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in HandleFloatingPointIV()
451 IU->AddUsersIfInteresting(NewPHI); in HandleFloatingPointIV()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1075 PHINode *NewPHI = PHINode::Create(PN->getType(), 2, PN->getName() + ".copy", in changeIterationSpaceEnd() local
1078 NewPHI->addIncoming(PN->getIncomingValueForBlock(Preheader), Preheader); in changeIterationSpaceEnd()
1079 NewPHI->addIncoming(PN->getIncomingValueForBlock(LS.Latch), in changeIterationSpaceEnd()
1081 RRI.PHIValuesAtPseudoExit.push_back(NewPHI); in changeIterationSpaceEnd()
DIndVarSimplify.cpp399 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in handleFloatingPointIV() local
400 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
404 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
406 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in handleFloatingPointIV()
434 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in handleFloatingPointIV()