Searched refs:InsertedPHI (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 187 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local 192 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); 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/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 186 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 190 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock() local 195 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock() 199 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() 200 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock() 205 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock() 207 LLVM_DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock() 208 return InsertedPHI->getOperand(0).getReg(); in GetValueInMiddleOfBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 162 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() local 167 InsertedPHI->addIncoming(PredValue.second, PredValue.first); in GetValueInMiddleOfBlock() 172 SimplifyInstruction(InsertedPHI, BB->getModule()->getDataLayout())) { in GetValueInMiddleOfBlock() 173 InsertedPHI->eraseFromParent(); in GetValueInMiddleOfBlock() 181 InsertedPHI->setDebugLoc(DL); in GetValueInMiddleOfBlock() 184 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock() 186 LLVM_DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock() 187 return InsertedPHI; in GetValueInMiddleOfBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 150 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()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 179 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() 194 InsertedPHI->setDebugLoc(GetFirstDebugLocInBasicBlock(BB)); in GetValueInMiddleOfBlock() 197 if (InsertedPHIs) InsertedPHIs->push_back(InsertedPHI); in GetValueInMiddleOfBlock() 199 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n"); in GetValueInMiddleOfBlock() 200 return InsertedPHI; in GetValueInMiddleOfBlock()
|