Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp186 MachineInstr *InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local
190 MachineInstrBuilder MIB(InsertedPHI); in GetValueInMiddleOfBlock()
196 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock()
197 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock()
202 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock()
204 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock()
205 return InsertedPHI->getOperand(0).getReg(); in GetValueInMiddleOfBlock()
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() local
184 InsertedPHI->addIncoming(PredValues[i].second, PredValues[i].first); in GetValueInMiddleOfBlock()
188 if (Value *V = SimplifyInstruction(InsertedPHI)) { in GetValueInMiddleOfBlock()
189 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock()
197 InsertedPHI->setDebugLoc(DL); in GetValueInMiddleOfBlock()
200 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock()
202 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock()
203 return InsertedPHI; in GetValueInMiddleOfBlock()