Searched refs:InsertedPHI (Results 1 – 2 of 2) sorted by relevance
188 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local193 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()197 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock()198 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock()203 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock()205 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock()206 return InsertedPHI->getOperand(0).getReg(); in GetValueInMiddleOfBlock()
150 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() local155 InsertedPHI->addIncoming(PredValue.second, PredValue.first); in GetValueInMiddleOfBlock()160 SimplifyInstruction(InsertedPHI, BB->getModule()->getDataLayout())) { in GetValueInMiddleOfBlock()161 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock()169 InsertedPHI->setDebugLoc(DL); in GetValueInMiddleOfBlock()172 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock()174 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock()175 return InsertedPHI; in GetValueInMiddleOfBlock()