HomeSort by: relevance | last modified time | path
    Searched defs:NewPhi (Results 1 - 8 of 8) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
UnifyLoopExits.cpp 109 // For each Def used outside the loop, create NewPhi in
110 // LoopExitBlock. NewPhi receives Def only along exiting blocks that
115 auto NewPhi = PHINode::Create(Def->getType(), Incoming.size(),
122 NewPhi->addIncoming(Def, In);
125 NewPhi->addIncoming(UndefValue::get(Def->getType()), In);
132 U->replaceUsesOfWith(Def, NewPhi);
BasicBlockUtils.cpp 1035 PHINode *NewPHI =
1046 NewPHI->addIncoming(V, IncomingBB);
1050 PN->addIncoming(NewPHI, NewBB);
1566 auto NewPhi =
1572 V = NewPhi;
1576 NewPhi->addIncoming(V, In);
1578 assert(NewPhi->getNumIncomingValues() == Incoming.size());
1580 Phi->replaceAllUsesWith(NewPhi);
1584 Phi->addIncoming(NewPhi, GuardBlock);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonVectorLoopCarriedReuse.cpp 560 PHINode *NewPhi;
563 NewPhi = IRB.CreatePHI(InstInPreheader->getType(), 2);
564 NewPhi->addIncoming(InstInPreheader, LoopPH);
565 NewPhi->addIncoming(BEVal, BB);
566 LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName()
568 BEVal = NewPhi;
572 Inst2Replace->replaceAllUsesWith(NewPhi);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVEGatherScatterLowering.cpp 960 PHINode *NewPhi;
989 NewPhi = Phi;
992 NewPhi = PHINode::Create(Phi->getType(), 0, "NewPhi", Phi);
995 NewPhi->addIncoming(Phi->getIncomingValue(IncrementingBlock == 1 ? 0 : 1),
998 Instruction::BinaryOps(IncInstruction->getOpcode()), NewPhi,
1000 NewPhi->addIncoming(IncInstruction,
1011 pushOutAdd(NewPhi, OffsSecondOperand, IncrementingBlock == 1 ? 0 : 1);
1014 pushOutMul(NewPhi, IncrementPerRound, OffsSecondOperand, IncrementingBlock,
1024 Offs->replaceAllUsesWith(NewPhi);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemorySSAUpdater.cpp 683 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) {
684 assert(Phi && NewPhi && "Invalid Phi nodes.");
685 BasicBlock *NewPhiBB = NewPhi->getBlock();
697 // Now we have IncBB, and will need to add incoming from it to NewPhi.
716 NewPhi->addIncoming(IncMUD, IncBB);
720 NewPhi->addIncoming(NewDefPhi, IncBB);
722 NewPhi->addIncoming(IncPhi, IncBB);
725 if (auto *SingleAccess = onlySingleValue(NewPhi)) {
727 removeMemoryAccess(NewPhi);
741 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ModuloSchedule.cpp 550 MachineInstrBuilder NewPhi =
553 NewPhi.addReg(PhiOp1).addMBB(BB1);
554 NewPhi.addReg(PhiOp2).addMBB(BB2);
556 InstrMap[NewPhi] = &*BBI;
666 MachineInstrBuilder NewPhi =
669 NewPhi.addReg(PhiOp1).addMBB(BB1);
670 NewPhi.addReg(PhiOp2).addMBB(BB2);
672 InstrMap[NewPhi] = &*BBI;
CodeGenPrepare.cpp 6095 PHINode *NewPhi = cast<PHINode>(ValMap[Phi]);
6097 NewPhi->addIncoming(ValMap[Phi->getIncomingValue(i)],
6099 Visited.insert(NewPhi);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 681 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]);
688 NewPhi->addIncoming(NewIncoming, PHI->getIncomingBlock(I));
1427 PHINode *NewPhi =
1433 NewPhi->addIncoming(BoolInput, Predecessor);
1435 NewPhi->takeName(&Cmp);
1436 return replaceInstUsesWith(Cmp, NewPhi);

Completed in 34 milliseconds