Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp377 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks() local
380 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
381 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks()
382 NewPHI->removeIncomingValue(Latch, false); in CloneLoopBlocks()
384 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks()
385 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks()
388 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
389 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks()
391 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks()
392 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks()
[all …]
DLoopUnrollPeel.cpp558 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in cloneLoopBlocks() local
560 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks()
562 Value *LatchVal = NewPHI->getIncomingValueForBlock(Latch); in cloneLoopBlocks()
569 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in cloneLoopBlocks()
DSSAUpdater.cpp46 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode *> *NewPHI) in SSAUpdater() argument
47 : InsertedPHIs(NewPHI) {} in SSAUpdater()
DLoopUnroll.cpp623 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHI]); in UnrollLoop() local
624 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
629 New->getInstList().erase(NewPHI); in UnrollLoop()
DBasicBlockUtils.cpp690 PHINode *NewPHI = in UpdatePHINodes() local
701 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
705 PN->addIncoming(NewPHI, NewBB); in UpdatePHINodes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp265 auto *NewPHI = PHINode::Create(Int1Ty, in rewrite() local
268 NewPHI->addIncoming(UndefValue::get(Int1Ty), in rewrite()
270 NewPHI->insertBefore(OldPHI); in rewrite()
271 ValToPoison[OldPHI] = NewPHI; in rewrite()
307 auto *NewPHI = cast<PHINode>(ValToPoison[OldPHI]); in rewrite() local
310 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp542 PHINode *NewPHI = in rewriteLoadStores() local
557 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in rewriteLoadStores()
565 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores()
572 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores()
592 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores()
597 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores()
599 PtrInc = NewPHI; in rewriteLoadStores()
600 if (NewPHI->getType() != BasePtr->getType()) in rewriteLoadStores()
602 new BitCastInst(NewPHI, BasePtr->getType(), in rewriteLoadStores()
603 getInstrName(NewPHI, CastNodeNameSuffix), in rewriteLoadStores()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineSSAUpdater.h58 SmallVectorImpl<MachineInstr*> *NewPHI = nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp44 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument
45 : InsertedPHIs(NewPHI), TII(MF.getSubtarget().getInstrInfo()), in MachineSSAUpdater()
DPeepholeOptimizer.cpp1146 MachineInstr &NewPHI = insertPHI(*MRI, *TII, NewPHISrcs, OrigPHI); in getNewSource() local
1149 LLVM_DEBUG(dbgs() << " With: " << NewPHI); in getNewSource()
1150 const MachineOperand &MODef = NewPHI.getOperand(0); in getNewSource()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp689 ModelledPHI NewPHI(NewInsts, ActivePreds); in analyzeInstructionForSinking() local
692 if (NeededPHIs.find(NewPHI) != NeededPHIs.end()) { in analyzeInstructionForSinking()
693 NeededPHIs.erase(NewPHI); in analyzeInstructionForSinking()
707 for (auto *V : NewPHI.getValues()) in analyzeInstructionForSinking()
DInferAddressSpaces.cpp475 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace() local
478 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
481 return NewPHI; in cloneInstructionWithNewAddressSpace()
DInductiveRangeCheckElimination.cpp1313 PHINode *NewPHI = PHINode::Create(PN.getType(), 2, PN.getName() + ".copy", in changeIterationSpaceEnd() local
1316 NewPHI->addIncoming(PN.getIncomingValueForBlock(Preheader), Preheader); in changeIterationSpaceEnd()
1317 NewPHI->addIncoming(PN.getIncomingValueForBlock(LS.Latch), in changeIterationSpaceEnd()
1319 RRI.PHIValuesAtPseudoExit.push_back(NewPHI); in changeIterationSpaceEnd()
DIndVarSimplify.cpp459 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in handleFloatingPointIV() local
460 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
464 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
466 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in handleFloatingPointIV()
494 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in handleFloatingPointIV()
DNewGVN.cpp2826 bool NewPHI = false; in makePossiblePHIOfOps() local
2831 NewPHI = true; in makePossiblePHIOfOps()
2834 if (NewPHI) { in makePossiblePHIOfOps()