Home
last modified time | relevance | path

Searched refs:InsertedPHI (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp188 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local
193 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()
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp150 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() local
155 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()