Searched refs:InsertedPHI (Results 1 – 2 of 2) sorted by relevance
186 MachineInstr *InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local190 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()
179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() local184 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()