/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 339 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 …]
|
D | LoopUnroll.cpp | 427 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHI]); in UnrollLoop() local 428 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() 433 New->getInstList().erase(NewPHI); in UnrollLoop()
|
D | SSAUpdater.cpp | 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument 39 : AV(nullptr), ProtoType(nullptr), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
|
D | BasicBlockUtils.cpp | 397 PHINode *NewPHI = in UpdatePHINodes() local 408 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes() 412 PN->addIncoming(NewPHI, NewBB); in UpdatePHINodes()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 335 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/ |
D | LoopUnroll.cpp | 256 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()
|
D | BasicBlockUtils.cpp | 425 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()
|
D | SSAUpdater.cpp | 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument 39 : AV(0), ProtoType(0), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 308 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/ |
D | MachineSSAUpdater.cpp | 38 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument 39 : AV(0), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
|
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 39 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument 40 : AV(nullptr), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
|
D | PeepholeOptimizer.cpp | 855 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/ |
D | IndVarSimplify.cpp | 408 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/ |
D | InductiveRangeCheckElimination.cpp | 1075 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()
|
D | IndVarSimplify.cpp | 399 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()
|